Skip to contentSkip to conversation

Problem for compiling linux-2.2.5-embedded

DISCUSSION s�bastien tad�oni 3 participants 3 messages Sep 14, 1999 – Sep 15, 1999

lore
Share & tools
lore
#0 lore raw

Hi All,

I've some problems with the cross-compilation of the 2.2.5-embedded kernel for MPC860 (configure for a MBX card).

I followed the www.members.home.com/mmporter/cross.html instructions for building my own environment and when I want to create the zImage I have this current errors:

ppc_ksyms.c:77:'isa_io_base' undeclared here (not in a fonction)

ppc_ksyms.c:77:'initializer element for '--ksymtab_isa_io_base.value' is not constant

In the ppc_ksyms.c I see EXPORT_SYMBOL(isa_io_base) and I don't no what it minds.

For installing the binutils and the egcs-1.1.2 compiler I had to change $PATH and add the /usr/local/bin address.
Was it wrong?

I will appreciate any suggestions and help on this subject.

Have a good day.

Sébastien.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 10 lines · sébastien tadéoni

I've some problems with the cross-compilation of the 2.2.5-embedded kernel for MPC860 (configure for a MBX card).

ppc_ksyms.c:77:'isa_io_base' undeclared here (not in a fonction)

ppc_ksyms.c:77:'initializer element for '--ksymtab_isa_io_base.value' is not constant

In the ppc_ksyms.c I see EXPORT_SYMBOL(isa_io_base) and I don't no what it minds.

First join the new linuxppc-embedded mailing list. This is a ppc-embedded problem and there is no need to hassle the ppc-users or ppc-developers.

I had these problems too. It is definately a configuration problem. I am using the latest embedded source mpc8xx-2.3.10.tgz but had the same problems with embedded-2.2.5. Send your .config file.

Things you should NOT have included are :
- serial support and serial-console support. I know this sounds wrong but that's the way it is.
- virtual terminals
- make sure that no network cards are selected.

Brendan Simon.

PS. I think there is a sample configuration file in embedded-notes.txt or mbx-notes.txt on the ftp site.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 3 lines · Brendan Simon

Things you should NOT have included are :
- serial support and serial-console support. I know this sounds wrong but that's the way it is.

It's that way because selecting any 8xx automatically configures a serial console. You can't get a serial console without selecting PC-Style uarts. You can't select PC-Style uarts on the 8xx because they assume they are the only serial ports on a system and that is where a console belongs. This prevents using the 8xx CPM serial ports.

We should change this to allow both PC uarts and the CPM uarts to co-exist. The only board I know of that mixes these is the MBX, so it is low on my list of things to do.

Quoted 2 lines

PS. I think there is a sample configuration file in embedded-notes.txt or mbx-notes.txt on the ftp site.

That is pretty out of date. I need to create a real configuration file that is kept with the kernel sources.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/