www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/22/05:36:18

Date: Thu, 22 Oct 1998 10:09:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Walter Moore <walter AT clover DOT c2d DOT fedex DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: RSXNTDJ compile error
In-Reply-To: <362E596F.F1F99127@clover.c2d.fedex.com>
Message-ID: <Pine.SUN.3.91.981022100927.2003S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 21 Oct 1998, Walter Moore wrote:

> > d:/djgpp/contrib/rsxntdj/lib/dll0w32.o(.data+0x28):fake: undefined reference to
> > `_os2dll'
> > env.o: In function `print_args':
> > env.c:181: undefined reference to `optind'
> > env.c:183: undefined reference to `optind'
> > env.o: In function `print_env':
> > env.c:200: undefined reference to `environ'
> > env.c:200: undefined reference to `environ'
> > options.o: In function `process_options':
> > options.c:69: undefined reference to `optind'
> > options.c:77: undefined reference to `optind'
> > options.o: In function `do_option':
> > options.c:220: undefined reference to `optarg'
> > options.c:256: undefined reference to `optarg'
> > options.c:264: undefined reference to `optarg'
> > options.c:265: undefined reference to `optarg'
> >
> 
> I'm assuming that this means the getopt() routine is not being
> compiled in.

Not only `getopt': you also lack `_os2dll' and `environ' (the latter
is an array of pointers to environment variables accessed by `getenv'
and `putenv').

I'd guess you miss some library, but I don't know enough about RSXNT
to tell which one.  You can use `nm' to look for the library that
includes these symbols.

- Raw text -


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