Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-28-2010, 10:57 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
A different collect2: ld returned 1 exit status

Usually above error will say what library it is not able to find but in this case it is not saying anything such. Instead it appears as though the message applies to the output .o being emitted itself.
Any clue?

/usr/bin/g++ -c -D_FILE_OFFSET_BITS=64 -DEAPI -DMODULE_NAMESPACE=wsapi -DYAHOO_NO_AP_COMPAT -DPHP_ATOM_INC -fPIC -DLINUX -D_GNU_SOURCE -D_THREAD_SAFE -DUSE_STD_YUTSTRING -DNO_FACTORY -I../inc -I../common -I../inc/cppunit `xml2-config --cflags` -I/home/y/include/yapache -I/home/y/include64 -I/home/y/include -I.. -I../libraries -fPIC -fprofile-arcs -ftest-coverage -Wall -Werror -pipe -MD -g -DDEBUG=1 WSApiParam.cpp -o x86_64-rhel4-gcc3.gcov/WSApiParam.o
/usr/bin/g++ -c -D_FILE_OFFSET_BITS=64 -DEAPI -DMODULE_NAMESPACE=wsapi -DYAHOO_NO_AP_COMPAT -DPHP_ATOM_INC -fPIC -DLINUX -D_GNU_SOURCE -D_THREAD_SAFE -DUSE_STD_YUTSTRING -DNO_FACTORY -I../inc -I../common -I../inc/cppunit `xml2-config --cflags` -I/home/y/include/yapache -I/home/y/include64 -I/home/y/include -I.. -I../libraries -fPIC -fprofile-arcs -ftest-coverage -Wall -Werror -pipe -MD -g -DDEBUG=1 api_common.cpp -o x86_64-rhel4-gcc3.gcov/api_common.o
/usr/bin/g++ -c -D_FILE_OFFSET_BITS=64 -DEAPI -DMODULE_NAMESPACE=wsapi -DYAHOO_NO_AP_COMPAT -DPHP_ATOM_INC -fPIC -DLINUX -D_GNU_SOURCE -D_THREAD_SAFE -DUSE_STD_YUTSTRING -DNO_FACTORY -I../inc -I../common -I../inc/cppunit `xml2-config --cflags` -I/home/y/include/yapache -I/home/y/include64 -I/home/y/include -I.. -I../libraries -fPIC -fprofile-arcs -ftest-coverage -Wall -Werror -pipe -MD -g -DDEBUG=1 headers_common.cpp -o x86_64-rhel4-gcc3.gcov/headers_common.o

====> Linking x86_64-rhel4-gcc3.gcov/ for C++
/usr/bin/g++ -fPIC -fprofile-arcs -ftest-coverage -Wall -Werror -pipe -MD -g -DDEBUG=1 -D_FILE_OFFSET_BITS=64 -DEAPI -DMODULE_NAMESPACE=wsapi -DYAHOO_NO_AP_COMPAT -DPHP_ATOM_INC -fPIC -DLINUX -D_GNU_SOURCE -D_THREAD_SAFE -DUSE_STD_YUTSTRING -DNO_FACTORY -I../inc -I../common -I../inc/cppunit -I/usr/include/libxml2 -I/home/y/include/yapache -I/home/y/include64 -I/home/y/include -I.. -I../libraries -Wl,-rpath,/home/y/lib64 -o x86_64-rhel4-gcc3.gcov/ x86_64-rhel4-gcc3.gcov/WSApiParam.o x86_64-rhel4-gcc3.gcov/api_common.o x86_64-rhel4-gcc3.gcov/headers_common.o -shared -Wl,-x -Wl,-soname, -Wl,-rpath,/home/y/lib64 -L../lib64 -L/home/y/lib64 -Wl,-rpath-link,../lib64 -Wl,-rpath-link,/home/y/lib64 -L../common/x86_64-rhel4-gcc3.gcov -lcommon -L../filter/x86_64-rhel4-gcc3.gcov -lyf -lxml2 -lz -lpthread -lm -lyca -lyiv -lboost_regex -Lx86_64-rhel4-gcc3.gcov -lbsd-compat -L../libs/rhel.4.x
collect2: ld returned 1 exit status
gmake[1]: *** [x86_64-rhel4-gcc3.gcov/] Error 1
gmake[1]: Leaving directory `/home/kannanj/svn/Main/WSToolKit/wsapi_common'
gmake: *** [full-build/x86_64-rhel4-gcc3] Error 2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
collect2: ld returned 1 exit status makphy Linux - Newbie 0 12-14-2009 03:05 AM
collect2: ld returned 1 exit status kvijaik Linux - Software 2 10-07-2009 10:17 PM
collect2: ld returned 1 exit status Ritendra Linux - Newbie 2 07-30-2009 08:39 AM
ld: cannot find -lc collect2: ld returned 1 exit status ArbuZz Linux From Scratch 3 09-27-2005 01:52 AM
collect2: ld returned 1 exit status abirami Linux - Software 0 03-02-2005 02:07 AM

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration