From: Joseph Rose Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems linking Date: Sat, 15 Apr 2000 03:14:12 -0400 Organization: Posted via Supernews, http://www.supernews.com Lines: 35 Message-ID: <38F816C4.FBB53901@pop.gis.net> References: <38F71722 DOT E1E54447 AT pop DOT gis DOT net> <38F75621 DOT E787315E AT is DOT elta DOT co DOT il> <38F79F53 DOT 4700890F AT pop DOT gis DOT net> X-Complaints-To: newsabuse AT supernews DOT com X-Mailer: Mozilla 4.7 [en]C-NECCK (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Damian Yerrick wrote: > > You forgot to add the library in Options > Libraries. For instance, > with the Allegro library (similar to what you are probably using), > type ``alleg'' somewhere into the big blue box and put an X in the > blue column right next to it. This adds ``-lalleg'' to the linker's > commandline. I tried that. I got a "Error: c:/djgpp/bin/ld.exe: cannot find -lC:\ZZZ\GR\386P\VGADr386.o" error message. > > >The test and header code follow: > >------------------------------------------- > >VGADr386.h > >/* > >//Header for VGADr386 library. > >//Requires dpmi.h. > >*/ > > Are you linking VGADr386's library into your app? > Yes. I don't know how to do otherwise. :-> > > -- > Damian Yerrick > "I refuse to listen to those who refuse to listen to reason." > See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html > > This is McAfee VirusScan. Add these two lines to your signature to > prevent the spread of signature viruses. http://www.mcafee.com/