LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-06-2004, 10:55 PM   #1
mojoman
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Unhappy 2.4.9-e.38smp Compile error: need help please


Compiling on RH2.1. Updated:I have different indications. Backed down gcc glibc suite to prior versions. Kernel 2.4.9-e.38smp. I get to the point of doing the "make bzImage" and It blows chow and errors out. Here is the output:


------------------------------------------------------------------
root@mojomanshost# make bzImage.........

make[1]: Entering directory `/usr/src/linux-2.4.9-e.38/arch/i386/kernel'
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.9-e.38/include -traditional -c vunique.S -o vunique.o rm -f kernel.o ld -m elf_i386 -r -o kernel.o process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o pci-dma.o i386_ksyms.o i387.o bluesmoke.o dmi_scan.o bootflag.o vsysdata.o vunique.o dynamic_syscall.o pci-i386.o pci-pc.o pci-irq.o mtrr.o apm.o smp.o smpboot.o trampoline.o mpparse.o apic.o nmi.o io_apic.o acpitable.o mxt.o
make[1]: Leaving directory `/usr/src/linux-2.4.9-e.38/arch/i386/kernel'
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.9-e.38/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -march=i686 " -C arch/i386/mm
make[1]: Entering directory `/usr/src/linux-2.4.9-e.38/arch/i386/mm'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.9-e.38/arch/i386/mm'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.9-e.38/arch/i386/mm'
make[1]: Leaving directory `/usr/src/linux-2.4.9-e.38/arch/i386/mm'
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.9-e.38/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -march=i686 " -C arch/i386/lib
make[1]: Entering directory `/usr/src/linux-2.4.9-e.38/arch/i386/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.9-e.38/arch/i386/lib'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.9-e.38/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.9-e.38/arch/i386/lib'
gcc -E -C -P -I/usr/src/linux-2.4.9-e.38/include -imacros /usr/src/linux-2.4.9-e.38/include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
make[1]: Entering directory `/usr/src/linux-2.4.9-e.38'
kallsyms pass 1
ld -m elf_i386 -T /usr/src/linux-2.4.9-e.38/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/atm/atm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/md/mddev.o drivers/hotplug/vmlinux-obj.o drivers/sensors/sensor.o net/network.o /usr/src/linux-2.4.9-e.38/arch/i386/lib/lib.a /usr/src/linux-2.4.9-e.38/lib/lib.a /usr/src/linux-2.4.9-e.38/arch/i386/lib/lib.a --end-group -o .tmp_vmlinux1
arch/i386/kernel/kernel.o: In function `restore_all':
arch/i386/kernel/kernel.o(.text+0x1ed3): undefined reference to `__KERNEL_DS'
arch/i386/kernel/kernel.o: In function `nmi':
arch/i386/kernel/kernel.o(.text+0x204b): undefined reference to `__KERNEL_DS'
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.9-e.38'
make: *** [vmlinux] Error 2


------------------------------------------------------------------------------------------

Any help would be great. I can add more info later.
Thanks

Last edited by mojoman; 05-18-2004 at 02:08 PM.
 
Old 05-18-2004, 02:07 PM   #2
mojoman
LQ Newbie
 
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Updated and bump. ANY input please.

Updated and bump. ANY input please.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling z9_87 Linux - Software 4 12-23-2004 05:29 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
sound problem after RH2.6.1 upgrade grayloup Linux - Newbie 2 02-27-2004 05:13 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration