Date: Mon, 16 Jun 2008 22:43:51 +0400 From: Boris Samorodov <bsam@ipt.ru> To: freebsd-afs@FreeBSD.org Subject: net/openafs-server doesn't compile at CURRENT-amd64 Message-ID: <73699704@bs1.sp34.ru>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73699704>