From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from imf23aec.mail.bellsouth.net ([205.152.59.71]) by pentafluge.infradead.org with esmtp (Exim 4.14 #3 (Red Hat Linux)) id 19iiDp-0000qF-IS for ; Fri, 01 Aug 2003 23:18:01 +0100 Received: from luna.siliconmotorsports.com ([68.154.56.59]) by imf23aec.mail.bellsouth.netSMTP <20030801221726.CMQV8750.imf23aec.mail.bellsouth.net@luna.siliconmotorsports.com> for ; Fri, 1 Aug 2003 18:17:26 -0400 From: "Tim Drury" To: Date: Fri, 1 Aug 2003 18:17:10 -0400 Message-ID: <000701c3587a$aa6e5e00$f546a8c0@SIMOTORSPORTS> MIME-Version: 1.0 In-Reply-To: <000601c35879$6af19450$f546a8c0@SIMOTORSPORTS> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: RE: compiling latest CVS List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , oops - that path to 'zlib-1.4.1' should read 'zlib-1.1.4' - hopefully you got the point. -tim > -----Original Message----- > From: linux-mtd-bounces@lists.infradead.org > [mailto:linux-mtd-bounces@lists.infradead.org] On Behalf Of Tim Drury > Sent: Friday, August 01, 2003 6:08 PM > To: linux-mtd@lists.infradead.org > Subject: compiling latest CVS > > > > I got the latest CVS to build, but with a few issues. > > patches/patchin.sh ran successfully. Upon building my kernel > modules I got an error in nand.c that 'i' was undeclared. So > in mtd/drivers/nand/nand.c, line 936 add 'i' to the int declaration. > > Now cross-compiling the kernel and modules worked fine. > > I sym-linked mtd/util into the kernel source base as > instructed in the README. Building failed complaining about > something in crc32.h and I realized that it wasn't finding > linux/types.h. I needed to include the linux kernel include > directory to get past this. Then it failed trying to find > zlib.h. Added that then it failed to find libz.so. > > The above can all be done without modifying files: > > make CROSS=i386-linux- CFLAGS='-I/path/to/kernel/linux-2.4.21/include > -I/path/to/zlib-1.4.1' \ > LDFLAGS=-L/path/to/zlib/lib > > and everything cross-compiled to my target system. Was > pointing to the kernel/include directory bad? > > -tim > > > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/li> nux-mtd/ >