looks like vpopmail is looking for an "err.h"

make[2]: Leaving directory `/export/home/src/sparc-sun-solaris2.7/vpopmail-5.4.13/cdb' make[2]: Entering directory `/export/home/src/sparc-sun-solaris2.7/vpopmail-5.4.13' gcc -I. -Icdb -I. -I. -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vpopmail.o `test -f 'vpopmail.c' || echo './'`vpopmail.c
vpopmail.c:35: err.h: No such file or directory
make[2]: *** [libvpopmail_a-vpopmail.o] Error 1

the only place I have an err.h is in /usr/include/sys/

If I muck with the Makefile,

-DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
+DEFAULT_INCLUDES =  -I. -I$(srcdir) -I/usr/include/sys/

and then try to make, i still get errors:

In file included from vpopmail.c:35:
/usr/include/sys/err.h:32: field `e_map' has incomplete type
vpopmail.c: In function `vadddomain':
vpopmail.c:130: warning: implicit declaration of function `chdir'
vpopmail.c:3096: dereferencing pointer to incomplete type
make[2]: *** [libvpopmail_a-vpopmail.o] Error 1

What's the solution to this problem ?


Jeremy Kister

Reply via email to