delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/19/13:47:46

Message-ID: <362B7A65.F9112A10@clover.c2d.fedex.com>
Date: Mon, 19 Oct 1998 12:44:05 -0500
From: Walter Moore <walter AT clover DOT c2d DOT fedex DOT com>
Organization: Federal Express
X-Sender: "Walter Moore" <walter AT clover DOT c2d DOT fedex DOT com> (Unverified)
X-Mailer: Mozilla 4.04 [en]C-FedExIntl (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: RSXDJNT compile error
References: <362B6347 DOT 63379BD6 AT clover DOT c2d DOT fedex DOT com>
Reply-To: djgpp AT delorie DOT com

I fixed my previous error by explicitly including the RSXNTDJ, but now
with this command:
> gcc -O -Zdll -Zwin32 -Id:/djgpp/contrib/rsxntdj/include/ -Id:/djgpp/contrib/rsxntdj/include/win32 -Id:/djgpp/contrib/rsxntdj/include/mssdk -g -DDEBUG -DCLIENT -o lpcli lpcli.o strcli.o autogen.o env.o error.o initvars.o net.o options.o output.o readline.o writen.o  -Id:/djgpp/contrib/rsxntdj/lib/st -Id:/djgpp/contrib/rsxntdj/lib/all -Ic:/djgpp/src/loadplan/LPserver.works -lwsock32 -lsocket

(and yes, I have to explicitly include the paths to RSXNTDJ include and
lib dirs, but I do not know why)

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

Any idea why I'm getting the error having to do with 
_os2dll from dll0w32.o and why the getopt() variables 
are not being found?

thanks!
Walter
-- 
Walter Moore                Sr. Programmer Analyst
Federal Express             wbmoore AT fedex DOT com
2813 Business Park          Memphis TN 38118 USA
work: 901-369-2640          fax: 901-369-3634

- Raw text -


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