This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Link error


Hello,

I'm puzzled with the following link error.

I'm using gcc 3.0.1 on Solaris 8. The libcometpfas.so compiles with gcc
2.1.95 and refuses with gcc 3.0.1.

The message is :
----- start -----
bonobo> make -f test.mk
/usr/users/armili/testcomet/COMET_U_1002/S28T710/test/tst01
g++ -o /usr/users/armili/testcomet/COMET_U_1002/S28T710/test/tst01
/usr/users/armili/testcomet/COMET_U1002/S28T710/obj/tst01.
o -L/usr/users/armili/testcomet/COMET_U_1002/S28T710/lib -lcometpfas
-L/usr/users/armili/testcomet/COMET_U1002/CORATN/lib/S28T710 -lAtn
-L/u01/app/tuxedo/710/lib -ltux -lbuft  -lfml -lfml32
Undefined                       first referenced
 symbol                             in file
CCppsvcfrm::doSvcsCall(char*, context_t*, CParam_in&, CParam_out&,
ils_err_t*)/usr/users/armili/testcomet/COMET_U1002/S28T710/obj/tst01.o
ostream::operator<<(ostream &(*)(ostream
&))/usr/users/armili/testcomet/COMET_U_1002/S28T710/lib/libcometpfas.so
endl(ostream &)
/usr/users/armili/testcomet/COMET_U_1002/S28T710/lib/libcometpfas.so
CCppsvcfrm::CCppsvcfrm()
/usr/users/armili/testcomet/COMET_U_1002/S28T710/obj/tst01.o
cerr
/usr/users/armili/testcomet/COMET_U_1002/S28T710/lib/libcometpfas.so
CCppsvcfrm::~CCppsvcfrm()
/usr/users/armili/testcomet/COMET_U_1002/S28T710/obj/tst01.o
ostream::operator<<(char const *)
/usr/users/armili/testcomet/COMET_U_1002/S28T710/lib/libcometpfas.so
ld: fatal: Symbol referencing errors. No output written to
/usr/users/armili/testcomet/COMET_U_1002/S28T710/test/tst01
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target
`/usr/users/armili/testcomet/COMET_U_1002/S28T710/test/tst01'
----- end -----

Any help is appreciated

Regards Herbert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]