www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/11/18:57:06

From: cdamond AT uclink2 DOT berkeley DOT edu
Newsgroups: comp.os.msdos.djgpp
Subject: linking problem: lib(n)curses?
Date: 11 Dec 1996 00:35:44 GMT
Organization: University of California, Berkeley
Lines: 10
Message-ID: <58kvl0$dcn@agate.berkeley.edu>
NNTP-Posting-Host: beshaba.hip.berkeley.edu
Originator: lucifer AT agate DOT berkeley DOT edu
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Apparently-To: djgpp AT delorie DOT com

I have a huge project that I needed ported to DOS, so I elected to use
go32 and compile it on my linux box with a gcc configured to produce coff.

Many of the modules require lib(n)curses.a to link, but I discovered that
if I just put -lncurses on the command line, the linker go32gcc calls
doesn't find it in /usr/lib, so I added a link to that in the go32/lib
directory.  Now it finds it, but I still get undefined references to all
my curses function calls.  Anyone know why? 

Thanks in advance

- Raw text -


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