Mail Archives: djgpp/1998/10/19/13:47:46
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 -