LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-28-2010, 09:57 AM   #1
old_as_a_fossil
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/libwsapi_common.so.2.0 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/libwsapi_common.so.2.0 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,libwsapi_common.so.2.0 -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/libwsapi_common.so.2.0] Error 1
gmake[1]: Leaving directory `/home/kannanj/svn/Main/WSToolKit/wsapi_common'
gmake: *** [full-build/x86_64-rhel4-gcc3] Error 2
 
  


Reply



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 02:05 AM
collect2: ld returned 1 exit status kvijaik Linux - Software 2 10-07-2009 09:17 PM
collect2: ld returned 1 exit status Ritendra Linux - Newbie 2 07-30-2009 07:39 AM
ld: cannot find -lc collect2: ld returned 1 exit status ArbuZz Linux From Scratch 3 09-27-2005 12:52 AM
collect2: ld returned 1 exit status abirami Linux - Software 0 03-02-2005 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:21 PM.

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