net/openafs-server doesn't compile at CURRENT-amd64
Boris Samorodov
bsam at ipt.ru
Mon Jun 16 18:43:16 UTC 2008
Hello,
I've got an info about the port from the wiki and here what I have:
-----
# uname -a
FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 16 17:18:23 MSD 2008 root at host.ipt.ru:/usr/obj/usr/src/sys/TBA amd64
# pwd
/usr/ports/net/openafs-server
# make
...
cd picobj && cc -I. -I. -I/usr/ports/net/openafs-server/work/openafs-1.5.30/src/config -I/usr/ports/net/openafs-server/work/openafs-1.5.30/include -pipe -c glue.c
+ cc -shared -o libafssetpag.so.1.0 picobj/setpag.o picobj/glue.o syscall.o
/usr/bin/ld: picobj/setpag.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
picobj/setpag.o: could not read symbols: Bad value
*** Error code 1
-----
I've added CFLAGS+=-fPIC to the Makefile but seems that sources
does not honour this value.
Should the port compile at CURRENT-amd64? Thanks!
WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-afs
mailing list