delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/16/11:30:11

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems linking
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <2dkjfssfugjahomllbmqldp910kbmb1fjs@4ax.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000412171857 DOT 18962C-100000 AT is> <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> <fteffs8r43hr4766fgl2j4sdt8kj611qon AT 4ax DOT com> <38F816C4 DOT FBB53901 AT pop DOT gis DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 27
X-Trace: /K49oBbV2XCvrVEmbTr2XFc2MNz9P9itQr/oOU7e6TgmidXHj9BFsl3jFSnj7kl3IRvXk49ft/TN!j5jmICIqq10Vj8FYSON/mDDcTJG6564t7vjHjrQvsPWGnL9h1M8cciVzbgpoZPTx8On0vlCwPKey!w27XImI=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sun, 16 Apr 2000 14:45:44 GMT
Distribution: world
Date: Sun, 16 Apr 2000 14:45:45 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 15 Apr 2000 03:14:12 -0400, Joseph Rose <jorose AT pop DOT gis DOT net>
wrote:

>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.

Commandline:  Don't use -l before the object file's name.
-l is for libraries (.a) in the standard library directory.

RHIDE: Try adding the object file to your project, not as a library.

-- 
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/

- Raw text -


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