CVS patch breaks zlib

Thomas Gleixner tglx at linutronix.de
Thu Apr 17 15:23:17 EDT 2003


On Thursday 17 April 2003 19:08, crowe at psilongbeach.com wrote:
> Hi I'm new to the list
> I'm designing with the Altera EPXA10.
> I got the CVS version of mtd and applied the patch
> patchin.sh -c -j /home/crowe/aacSpva/linux-2.4.17_zlibBusted
>
> Here is a snippit of what happened
> make modules
> ....
> make[1]: Entering directory
> `/home/crowe/aacSpva/linux-2.4.17_zlibBusted/lib' arm_920t_le-gcc
> -D__KERNEL__ -I/home/crowe/aacSpva/linux-2.4.17_zlibBusted/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2  -fno-strict-aliasing -fno-common
> -fno-common -pipe -g -mapcs-32 -march=armv4 -mtune=arm9tdmi
> -mshort-load-bytes -msoft-float -DMODULE   -DEXPORT_SYMTAB -c zlib.c
> zlib.c:72: `deflate' undeclared here (not in a function)
> zlib.c:72: initializer element is not constant
There is no file zlib.c in lib. At least it should be not there. Did you apply 
any other patches , which modify lib directory ?

MTD patchin.sh is know to work on vanilla kernels 2.4.17-2.4.20, ARM kernels 
2.4.17-rmkx - 2.4.19-rmkx and PPC kernels 2.4.19 and 2.4.20.

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de




More information about the linux-mtd mailing list