Skip to contentSkip to conversation

Error compiling 40x ppc kernels (walnut)

DISCUSSION Nico Schottelius 2 participants 3 messages Dec 16, 2004

lore
Share & tools
lore
#0 lore raw

Good morning!

I am trying to build a 40x / Walnut Linux (only for testing), but the compile process always breaks:

1. walnut build with ibm emac network card enabled
2. walnut build without ibm emac network card enabled

I am currently using

make ARCH=ppc CROSS_COMPILE=powerpc-linux-uclibc-

on my x86 machine as my ibook is currently at home.

Do you know why those errors occur and can you help me fix them?

The config and the two error messages can be found at
http://schotteli.us/~nico/ppc/walnut/.

Nico

P.S.:
I'll try to work through the Oak problem the next weeks, if I have some free time (Gerhard Jaeger sent me some tips howto fix it).

Signature · 3 lines
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org
#1 lore raw

Hi,

Quoted 6 lines · Nico Schottelius

I am trying to build a 40x / Walnut Linux (only for testing), but the compile process always breaks:

1. walnut build with ibm emac network card enabled
2. walnut build without ibm emac network card enabled

Quoted 7 lines

I am currently using

make ARCH=3Dppc CROSS_COMPILE=3Dpowerpc-linux-uclibc-

on my x86 machine as my ibook is currently at home.
Do you know why those errors occur and can you help me fix them?

from what I see from your config file, you have enabled a lot of stuff, I'm pretty sure which won't build correctly for the walnut. I.e. the whole framebuffer stuff is not needed - switch it off. (This is also your problem here!)
I suggest to go through all of your configuration and disable all of the stuff, which you do not really need:
- frame-buffer
- usb
- all of the crypto stuff
- IPv6
=2E
=2E
=2E

Set at least only processor, platform and serial console support on (and of course correctly) then try again. Never start with a full=20 or overloaded config set ;)

Ciao,
Gerhard

--=20
Gerhard Jaeger [email protected]
SYSGO AG Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.osek.de | www.imerva.com

#2 lore raw

Hello!

Gerhard Jaeger [Thu, Dec 16, 2004 at 01:18:37PM +0100]:

Quoted 3 lines

from what I see from your config file, you have enabled a lot of stuff, I'm pretty sure which won't build correctly for the walnut. I.e. the whole framebuffer stuff is not needed - switch it off.

You got 100 points! After disabling mostly everything, it compiled.

Although I'll need to enable trident framebuffer later, as the thinclient should be useable by end-users.

For now I'll concentrate on debugging the oak version.

Have a nice day,

Nico

Signature · 3 lines
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org