I've applied all the patches for both trees, but i'm getting these errors.

I'm running a kernel.org kernel 2.6.29.4 64bit RHEL4u5. Are there any specific software requirements for compiling?

make[1]: Leaving directory `/usr/src/autofs-5.0.4/lib'
make[1]: Entering directory `/usr/src/autofs-5.0.4/daemon'
gcc -O2 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -rdynamic -fPIE -D_GNU_SOURCE -I../include -DAUTOFS_LIB_DIR=\"/usr/lib/autofs\" -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/sysconfig\" -DAUTOFS_FIFO_DIR=\"/var/run\" -DAUTOFS_FLAG_DIR=\"/var/run\" -DVERSION_STRING=\"5.0.4\" -c automount.c
automount.c:43:27: libxml/parser.h: No such file or directory
automount.c: In function `main':
automount.c:2118: warning: implicit declaration of function `xmlInitParser'
automount.c:2163: warning: implicit declaration of function `xmlCleanupParser'
make[1]: *** [automount.o] Error 1
make[1]: Leaving directory `/usr/src/autofs-5.0.4/daemon'
make: *** [daemon] Error 2

gcc -O2 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -rdynamic -fPIE -D_GNU_SOURCE -I../include -DAUTOFS_LIB_DIR=\"/usr/lib/autofs\" -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/sysconfig\" -DAUTOFS_FIFO_DIR=\"/var/run\" -DAUTOFS_FLAG_DIR=\"/var/run\" -DVERSION_STRING=\"5.0.5\" -c flag.c gcc -s -lpthread -rdynamic -pie -o automount automount.o indirect.o direct.o spawn.o module.o mount.o lookup.o state.o flag.o ../lib/autofs.a -ldl
strip --strip-debug automount
make[1]: Leaving directory `/usr/src/autofs-5.0.5/daemon'
make[1]: Entering directory `/usr/src/autofs-5.0.5/modules'
Makefile:75: Extraneous text after `else' directive
Makefile:80: Extraneous text after `else' directive
Makefile:80: *** only one `else' per conditional.  Stop.
make[1]: Leaving directory `/usr/src/autofs-5.0.5/modules'
make: *** [daemon] Error 2

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to