From: "chiumac" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: help for using svas011b.zip Date: Sun, 1 Apr 2001 02:51:22 +0800 Lines: 59 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: vp170011.nte.uac1.hknet.com X-Original-NNTP-Posting-Host: vp170011.nte.uac1.hknet.com Message-ID: <3ac57edc$1@newsgate.hknet.com> X-Trace: 31 Mar 2001 14:53:16 +0800, vp170011.nte.uac1.hknet.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com C:\djgpp\author\CONTRIB\SVASYNC>gcc term.c -o term.exe -lsv c:/djgpp/bin/ld.exe: cannot open -lsv: No such file or directory (ENOENT) Why is that? Do I miss something? Chiumac "Mridul Muralidharan" ¼¶¼g©ó¶l¥ó news:Pine DOT LNX DOT 4 DOT 04 DOT 10103302036330 DOT 7721-100000 AT matrix DOT reccal DOT ernet DOT in... > > 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 > >