Hello -

I got over the LOG_AUTHPRIV error by commenting it's appearance out of 'mailbox/syslog.c'. Now it compiles until here:


libtool: link: gcc -g -O2 -o .libs/aclck aclck.o ../lib/.libs/libmuaux.a ../mailbox/.libs/libmailutils.so -L/usr/local/lib /usr/local/lib/libintl.so -lc /usr/local/lib/libiconv.so -lcrypt -lresolv -lpthread -Wl,-rpath -Wl,/usr/local/lib
../mailbox/.libs/libmailutils.so: undefined reference to `asprintf'
collect2: ld returned 1 exit status

I am now trying to compile on a sparc Solaris 10 machine. I moved there to see if there was any difference in behavior. But it's the same.

Garey Mills

Garey Mills wrote:
Hi -
I am trying to compile Mailutils on SunOs 5.8 on a sparc server. I am using gcc 4.2.1 with gnu ld. The first problem I had is that stdint.h was not found. I moved a copy of stdint.h from a SunOs 5.10
and that seemed to fix that.
   Now, the compilation ends in error, as below:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -I../lib -I../lib -I.. -I../include -I../mailbox -I../libargp -I../libcfg -I../libproto/include -DSYSCONFDIR=\"/usr/local/etc\" -DSITE_VIRTUAL_PWDDIR=\"/usr/local/etc/domain\" -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -DSYSCONFDIR=\"/usr/local/etc\" -g -O2 -MT syslog.lo -MD -MP -MF .deps/syslog.Tpo -c syslog.c -fPIC -DPIC -o .libs/syslog.o
syslog.c:30: error: 'LOG_AUTHPRIV' undeclared here (not in a function)
make[4]: *** [syslog.lo] Error 1



 If you need any more info please let me know;

Garey Mills
Library Systems Office
UC Berkeley



_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to