www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/19/17:39:29

Date: Mon, 19 Oct 1998 21:33:27 +0100 (BST)
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: RSXDJNT compile error
In-Reply-To: <362B7A65.F9112A10@clover.c2d.fedex.com>
Message-ID: <Pine.OSF.4.05.9810192129260.15342-100000@sable.ox.ac.uk>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 19 Oct 1998, Walter Moore wrote:

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

It's because you didn't install it properly.

> > d:/djgpp/contrib/rsxntdj/lib/dll0w32.o(.data+0x28):fake: undefined reference to `_os2dll'
...
> 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?

It's because you didn't install it properly.  You're using
djgpp's linker, not the one supplied with RSXNTDJ.  Under some
circumstances you must use RSXNTDJ's linker; it will work if you
use it all the time, so that's probably the best thing to do.
The disadvantage is that it will never tell you about undefined
references.

I suspect that you haven't edited your djgpp.env or lib/specs
properly.  Which instructions did you follow when installing
RSXNTDJ?

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

xu do tavla fo la lojban  --  http://xiron.pc.helsinki.fi/lojban/lojban.html

- Raw text -


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