From: "Ron Wiseman" Newsgroups: comp.os.msdos.djgpp Subject: RSXNTDJ problems Lines: 67 X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Message-ID: Date: Tue, 29 Dec 1998 09:53:00 -0500 NNTP-Posting-Host: 137.186.208.193 X-Trace: NewsRead.Toronto.iSTAR.net 914943255 137.186.208.193 (Tue, 29 Dec 1998 09:54:15 EDT) NNTP-Posting-Date: Tue, 29 Dec 1998 09:54:15 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I have installed DJGPP / RSXNTDJ and am having some troubles with compiling with -Zwin32 option. When try to compile a very simple 'Hello Win32' app with -Zwin32 I get the following (this is after switching back to the original LD which comes with DJGPP): C:/DJGPP/RSXNTDJ/lib/crt0w32.o(.text+0x1f):crt0.s: undefined reference to `_entry2' C:/DJGPP/RSXNTDJ/lib/crt0w32.o(.text+0x24):crt0.s: undefined reference to `_startup' c:/djgpp/rsxntdj/lib/all/libgcc.a(main.o)(.text+0x4):main: undefined reference to `__ctordtorInit' c:/djgpp/rsxntdj/lib/all/libgcc.a(main.o)(.text+0x9):main: undefined reference to `__ctordtorTerm' c:/djgpp/lib/libc.a(exit.o)(.text+0x28):exit.c: undefined reference to `djgpp_last_dtor' c:/djgpp/lib/libc.a(exit.o)(.text+0x2d):exit.c: undefined reference to `djgpp_first_dtor' c:/djgpp/lib/libc.a(exit.o)(.text+0x3f):exit.c: undefined reference to `djgpp_first_dtor' c:/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x16a):dpmiexcp.c: undefined reference to `_stklen' c:/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x173):dpmiexcp.c: undefined reference to `__djgpp_selector_limit' c:/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x5f7):dpmiexcp.c: undefined reference to `__djgpp_selector_limit' c:/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x884):dpmiexcp.c: undefined reference to `_stklen' c:/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x88a):dpmiexcp.c: undefined reference to `__djgpp_stack_limit' c:/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x8a8):dpmiexcp.c: undefined reference to `__djgpp_stack_limit' c:/djgpp/lib/libc.a(dpmiexcp.o)(.text+0xe82):dpmiexcp.c: undefined reference to `__djgpp_base_address' c:/djgpp/lib/libc.a(crt1.o)(.text+0xd0):crt1.c: undefined reference to `_stubinfo' c:/djgpp/lib/libc.a(crt1.o)(.text+0x157):crt1.c: undefined reference to `_stubinfo' c:/djgpp/lib/libc.a(crt1.o)(.text+0x18a):crt1.c: undefined reference to `_stubinfo' c:/djgpp/lib/libc.a(crt1.o)(.text+0x308):crt1.c: undefined reference to `_stubinfo' c:/djgpp/lib/libc.a(crt1.o)(.text+0x420):crt1.c: undefined reference to `_crt0_init_mcount' c:/djgpp/lib/libc.a(c1args.o)(.text+0x74a):c1args.c: undefined reference to `_stubinfo' c:/djgpp/lib/libc.a(c1args.o)(.text+0x801):c1args.c: undefined reference to `_stubinfo' c:/djgpp/lib/libc.a(c1args.o)(.text+0x859):c1args.c: undefined reference to `_stubinfo' c:/djgpp/lib/libc.a(c1args.o)(.text+0x90c):c1args.c: undefined reference to `_stubinfo' C:/DJGPP/RSXNTDJ/lib/mt/libemx.a(sbrk.o)(.text+0x15):fake: undefined reference to `_errno' However, it does compile and run if I use the -Zcrtdll option as well. It seems my installation is messed up somehow. I also had to add the /rsxntdj/lib/st directory to my LIBRARY_PATH in DJGPP.ENV to get it to work at all. I am using version 2.8.1 of DJGPP. Does anybody have any idea what I have to change? Thanks in advance. Ron