linlinname36 / pyroscope

Automatically exported from code.google.com/p/pyroscope
GNU General Public License v2.0
0 stars 0 forks source link

compile curl under fedora fails / could not read symbols #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Trying to compile curl under fedora 14/x64

What is the expected output? What do you see instead?

•src/rtorrent-extended/curl-7.21.1» make                                     

                  [22:29:48]
Making all in lib
make[1]: Entering directory `/opt/src/rtorrent-extended/curl-7.21.1/lib'
make  all-am
make[2]: Entering directory `/opt/src/rtorrent-extended/curl-7.21.1/lib'
make[2]: Leaving directory `/opt/src/rtorrent-extended/curl-7.21.1/lib'
make[1]: Leaving directory `/opt/src/rtorrent-extended/curl-7.21.1/lib'
Making all in src
make[1]: Entering directory `/opt/src/rtorrent-extended/curl-7.21.1/src'
make  all-am
make[2]: Entering directory `/opt/src/rtorrent-extended/curl-7.21.1/src'
/bin/sh ../libtool --tag=CC --mode=link gcc  -isystem 
/home/tim/lib/rtorrent-0.8.8/include -g0 -O2 -Wno-system-headers   
-L/home/tim/lib/rtorrent-0.8.8/lib -o curl  main.o hugehelp.o urlglob.o 
writeout.o writeenv.o getpass.o homedir.o curlutil.o os-specific.o strtoofft.o 
strdup.o rawstr.o nonblock.o  ../lib/libcurl.la -lz 
libtool: link: gcc -isystem /home/tim/lib/rtorrent-0.8.8/include -g0 -O2 
-Wno-system-headers -o .libs/curl main.o hugehelp.o urlglob.o writeout.o 
writeenv.o getpass.o homedir.o curlutil.o os-specific.o strtoofft.o strdup.o 
rawstr.o nonblock.o  -L/home/tim/lib/rtorrent-0.8.8/lib ../lib/.libs/libcurl.so 
-lz -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: curlutil.o: undefined reference to symbol 
'clock_gettime@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO 
/lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/opt/src/rtorrent-extended/curl-7.21.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/src/rtorrent-extended/curl-7.21.1/src'
make: *** [all-recursive] Error 1

What version of the product are you using? On what operating system?
•/opt/src/rtorrent-extended» svn info                                        

                  [22:30:49]
Path: .
URL: http://pyroscope.googlecode.com/svn/trunk/pyrocore/docs/rtorrent-extended
Repository Root: http://pyroscope.googlecode.com/svn
Repository UUID: f46b6318-5139-11de-872b-dbf177db83f9
Revision: 1594
Node Kind: directory
Schedule: normal
Last Changed Author: pyroscope.project
Last Changed Rev: 1589
Last Changed Date: 2011-06-10 21:03:45 +0300 (Fri, 10 Jun 2011)

Please provide any additional information below.

I found that using this patch works for me as well 

http://comments.gmane.org/gmane.comp.web.curl.library/29278

and ./buildconf && ./configure && make

Original issue reported on code.google.com by theicema...@gmail.com on 22 Jun 2011 at 7:33

GoogleCodeExporter commented 8 years ago
Not a problem of this project, but thanks for documenting the solution.

Original comment by pyroscope.project on 25 Jun 2011 at 9:44