pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44349: textproc/xmlrpc-c fails to build on Linux



>Number:         44349
>Category:       pkg
>Synopsis:       textproc/xmlrpc-c fails to build on Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 21:50:00 +0000 2011
>Originator:     Jan ?mydke
>Release:        Frugalware Linux 1.3 amd64
>Organization:
>Environment:
(Linux)
>Description:
While building devel/cmake I get errors from textproc/xmlrpc-c

It seems sth wrong with link options?

There is gcc 4.5.0 on the Linux machine

See below the end of the build log:

ar cru libxmlrpc_client++.a client.o client_simple.o curl.o libwww.o wininet.o
ranlib libxmlrpc_client++.a
g++ -shared -Wl,-soname,libxmlrpc_cpp.so.3  -o libxmlrpc_cpp.so.3.06 
XmlRpcCpp.o -L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib
/usr/lib/gcc/x86_64-frugalware-linux/4.5.0/../../../../x86_64-frugalware-linux/bin/ld:
 XmlRpcCpp.o: relocation R_X86_64_32 against `.rodata' can not be used when 
making a shared object; recompile with -fPIC
XmlRpcCpp.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libxmlrpc_cpp.so.3.06] Error 1
make[2]: Leaving directory 
`/usr/pkgsrc/textproc/xmlrpc-c/work/xmlrpc-c-1.06.40/src/cpp'
make[1]: *** [cpp/all] Error 2
make[1]: Leaving directory 
`/usr/pkgsrc/textproc/xmlrpc-c/work/xmlrpc-c-1.06.40/src'
make: *** [src/all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/textproc/xmlrpc-c
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/xmlrpc-c
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/cmake
>How-To-Repeat:
On Frugalware Linux 1.3 amd64:

cd devel/cmake && bmake
>Fix:



Home | Main Index | Thread Index | Old Index