Re: Linux 2.4.25 from ELDK 3.1 won't compile
From: Frank <hidden>
Date: 2005-05-02 14:18:54
--- Peter Asemann <peter.asemann@web.de> wrote:I still didn't manage to compile a kernel. Though I unselected as much features as I could, the compiler still isn't happy. Any ideas? Peter Asemann make[1]: Entering directory
`/opt/asemann/eldk/ppc_8xx/usr/src/linux-2.4.25/arch/ppc/kernel'
(...) ppc_8xx-gcc -D__KERNEL__ -I/opt/asemann/eldk/ppc_8xx/usr/src/linux-2.4.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/opt/asemann/eldk/ppc_8xx/usr/src/linux-2.4.25/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -I /opt/asemann/eldk/usr/lib/gcc-lib/ppc-linux/3.3.3/include -DKBUILD_BASENAME=m8xx_setup -c -o m8xx_setup.o m8xx_setup.c m8xx_setup.c:64: error: `bd_t' undeclared here (not in a function) m8xx_setup.c: In function `m8xx_calibrate_decr': m8xx_setup.c:192: error: `bd_t' undeclared (first use in this function) m8xx_setup.c:192: error: (Each undeclared identifier is reported only once m8xx_setup.c:192: error: for each function it appears in.) m8xx_setup.c:192: error: `binfo' undeclared (first use in this function) m8xx_setup.c:192: error: parse error before ')' token m8xx_setup.c:196: error: `IMAP_ADDR' undeclared (first use in
You have to define IMAP_ADDR in your platform header file. Take a look at arch/ppc/platforms/tqm8xx.h __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com