Hello I'm having difficulties compiling the Red Hat 2.4.18-5 kernel. I'm using the stock /usr/src/linux-2.4/configs/kernel-2.4.18-i386.config config file installed by the stock kernel-source-2.4.18-5.rpm.
I did the following: # cd /usr/src/ # ll linux-2.4 lrwxrwxrwx 1 root root 14 Jun 20 11:22 linux-2.4 -> linux-2.4.18-5 # cd linux-2.4 # cp /usr/src/linux-2.4/configs/kernel-2.4.18-i386.config .config # make dep # make clean # make bzImage What am I missing or doing wrong, or are there defects in the Red Hat 2.4.18-5 kernel? Here's a log of the error messages: ======================================================================== cc -D__KERNEL__ -I/usr/src/linux-2.4.18-5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i386 -DKBUILD_BASENAME=pci_pc -c -o pci-pc.o pci-pc.c {standard input}: Assembler messages: {standard input}:1042: Warning: indirect lcall without `*' {standard input}:1126: Warning: indirect lcall without `*' {standard input}:1209: Warning: indirect lcall without `*' {standard input}:1283: Warning: indirect lcall without `*' {standard input}:1294: Warning: indirect lcall without `*' {standard input}:1305: Warning: indirect lcall without `*' {standard input}:1380: Warning: indirect lcall without `*' {standard input}:1391: Warning: indirect lcall without `*' {standard input}:1402: Warning: indirect lcall without `*' {standard input}:1864: Warning: indirect lcall without `*' {standard input}:1953: Warning: indirect lcall without `*' cc -D__KERNEL__ -I/usr/src/linux-2.4.18-5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i386 -DKBUILD_BASENAME=pci_irq -c -o pci-irq.o pci-irq.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i386 -DKBUILD_BASENAME=mtrr -DEXPORT_SYMTAB -c mtrr.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i386 -DKBUILD_BASENAME=apm -c -o apm.o apm.c {standard input}: Assembler messages: {standard input}:250: Warning: indirect lcall without `*' {standard input}:344: Warning: indirect lcall without `*' cc -D__KERNEL__ -I/usr/src/linux-2.4.18-5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i386 -DKBUILD_BASENAME=mpparse -c -o mpparse.o mpparse.c mpparse.c: In function `MP_processor_info': mpparse.c:170: warning: implicit declaration of function `Dprintk' cc -D__KERNEL__ -I/usr/src/linux-2.4.18-5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i386 -DKBUILD_BASENAME=apic -c -o apic.o apic.c apic.c: In function `get_maxlvt': apic.c:44: warning: implicit declaration of function `apic_read' apic.c: In function `clear_local_APIC': apic.c:64: warning: implicit declaration of function `apic_write_around' apic.c:94: warning: implicit declaration of function `apic_write' apic.c: In function `verify_local_APIC': apic.c:159: warning: implicit declaration of function `Dprintk' apic.c: In function `sync_Arb_IDs': apic.c:212: warning: implicit declaration of function `apic_wait_icr_idle' apic.c: In function `setup_local_APIC': apic.c:422: `nmi_watchdog' undeclared (first use in this function) apic.c:422: (Each undeclared identifier is reported only once apic.c:422: for each function it appears in.) apic.c:422: `NMI_LOCAL_APIC' undeclared (first use in this function) apic.c:423: warning: implicit declaration of function `setup_apic_nmi_watchdog' apic.c: In function `detect_init_APIC': apic.c:640: `nmi_watchdog' undeclared (first use in this function) apic.c:640: `NMI_NONE' undeclared (first use in this function) apic.c:641: `NMI_LOCAL_APIC' undeclared (first use in this function) apic.c: In function `init_apic_mappings': apic.c:669: `FIX_APIC_BASE' undeclared (first use in this function) apic.c: In function `smp_apic_timer_interrupt': apic.c:1071: warning: implicit declaration of function `ack_APIC_irq' apic.c: In function `APIC_init_uniprocessor': apic.c:1164: `nmi_watchdog' undeclared (first use in this function) apic.c:1164: `NMI_LOCAL_APIC' undeclared (first use in this function) apic.c:1165: warning: implicit declaration of function `check_nmi_watchdog' make[1]: *** [apic.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.18-5/arch/i386/kernel' make: *** [_dir_arch/i386/kernel] Error 2 ======================================================================== Thanks ...John -- John Telford - Owner JohnTelford.com LLC 503-292-6865 - fax:503-292-3094 [EMAIL PROTECTED] - www.johntelford.com _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list