From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9b78071663d6c388 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-24 13:47:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail From: "Kenneth Block" Newsgroups: comp.unix.tru64 References: Subject: Re: standard library problem by linking with ld X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Wed, 24 Oct 2001 16:47:37 -0400 NNTP-Posting-Host: 16.28.0.186 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1003956458 16.28.0.186 (Wed, 24 Oct 2001 13:47:38 PDT) NNTP-Posting-Date: Wed, 24 Oct 2001 13:47:38 PDT Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:5512 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