From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP and the Boost library? Date: Thu, 09 Jan 2003 22:51:40 +0000 Lines: 21 Message-ID: <3E1DFCFC.375A7B86@phekda.freeserve.co.uk> References: NNTP-Posting-Host: 62.136.40.79 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg1.svr.pol.co.uk 1042155292 27050 62.136.40.79 (9 Jan 2003 23:34:52 GMT) NNTP-Posting-Date: 9 Jan 2003 23:34:52 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Roger Dahl wrote: [snip] > I'm trying to use the Regex++ part of the Boost library. The library > compiles without any problems, but I get linker errors when I try to > use it. [snip] > When I try to link with the library, I get the following errors: > > >gpp.exe -O2 -Wall -L/djgpp/boost_1_29_0/libs/regex/build/gcc > -lboost_regex -I/djgpp/boost_1_29_0 -o mapper.exe mapper.cpp [snip] Does it work if you put -lboost_regex at the end of the line? (GNU ld is a one-pass linker, so order matters.) Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]