Date: Mon, 22 Dec 1997 17:06:07 +0100 (GMT+0100) From: Petr Mrazek To: Konference DJGPP Subject: 2 and more libraries in one project Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Hi, I had this problem: Module foo.c contains only int main(void). Module libfoo1.c contains function for example void foo1(void) Module libfoo2.c function void foo2(void) I create libraries libfoo1.a and libfoo2.a then add them to project foo with module foo.c. 1. All works fine when main calls foo1 and/or foo2 and this foos don't call another foo (from other library) like this: main -> foo1 \-> foo2 2. But when I want to call foo1 from main and foo2 from foo1 linker says "unresolved external foo2" or something like this. ( main -> foo1 -> foo2 ) All works fine when both foo1 and foo2 are in one library. Is it bug of linker? /* Petr Mrazek */ /* e-mail: mrazek AT cas3 DOT zlin DOT vutbr DOT cz */ /* SMS: petr DOT mrazek AT sms DOT paegas DOT cz (120 chars - junk mails here please) */ /* phone: +420-603-501050 */ /* Zlin, Czech republic */