Hi,

When building kernel from the SRPM (stock RH7) the build fails, see
below... This happens both on a clean install of RH7.0 and on a
box upgraded from 6.2->7.0. Am I missing something obvious here (yes I'm
using kgcc) or should I report this to bugzilla?

        - Panu -

---------
...
Installing modules under /var/tmp/kernel-2.2.16-22-root/lib/modules/2.2.16-22smp/net
Installing modules under /var/tmp/kernel-2.2.16-22-root/lib/modules/2.2.16-22smp/misc
+ cc -o rhkmvtag rhkmvtag.c init/version.o
+ ./rhkmvtag
+ rm -f rhkmvtag
+ BuildiBCS yes smp
+ '[' -z smp ']'
+ echo 'BUILDING FOR smp...'
BUILDING FOR smp...
+ make CC=kgcc 'MAKE=make -j 1' -C ibcs/iBCSemul KERNEL=/usr/src/redhat/BUILD/linux 
+SMP=yes all
make: Entering directory `/usr/src/redhat/BUILD/linux/ibcs/iBCSemul'
kgcc -D__KERNEL__=1 -DMODULE -D__NO_VERSION__ -I../include 
-I/usr/src/redhat/BUILD/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -m486 -DSOCKSYS_MAJOR=30  -DEMU_SCO -DEMU_ISC -DEMU_SVR4 
-DEMU_BSD -DEMU_WYSE -DEMU_WYSEMP -DEMU_SPX -DEMU_XTI -DEMU_TLI_OPTMGMT 
-DEMU_BINFMT_AOUT -DEMU_BINFMT_COFF -DEMU_BINFMT_XOUT -DEMU_BINFMT_OLDSCRIPT 
-DIBCS_TRACE -DVERBOSE_ERRORS -DCOFF_TRACE -DELF_TRACE -DXOUT_DEBUG -DMODVERSIONS 
-include /usr/src/redhat/BUILD/linux/include/linux/modversions.h -D__SMP__=1 -c 
emulate.c
/usr/src/redhat/BUILD/linux/include/asm/smp.h: In function `hard_smp_processor_id':
In file included from /usr/src/redhat/BUILD/linux/include/linux/smp.h:11,
                 from /usr/src/redhat/BUILD/linux/include/linux/sched.h:20,
                 from /usr/src/redhat/BUILD/linux/include/asm/uaccess.h:8,
                 from emulate.c:43:
/usr/src/redhat/BUILD/linux/include/asm/smp.h:209: warning: implicit declaration of 
function `GET_APIC_ID'
/usr/src/redhat/BUILD/linux/include/asm/smp.h:209: `APIC_BASE' undeclared (first use 
in this function)
/usr/src/redhat/BUILD/linux/include/asm/smp.h:209: (Each undeclared identifier is 
reported only once
/usr/src/redhat/BUILD/linux/include/asm/smp.h:209: for each function it appears in.)
/usr/src/redhat/BUILD/linux/include/asm/smp.h:209: `APIC_ID' undeclared (first use in 
this function)
../include/ibcs/ibcs.h: At top level:
In file included from emulate.c:61:
../include/ibcs/ibcs.h:47: warning: function declaration isn't a prototype
make: *** [emulate.o] Error 1
make: Leaving directory `/usr/src/redhat/BUILD/linux/ibcs/iBCSemul'
Bad exit status from /var/tmp/rpm-tmp.82498 (%build)
[root@hed042-157 SPECS]# 





_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to