Mail Archives: djgpp/2000/11/19/01:20:59
On Thu, 16 Nov 2000, sam wrote:
> I looked but can't find find any functions that correspond to the WIN31
> functions below.
> Is RSXNTDJ trying to mimi UNIX more strictly than DJGPP, hence not
> allowing these free file
> system roaming functions?
>
> 23:37:20.04
> D:\rsxntdj\sample\myc\LOTTO>make
> gccw32 -o lotto.exe lotto.o
> lotto.o(.text+0xc9e):lotto.c: undefined reference to `_getdcwd'
> lotto.o(.text+0xd09):lotto.c: undefined reference to `DlgDirSelect'
> lotto.o(.text+0xd63):lotto.c: undefined reference to `_getdcwd'
> lotto.o(.text+0xde2):lotto.c: undefined reference to `DlgDirSelect'
> lotto.o(.text+0xe1e):lotto.c: undefined reference to `DlgDirSelect'
> lotto.o(.text+0xe73):lotto.c: undefined reference to `fnsplit'
> lotto.o(.text+0xf47):lotto.c: undefined reference to `_getdcwd'
> make.exe: *** [lotto.exe] Error 1
Are you sure you are using the right linker? AFAIK, RSXNTDJ's linker
does not complain about missing functions, because they might be in some
DLL, accessible at run time.
If you add -v to the link command line, you will see what linker does GCC
invoke, and that might give you some clues.
- Raw text -