Eric T
Joined: 22 Jun 2005 Posts: 8 Location: Selby, North Yorks, UK
|
Posted: Tue Jun 28, 2005 5:28 am Post subject: Rebuilding DLXGen -- Undefined ref to 'compress' |
|
|
Rebuilding DLXGen -- Undefined ref to 'compress'
------------------------------------------------
Hi,
I'm trying to rebuild DLXgen (as the exe doesn't come with the binary distribution of Seal
2), using the following bat file.
cd C:\makedlx
redir -o ~gcc.log -eo gcc -Ic:\makedlx -c makedlx.c
redir -o ~linker.log -eo gcc -Ic:\makedlx -o makedlx.exe makedlx.o -lalleg
I've renamed dlxgen.c makedlx.c;shifted dlxgen.c and all the headers to C:/makedlx/, and made libz.a available in the djgpp /lib.
~gcc.log reports no errors and successfully generates makedlx.o.
But ~linker.og reports:
makedlx.o:makedlx.c .text+0x131b): undefined reference to `compress'
collect2: ld returned 1 exit status.
Any ideas, folks?
Many thanks in advance,
Eric. _________________ http://www.anchor92.freeserve.co.uk |
|