[ale] Can't compile RedHat's kernel.

Michael D. Hirsch mhirsch at nubridges.com
Mon Jan 6 13:54:31 EST 2003


On Monday 06 January 2003 01:33 pm, Chris Ricker wrote:
> On Mon, 6 Jan 2003, Michael D. Hirsch wrote:
> > Anyone compiled a RedHat kernel, lately.  I remember there was a time
> > when you needed a special compiler, but I thought those days were
> > over.
> >
> > I'm trying to add the usbdnet to my kernel, but when that didn't work
> > I've gone back to the RedHat sources and did make dep && make bzImage
> > && make modules.  In the middle of make bzImage I get crap like:
>
> you're missing a make clean. do that first, before the make dep, etc

Well, that just introduced new errors.  I should say that before my error 
was actually in make modules, not make bzImage as I stated.

When I did a make clean I got these errors with the redhat i686 config 
file.  I still wondering if I'm missing some devel package that would make 
all this go away:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
-nostdinc -I /usr/lib/gcc-lib/i386-redhat-linux/3.2/include 
-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:1068: structure has no member named `apic_timer_irqs'
apic.c:1074: warning: implicit declaration of function `ack_APIC_irq'
apic.c: In function `APIC_init_uniprocessor':
apic.c:1167: `nmi_watchdog' undeclared (first use in this function)
apic.c:1167: `NMI_LOCAL_APIC' undeclared (first use in this function)
apic.c:1168: warning: implicit declaration of function `check_nmi_watchdog'
make[1]: *** [apic.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-14/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list