Date: Fri, 30 Mar 2001 20:40:51 +0530 (IST) From: Mridul Muralidharan To: chiumac AT yahoo DOT com DOT hk cc: Djgpp mailing list Subject: Re: help for using svas011b.zip In-Reply-To: <3ac4884e$1@newsgate.hknet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 31 Mar 2001, chiumac wrote: > I have extract the file to my djgpp folder. when i enter the folowing > command : > > C:\djgpp\author\CONTRIB\SVASYNC>gcc term.c -o term.exe > > I get the following message : > > c:/djgpp/tmp\ccci55ue(.text+0x56):term.c: undefined reference to > `SVAsyncInit' > c:/djgpp/tmp\ccci55ue(.text+0x7d):term.c: undefined reference to > `SVAsyncFifoIni > t' [ snip - and similar errors ] > > What may be the problem ? > > Chiumac > > hi, u are not including the svasync library - libsv.a to be precise. use "gcc term.c -o term.exe -lsv" to get rid of these undefined references. try it , Mridul Muralidharan S8 Electronics and Communication Regional Engineering College Calicut India ------------------------------------------------------------------------------ If the code and the comments disagree, then both are probably wrong. -- Norm Schryer All generalizations are false, including this one. -- Mark Twain /earth is 98% full ... please delete anyone you can. - fortune