From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Library within library Date: 10 Dec 2000 14:46:05 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 27 Message-ID: <9104vd$q8$1@antares.lu.erisoft.se> References: <3A338B54 DOT 809D3DC AT htsol DOT com> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Yoram Hofman (yoram AT htsol DOT com) wrote: : This is a multi-part message in MIME format. : --------------D491753A54CDE88C3948759F : Content-Type: text/plain; charset=us-ascii : Content-Transfer-Encoding: 7bit : Hi. : I have my own library own.a. Some functions within this library defined : in the strange.a library that supplied by somebody else. : When I try to compile .exe files using own.a I receive linker errors : such as : "unresolved reference to sss " there ss is 'name of function defined : in strange.a'. : What have I to do ? : Alexandra. You need to list the libraries in the correct order. The library that uses functions from another library must come before the library which functions are used. If you had trouble parsing that sentence, for you this means that you must have "own" before "strange". Right, MartinS