www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/25/20:07:50

Xref: news2.mv.net comp.os.msdos.djgpp:7876
From: LEBLANC MARTINE <gj491867 AT er DOT uqam DOT ca>
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: <Pine.HPP.3.91.960824214355.17077A-100000@merlin.si.uqam.ca>
NNTP-Posting-Host: merlin.si.uqam.ca
Mime-Version: 1.0
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? 

 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019