If within a compile gcc tells you, that functions are not known, it
means, that headers are missing. Try to install the kernel headers.

Either you've them anyway or you install the package
glibc-kernheaders.xxx.rpm.

This should solve the problem.

Good luck!
Arthur

On Wed, 2003-02-12 at 17:02, Mike Wooding wrote:
> 
> >  I tried to make a new kernel on my newly
> >  installed RH 8.0.
> > 
> >  cd /usr/src/linux-2.4
> >  make xconfig
> >  make dep
> >  make bzImage
> > 
> >  ==== I get compile errors ======
> >
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.18-14/arch/i386/kernel'
> > 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
> > 
> > ============================================
> > 
> >  My .config file is the same as (I copied
> > I tried copying /boot/config-2.4.18-14 to
> > /usr/src/linux-2.4/.config (presumably what
> > the install process used to build the
> > original kernel?) to rule out bad config.
> 
>  ???
> 
> 
> 
> =====
> There are only 10 kinds of people in the world.
>  Those who understand binary and those who don't.
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to