www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/12/10:51:55

From: Mavi Gozler <MaviGozler AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: RSXNTDJ project building difficulties
Date: Tue, 12 Oct 1999 09:25:43 GMT
Organization: Deja.com - Before you buy.
Lines: 90
Message-ID: <7tuuqf$dqs$1@nnrp1.deja.com>
NNTP-Posting-Host: 195.112.128.222
X-Article-Creation-Date: Tue Oct 12 09:25:43 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt)
X-Http-Proxy: 1.1 proxy02.ada.net.tr:80 (Squid/2.2.STABLE5), 1.0 x38.deja.com:80 (Squid/1.1.22) for client 195.112.142.189, 195.112.128.222
X-MyDeja-Info: XMYDJUIDbuyuk_yarak
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


A "base" makefile taken from the /djgpp/rsxntdj/sample/console/argenv
because a console application is to be built has been edited heavily to
produce this console app.

Sources are distributed in four directories.  The sources within dir1,
dir2, dir3 were used to build (in DJGPP 32-bit DOS) libraries, call
them libdir1.a, libdir2.a, and libdir3.a.

The directory dir4 contains the sources I want to build the Win32
console app.

The makefile has been played with sufficiently to get all of the
sources in dir4 built, and now the linking is taking over.
Unfortunately, I am seeing a large number of undefined references to
what appears to be things that should be found within the standard
library files themselves.  Below is the tail end of messages that I
could recover from the DOS screen:

---begin tailing output of make---
/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x16a):dpmiexcp.c: undefined
reference to `_stklen'
/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x173):dpmiexcp.c: undefined
reference to `__djgpp_selector_limit'
/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x5f7):dpmiexcp.c: undefined
reference to `__djgpp_selector_limit'
/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x884):dpmiexcp.c: undefined
reference to `_stklen'
/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x88a):dpmiexcp.c: undefined
reference to `__djgpp_stack_limit'
/djgpp/lib/libc.a(dpmiexcp.o)(.text+0x8a8):dpmiexcp.c: undefined
reference to `__djgpp_stack_limit'
/djgpp/lib/libc.a(dpmiexcp.o)(.text+0xe82):dpmiexcp.c: undefined
reference to `__djgpp_base_address'
/djgpp/lib/libc.a(crt1.o)(.text+0xd0):crt1.c: undefined reference to
`_stubinfo'
/djgpp/lib/libc.a(crt1.o)(.text+0x157):crt1.c: undefined reference to
`_stubinfo'
/djgpp/lib/libc.a(crt1.o)(.text+0x18a):crt1.c: undefined reference to
`_stubinfo'
/djgpp/lib/libc.a(crt1.o)(.text+0x308):crt1.c: undefined reference to
`_stubinfo'
/djgpp/lib/libc.a(crt1.o)(.text+0x420):crt1.c: undefined reference to
`_crt0_init_mcount'
/djgpp/lib/libc.a(c1args.o)(.text+0x74a):c1args.c: undefined reference
to `_stubinfo'
/djgpp/lib/libc.a(c1args.o)(.text+0x801):c1args.c: undefined reference
to `_stubinfo'
/djgpp/lib/libc.a(c1args.o)(.text+0x859):c1args.c: undefined reference
to `_stubinfo'
/djgpp/lib/libc.a(c1args.o)(.text+0x90c):c1args.c: undefined reference
to `_stubinfo'
/djgpp/lib/libc.a(_main.o)(.text+0x1a):_main.c: undefined reference to
`djgpp_last_ctor'
/djgpp/lib/libc.a(_main.o)(.text+0x1f):_main.c: undefined reference to
`djgpp_first_ctor'
/djgpp/lib/libc.a(_main.o)(.text+0x2f):_main.c: undefined reference to
`djgpp_first_ctor'
make.exe: *** [myprog.exe] Error 1
---end tailing output of make---

I am placing below the output of running 'set' at the DOS command line
here:
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
DJGPP=c:\djgpp\djgpp.env
RSXNTDJ=c:\djgpp\rsxntdj
MSSDK=d:\MSSDK
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DJGPP\BIN;C:\DJGPP\RSXNTDJ\BIN
C_INCLUDE_PATH=c:\djgpp\rsxntdj\INCLUDE\MSSDK;d:\MSSDK\INCLUDE;c:\djgpp\
rsxntdj\INCLUDE\WIN32;c:\djgpp\rsxntdj\INCLUDE
DB_HOME=./dbases
DB_CONFIG=./dbconfig
TEMP=C:\temp
TMP=c:\temp
LFN=Y
windir=C:\WINDOWS
LIBRARY_PATH=c:\djgpp\rsxntdj\lib;c:\djgpp\lib
CMDLINE=make

The question is:  how can the configuration be adjusted or deal with
the undefined references?  The makefile is rather big to post, but it
can be posted it if there aren't some things that can be done to check
the system in general or the problem is not evident here.


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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