X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: grx Date: 4 Jan 2002 21:05:29 GMT Organization: Cornell University Lines: 26 Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-152.syr.east.verizon.net) Message-ID: References: <20020104 DOT 134346 DOT -169285 DOT 0 DOT the_juggernaut AT juno DOT com> NNTP-Posting-Host: pool-141-149-207-152.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1010178329 12188 141.149.207.152 (4 Jan 2002 21:05:29 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 4 Jan 2002 21:05:29 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com the_juggernaut AT juno DOT com wrote in news:20020104.134346.- 169285 DOT 0 DOT the_juggernaut AT juno DOT com: >> Remember to add the "-lgrx20" switch to your gcc compile line > > The test programs now work and everything seems to be compatible with my > hardware. I still cannot get the hello example to link, however. With > the "-lgrx20" switch, there's still the same "undefined reference to:" > errors. So I tried "-libgrx20" and the undefined reference errors > disappeared. But now I have these errors: > > Error: c:/djgpp/bin/ld.exe: cannot find -libgrx20 > Error: collect2: ld returned 1 exit status > > The first one is new, the second one was there before. Where does it say > to use that switch? info ld invoc opt -lgrx20 means link to libgrx20.a in one of the library search paths. if you specify -libgrx20, the file searched for is libibgrx20.a. -- -------------------------------- A. Sinan Unur http://www.unur.com/