Re: Kernel-compilation error no.2
On Sat, May 10, 1997 at 11:40:55AM -0400, Rick Jones wrote: On Sat, 10 May 1997, Johann Spies wrote: defxx.o(.text+0x15a): undefined reference to `pcibios_present' defxx.o(.text+0x188): undefined reference to `pcibios_find_device' I'm not a developer, but it may be that you have PCI and have set some PCI options that require others that aren't set. So when it tries to gain the needed info for one feature it can't get the info because the needed feature isn't in the include path. You used to get problems like these if you turned off PCI, but compiled in a driver that used PCI, like some of the network cards. (I'm recalling this from the 1.2.x days.) Usually this happens when you compile in all the network drivers, rather than just the ones you need. It doesn't really hurt to have PCI enabled when you don't have a PCI machine, anyway. Hamish -- Hamish Moffatt, StudIEAust[EMAIL PROTECTED] Student, computer science computer systems engineering.3rd year, RMIT. http://yallara.cs.rmit.edu.au/~moffatt (PGP key here) CPOM: [ ] 42% -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Kernel-compilation error no.2
After my previous message I changed the configuration for the kernel slightly (I cannot remember what I changed) and the compilation process again aborted. Here is the last few lines of output: 0make[2]: Leaving directory `/usr/src/kernel-source-2.0.30/arch/i386/math-emu' make[1]: Leaving directory `/usr/src/kernel-source-2.0.30/arch/i386/math-emu' ld -m elf_i386 -Ttext 0x10 -e stext arch/i386/kernel/head.o init/main.o init/version.o \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \ fs/filesystems.a \ drivers/block/block.a drivers/char/char.a drivers/net/net.a arch/i386/math-emu/math.a \ /usr/src/kernel-source-2.0.30/arch/i386/lib/lib.a /usr/src/kernel-source-2.0.30/lib/lib.a /usr/src/kernel-source-2.0.30/arch/i386/lib/lib.a -o vmlinux drivers/net/net.a(defxx.o): In function `dfx_probe': defxx.o(.text+0x15a): undefined reference to `pcibios_present' defxx.o(.text+0x188): undefined reference to `pcibios_find_device' defxx.o(.text+0x1c2): undefined reference to `pcibios_read_config_word' defxx.o(.text+0x20e): undefined reference to `pcibios_write_config_word' defxx.o(.text+0x226): undefined reference to `pcibios_read_config_word' drivers/net/net.a(defxx.o): In function `dfx_bus_init': defxx.o(.text+0x5c8): undefined reference to `pcibios_read_config_byte' defxx.o(.text+0x5e7): undefined reference to `pcibios_read_config_byte' defxx.o(.text+0x612): undefined reference to `pcibios_write_config_byte' make: *** [vmlinux] Error 1 I have gcc version 2.7.2.1. Can somebody help me please. This is my first try and I realy do not know what to do. It would be a lovely day when things start working as they should! Johann Johann Spies [EMAIL PROTECTED] Windsorlaan 19 Pietermaritzburg 3201 Suid Afrika (South Africa) Tel. Nr. 0331-46-1310 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Kernel-compilation error no.2
On Sat, 10 May 1997, Johann Spies wrote: defxx.o(.text+0x15a): undefined reference to `pcibios_present' defxx.o(.text+0x188): undefined reference to `pcibios_find_device' defxx.o(.text+0x1c2): undefined reference to `pcibios_read_config_word' defxx.o(.text+0x20e): undefined reference to `pcibios_write_config_word' defxx.o(.text+0x226): undefined reference to `pcibios_read_config_word' drivers/net/net.a(defxx.o): In function `dfx_bus_init': defxx.o(.text+0x5c8): undefined reference to `pcibios_read_config_byte' defxx.o(.text+0x5e7): undefined reference to `pcibios_read_config_byte' defxx.o(.text+0x612): undefined reference to `pcibios_write_config_byte' make: *** [vmlinux] Error 1 I'm not a developer, but it may be that you have PCI and have set some PCI options that require others that aren't set. So when it tries to gain the needed info for one feature it can't get the info because the needed feature isn't in the include path. Just a guess. Hope it helps. --Rick [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Kernel-compilation error no.2
On Sat, 10 May 1997, Rick Jones wrote: On Sat, 10 May 1997, Johann Spies wrote: defxx.o(.text+0x15a): undefined reference to `pcibios_present' defxx.o(.text+0x188): undefined reference to `pcibios_find_device' defxx.o(.text+0x1c2): undefined reference to `pcibios_read_config_word' defxx.o(.text+0x20e): undefined reference to `pcibios_write_config_word' defxx.o(.text+0x226): undefined reference to `pcibios_read_config_word' drivers/net/net.a(defxx.o): In function `dfx_bus_init': defxx.o(.text+0x5c8): undefined reference to `pcibios_read_config_byte' defxx.o(.text+0x5e7): undefined reference to `pcibios_read_config_byte' defxx.o(.text+0x612): undefined reference to `pcibios_write_config_byte' make: *** [vmlinux] Error 1 I'm not a developer, but it may be that you have PCI and have set some PCI options that require others that aren't set. So when it tries to gain the needed info for one feature it can't get the info because the needed feature isn't in the include path. The problem is that I have no PCI and did not select PCI in the configuration process (make xconfig). I am now downloading the kernel-source (2.0.29) as somebody suggested that 2.0.30 might be unstable. Thanks for your response. Johann. Johann Spies [EMAIL PROTECTED] Windsorlaan 19 Pietermaritzburg 3201 Suid Afrika (South Africa) Tel. Nr. 0331-46-1310 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Kernel-compilation error no.2
On Sat, 10 May 1997, Johann Spies wrote: The problem is that I have no PCI and did not select PCI in the configuration process (make xconfig). I thought that at first but didn't think that compiling the kernel without PCI enabled it would figure it out for it's self. If so how could you compile a kernel for another machine? I am now downloading the kernel-source (2.0.29) as somebody suggested that 2.0.30 might be unstable. From what I'm hearing, the only bug in this kernel involves modules. There was a previous posting on editing the modules file to install them correctly for 2.0.30. Other than that it actually fixes some problems with 2.0.29. IP masq for example. Maybe adds feature would be a better description. --Rick [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .