Xref: news2.mv.net comp.os.msdos.djgpp:7876 From: LEBLANC MARTINE Newsgroups: comp.os.msdos.djgpp Subject: Problem with including librairies! Date: Sat, 24 Aug 1996 22:02:22 -0400 Organization: Université du Québec à Montréal Lines: 19 Message-ID: NNTP-Posting-Host: merlin.si.uqam.ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I make a program using libgrx20 and libsv, all functions of libgrx20 include fine and I'm able to use it quite well. The problem popped up when I incorporated the functions of libsv.a and the librairie itself for modem support. I do include correctly the lib, (#include "libsv.h") and add it to the makefile gcc libsv.a -O3 -o tacc.exe o/tacc.o o/window.o o/setup.o libgrx20.a The problem is that it always tells me "Undefined reference to SVAsyncInit(void), Undefined [...]" for all functions of the lib. I DO include the lib and it really frustrates me since libgrx20 works fine! It's neither a problem with the librairy since the "term.c" program that comes with the package compiles very fine with libsv.a... What could it be? A GCC bug ?! (I tried every positions in the command line too for nothing..). I'm now stuck for no obvious reason :) help me?