Larry Rosenman wrote:
On Thu, 3 Jun 2004, Ilja Booij wrote:


Larry Rosenman wrote:

On Thu, 3 Jun 2004, Ilja Booij wrote:


Larry Rosenman wrote:

[snip]


[snip]

We may still have the issue of the -fomit-frame-pointer option being hardcoded in some Makefiles.

Oh, forgot about that one. It's hardcoded in the Makefile.am files. We could probably at some testing to check for GCC. I'll have a look if I can build a check so it's only added if GCC is used.


Yeah, that would be good.

I found one other one that I forgot to whine about.

I needed to add the following 2 lines to dbmail/serverchild.c:

#define _XOPEN_SOURCE 500
#include <sys/socket.h>

to get SHUT_RDWR defined.

hmm, I don't know if it's safe to just define _XOPEN_SOURCE to a value of 500 or higher. If I understand it correctly, it will then move from BSD to UNIX98 API for all socket APIs. I don't know if that's something that we want.

Also, I get the following:

LD_RUN_PATH="/usr/local/lib:/usr/local/lib/dbmail:$LD_RUN_PATH" cc -g -o 
.libs/dbmail-lmtpd lmtp.o lmtpd.o  ./.libs/libdbmail.so 
/home/ler/dbmail-cvs/dbmail/pgsql/.libs/libpgsqldbmail.so 
/home/ler/dbmail-cvs/dbmail/sort/.libs/libsortdbmail.so 
/home/ler/dbmail-cvs/dbmail/auth/.libs/libauthdbmail.so -L/usr/local/pgsql/lib 
pgsql/.libs/libpgsqldbmail.so sort/.libs/libsortdbmail.so auth/.libs/libauthdbmail.so -lpq
UX:ld: WARNING: lmtpd.o: symbol 'myhostname' has different size in file lmtp.o
creating dbmail-lmtpd
gmake[2]: Leaving directory `/home/ler/dbmail-cvs/dbmail'
gmake[1]: Leaving directory `/home/ler/dbmail-cvs/dbmail'
$


Not sure what's going on with that, will investigate.

The SHUT_RDWR might be an include bug, which I'll whine to SCO about.
It has to do with BSD vs UNIX98.

I'm not sure how to solve this though.

Ilja

Reply via email to