On 22 Nov, Mike Waychison wrote:

> I'm pleased to announce the release of AutofsNG 0.3.1.

Has anyone successfully built on an amd64 host?

On a 64bit, sles9 host, I get:

make[1]: Entering directory
`/local/mnt/workspace/builds/autofsng-0.3.1/modules'
gcc -shared -O3 -fomit-frame-pointer -Wall -I../include -fpic
-DAUTOFS_LIB_DIR=\"/lib/autofsng\" -o map_hosts.so map_hosts.c -lrpcsvc
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../lib64/librpcsvc.a(xmount.o):
relocation R_X86_64_32 can not be used when making a shared object; recompile
with -fPIC
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../lib64/librpcsvc.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [map_hosts.so] Error 1

Tried changing flags in Makefile from -fpic to -fPIC and it didn't help.

Compile works fine on a i686 Suse 9.2 install.
 
-- 
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com
Bob: "Ok, I'm goin'... but a swift kick in the ass isn't the solution to
everything you know."
Red: "I gotta disagree with you there Bob!" -- That 70's show

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to