* CVS patch breaks zlib
@ 2003-04-17 17:08 crowe
2003-04-17 19:23 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: crowe @ 2003-04-17 17:08 UTC (permalink / raw)
To: linux-mtd
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
I did a
make clean
make dep
make bzImage then died with make modules (mtd stuff is configured for modules)
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
...
a whole bunch of errors and warnings
...
ending with
zlib.c:5374: `adler32' used prior to declaration
zlib.c:5374: warning: `adler32' was previously implicitly declared to return `int'
make[1]: *** [zlib.o] Error 1
make[1]: Leaving directory `/home/crowe/aacSpva/linux-2.4.17_zlibBusted/lib'
make: *** [_mod_lib] Error 2
Any Ideas on what I did wrong?
Thanks
Mike
--
Mike Crowe
crowe@psilongbeach.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CVS patch breaks zlib
2003-04-17 17:08 CVS patch breaks zlib crowe
@ 2003-04-17 19:23 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2003-04-17 19:23 UTC (permalink / raw)
To: crowe, linux-mtd
On Thursday 17 April 2003 19:08, crowe@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@linutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-17 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-17 17:08 CVS patch breaks zlib crowe
2003-04-17 19:23 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox