net/openafs-server doesn't compile at CURRENT-amd64

View: New views
1 Messages — Rating Filter:   Alert me  

net/openafs-server doesn't compile at CURRENT-amd64

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...:/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
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."