X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Martin Boulte" Newsgroups: comp.os.msdos.djgpp References: <4453cc79$0$16727$626a54ce AT news DOT free DOT fr> Subject: Re: Linking problem Date: Sun, 30 Apr 2006 18:51:20 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Lines: 37 Message-ID: <4454eb13$0$21547$626a54ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 30 Apr 2006 18:51:31 MEST NNTP-Posting-Host: 81.57.84.181 X-Trace: 1146415891 nnrp3-2.free.fr 21547 81.57.84.181:1673 X-Complaints-To: abuse AT proxad DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thank you all of you. In fact I have solved a lot of my problems in duplicating library definition in the linker. Thanks "Brian Inglis" a écrit dans le message de news: aq0852lt1e8t0rhvf1judal7463crf59kl AT 4ax DOT com... > On Sat, 29 Apr 2006 22:28:31 +0200 in comp.os.msdos.djgpp, "Martin > Boulte" wrote: > > >Hi guys, > > > >Could you have a look to my makefile and explain me : > > > >Is it correct to invoke the linker with a comman file as I do : > >$(ILINK_EXE) -t @build.tmp ? > >Why the result of linking path is always : cannot find -lgtnul > >If I change the order of -lgtnul in the library lit, for example with llang, > >the error massage will become : cannot find -llang > > Try specifying both libraries twice in the command file as in: > > -lgtnul -llang -lgtnul -lglang > > as there are sometimes problems when routines in one library call > routines in a second library, and there are also routines in the > second library calling routines in the first library. > > -- > Thanks. Take care, Brian Inglis Calgary, Alberta, Canada > > Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) > fake address use address above to reply