Jivin Gavin Lambert lays it down ...
> [Resending because I got a listserver bounce; apologies if some people
> already received this.]
> 
> Quoth [EMAIL PROTECTED]:
> > I'm compiling uclinux with 20080305-patch on net+arm, and i
> > get the following error from mtd-utils:
> > make[3]: Entering directory `/home/u011514/uClinux-dist/user/mtd-utils
> > gcc -o build/mkfs.jffs2 build/crc32.o build/mkfs.jffs2.o
> > build/compr_zlib.o build/compr_rtime.o -lz
> > /usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld:
> > cannot find -lz
> > collect2: ld returned 1 exit status
> [...]
> > The Makefile wants to run ld with -lz option, but it seems to
> > haven't any.
> > Can anyone help me?
> 
> That looks like it's not even cross-compiling -- it's running the normal gcc
> instead of the cross-compiler and it's not using any of the uclinux dist
> options.

I thought I posted a follow up to this, but just in case.

It build both host and target binaries.

You need zlib installed on your dev machine.  For debian systems
something like:

        sudo apt-get install zlib1g-dev

should do it,

Cheers,
Davidm

-- 
David McCullough,  [EMAIL PROTECTED],   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to