Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

Compile error 3.1.1

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


lynn.dobbs at creditlink

Jul 29, 2013, 3:34 PM

Post #1 of 3 (61 views)
Permalink
Compile error 3.1.1

I have successfully compiled and tested 3.1.1 on my test machine. But
when I try on what will become the production machine, I get the
following error. As far as I can tell, each has the same version of
everything. Both machines are running openSuSE 12.2 with the latest
updates. Obviously I'm missing something, but cannot figure out what.

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I.. -DSYSCONFDIR='"/usr/local/etc"' -DLIBDIR='"/usr/local/lib64"'
-DLOCALSTATEDIR='"/usr/local/var"' -I/usr/local/include -g -O2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.6
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/local/include/zdb -I/usr/local/include/jemalloc -W -Wall
-Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_string.lo -MD
-MP -MF .deps/libdbmail_la-dm_string.Tpo -c -o libdbmail_la-dm_string.lo
`test -f 'dm_string.c' || echo './'`dm_string.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I..
-DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib64\"
-DLOCALSTATEDIR=\"/usr/local/var\" -I/usr/local/include -g -O2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.6
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/local/include/zdb -I/usr/local/include/jemalloc -W -Wall
-Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_string.lo -MD
-MP -MF .deps/libdbmail_la-dm_string.Tpo -c dm_string.c -fPIC -DPIC -o
..libs/libdbmail_la-dm_string.o
dm_string.c: In function 'append':
dm_string.c:53:9: error: 'true' undeclared (first use in this function)
dm_string.c:53:9: note: each undeclared identifier is reported only once
for each function it appears in
dm_string.c: In function 'p_string_erase':
dm_string.c:154:2: warning: comparison of unsigned expression >= 0 is
always true [-Wtype-limits]
make[3]: *** [libdbmail_la-dm_string.lo] Error 1
make[3]: Leaving directory `/usr/local/src/mta/dbmail-3.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/mta/dbmail-3.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mta/dbmail-3.1.1'
make: *** [all] Error 2

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Jul 30, 2013, 2:25 AM

Post #2 of 3 (61 views)
Permalink
Re: Compile error 3.1.1 [In reply to]

On 07/30/2013 12:34 AM, Lynn Dobbs wrote:
> error: 'true' undeclared (first use in this function)

Can you please try below patch? Looks like you're using different GCC
versions.

http://git.dbmail.eu/paul/dbmail/patch/?id=a225a7afe9321c5dbb392163b7edfb05f9cbd446


--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/info [at] nfg/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


lynn.dobbs at creditlink

Jul 30, 2013, 8:46 AM

Post #3 of 3 (58 views)
Permalink
Re: Compile error 3.1.1 [In reply to]

On 07/30/2013 02:25 AM, Paul J Stevens wrote:
> On 07/30/2013 12:34 AM, Lynn Dobbs wrote:
>> error: 'true' undeclared (first use in this function)
> Can you please try below patch? Looks like you're using different GCC
> versions.
>
> http://git.dbmail.eu/paul/dbmail/patch/?id=a225a7afe9321c5dbb392163b7edfb05f9cbd446
>
>
That fixed it. I'll have to search out the difference between the two
machines. They report the same version of GCC and seems to have the
same SuSE "development" packages installed. Gotta be something different.

Thanks for the help.

Lynn
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.