libutf-8 compilation error
Dave
dgjohns at gmail.com
Wed Nov 25 23:04:50 UTC 2009
I am encountering the following error while trying to compile
converters/libutf-8 inside of a jail. The host machine is a freshly compiled
FreeBSD 7.2-p4 amd64 system, as with the jail, and both have an up to date
ports tree. I've been able to replicate the error on the host machine, and
second machine running 7-STABLE. I have also checked the Makefile for the
port, and it does contain "CFLAGS+= -fPIC" already.
# make install
===> Vulnerability check disabled, database not found
===> Extracting for libutf-8-1.0,1
=> MD5 Checksum OK for libutf-8-1.0.tar.gz.
=> SHA256 Checksum OK for libutf-8-1.0.tar.gz.
===> Patching for libutf-8-1.0,1
===> Applying FreeBSD patches for libutf-8-1.0,1
===> Configuring for libutf-8-1.0,1
===> Building for libutf-8-1.0,1
cc -O2 -fno-strict-aliasing -pipe -march=nocona -c fget.utf-8.c
cc -O2 -fno-strict-aliasing -pipe -march=nocona -c sget.utf-8.c
cc -O2 -fno-strict-aliasing -pipe -march=nocona -c fput.utf-8.c
cc -O2 -fno-strict-aliasing -pipe -march=nocona -c sput.utf-8.c
cc -O2 -fno-strict-aliasing -pipe -march=nocona -c nomacros.c
ld -o libutf-8.so.1 fget.utf-8.o sget.utf-8.o fput.utf-8.o sput.utf-8.o
nomacros.o -shared -soname libutf-8.so.1
ld: fget.utf-8.o: relocation R_X86_64_32 can not be used when making a
shared object; recompile with -fPIC
fget.utf-8.o: could not read symbols: Bad value
*** Error code 1
Stop in /usr/ports/converters/libutf-8/work/libutf-8-1.0.
*** Error code 1
Stop in /usr/ports/converters/libutf-8.
Thanks in advance for any help.
More information about the freebsd-ports
mailing list