The source RPM for autofs seems slightly broken. I'm trying to build
autofs-4.0.0pre9 on a redhat system that has been upgraded from rawhide
and is stable otherwise. It's using a 2.4.2 kernel, and glibc 2.2.2.
I'm getting several errors from the rebuild of the source RPM.
One error that's just packaging -- under the build root, the spec file is
creating a /etc/rc.d/init.d directory, but 'make install' is failing,
since it tries to drop a file into /etc/init.d. No big deal, I'll build
from raw source.
I get these errors during a build. I'm assuming that nobody has tried to
build this with a rawhide release...
gcc -shared -O3 -fomit-frame-pointer -Wall -I../include -fpic
-DAUTOFS_LIB_DIR=\"/usr/lib/autofs\"
-DPATH_AUTOMOUNT=\"/usr/sbin/automount\" -o lookup_program.so
lookup_program.c
lookup_program.c: In function `lookup_mount':
lookup_program.c:146: `OPEN_MAX' undeclared (first use in this function)
lookup_program.c:146: (Each undeclared identifier is reported only once
lookup_program.c:146: for each function it appears in.)
make[1]: *** [lookup_program.so] Error 1
Any ideas, or should I wait for pre10? I can continue using amd, but for
legacy reasons I need tree mounts... and I don't like amd.
BTW, are there archives for this list anywhere? I would have checked for
similar problems there if possible before emailing...
Josh
--
"There ought to be limits to freedom."
- George W. Bush, May 21, 1999, speaking about the parody web
site gwbush.com
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759