Jivin JL SYNCHRO lays it down ...
>
> Hi,
>
> I try to compile my application with zlib support :
>
> libz.c
> #include
> int main(){zlibVersion();
> return 0;}
> =
>
> with the command :
>
> m68k-elf-gcc -m5307 -msep-data libz.c -L/opt/uClinux-dist/uClibc/
Quoth JL SYNCHRO:
> I try to compile my application with zlib support :
[...]
> m68k-elf-gcc -m5307 -msep-data libz.c -L/opt/uClinux-
> dist/uClibc/ -Wl,-elf2flt -lc -lgcc -lz
[...]
> .elf2flt: In function `zcalloc':
> /opt/uClinux-dist/lib/zlib/zutil.c:306: undefined reference to `malloc'
> .elf2f