* standard library problem by linking with ld
@ 2001-10-24 14:31 arkam
2001-10-24 20:47 ` Kenneth Block
0 siblings, 1 reply; 2+ messages in thread
From: arkam @ 2001-10-24 14:31 UTC (permalink / raw)
hi,
When linking my program with ld i get 3 unresolved :
substr
find
append
they all come from basic_string !
which library should i add or is the order important ?
ld -shared -taso -o ./libuser3gl.so IIu3gltab.obj
/home/users/sde02/CMySock.o /home/users/sde02/go.o
/home/users/sde02/ingres/lib/libingres.a
/home/users/sde02/lib/libingres605.a -lcxxstd -lexc -lcxx -lX11
-ldnet_stub -lm -lc -lrt -lpthread -L/usr/lib -lc -lm
What could be wrong ?
DIGITAL 4.0, cxx 6.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: standard library problem by linking with ld
2001-10-24 14:31 standard library problem by linking with ld arkam
@ 2001-10-24 20:47 ` Kenneth Block
0 siblings, 0 replies; 2+ messages in thread
From: Kenneth Block @ 2001-10-24 20:47 UTC (permalink / raw)
When linking C++ code, you should use the C++ driver. Try:
cxx -shared -taso -o ./libuser3gl.so IIu3gltab.obj
/home/users/sde02/CMySock.o /home/users/sde02/go.o
/home/users/sde02/ingres/lib/libingres.a
/home/users/sde02/lib/libingres605.a -lX11
-ldnet_stub -lm -lc -lrt -lpthread -L/usr/lib -lm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-24 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-24 14:31 standard library problem by linking with ld arkam
2001-10-24 20:47 ` Kenneth Block
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox