2.5.50 -- arch/ppc/syslib/i8259.c:188: In function `i8259_init': `SA_INTERRUPT' undeclared (first use in this function)
gcc -Wp,-MD,arch/ppc/syslib/.i8259.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.5.50/arch/ppc -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix
include -DKBUILD_BASENAME=i8259 -DKBUILD_MODNAME=i8259 -c -oarch/ppc/syslib/i8259.o arch/ppc/syslib/i8259.c arch/ppc/syslib/i8259.c: In function `i8259_init':arch/ppc/syslib/i8259.c:188: `SA_INTERRUPT' undeclared (first use in this function)arch/ppc/syslib/i8259.c:188: (Each undeclared identifier is reported only oncearch/ppc/syslib/i8259.c:188: for each function it appears in.) make[1]: *** [arch/ppc/syslib/i8259.o] Error 1
make: *** [arch/ppc/syslib] Error 2
CONFIG_MMU=yCONFIG_SWAP=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_HAVE_DEC_LOCK=y
#
# Code maturity level options
#CONFIG_EXPERIMENTAL=y
#
# General setup
#CONFIG_NET=yCONFIG_SYSVIPC=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_SYSCTL=y
#
# Loadable module support
#
# CONFIG_MODULES is not set
#
# Platform support
#CONFIG_PPC=yCONFIG_PPC32=y
CONFIG_6xx=yCONFIG_GENERIC_ISA_DMA=yCONFIG_ALL_PPC=yCONFIG_PPC_STD_MMU=yCONFIG_SERIAL_CONSOLE=yCONFIG_ALL_PPC_CH=yCONFIG_ALTIVEC=yCONFIG_TAU=yCONFIG_TAU_AVERAGE=yCONFIG_PM=y
#
# General setup
#CONFIG_HIGHMEM=yCONFIG_PCI=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_ELF=yCONFIG_KERNEL_ELF=yCONFIG_BINFMT_MISC=yCONFIG_PCI_NAMES=yCONFIG_HOTPLUG=y
#
# Input device support
#CONFIG_INPUT=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_EVDEV=y
#
# Input I/O drivers
#CONFIG_SOUND_GAMEPORT=yCONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=yCONFIG_SERIO_CT82C710=y
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=yCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=y
#
# Macintosh device drivers
#CONFIG_ADB_CUDA=yCONFIG_ADB_PMU=yCONFIG_PMAC_PBOOK=yCONFIG_PMAC_APM_EMU=yCONFIG_PMAC_BACKLIGHT=yCONFIG_MAC_FLOPPY=yCONFIG_MAC_SERIAL=yCONFIG_ADB=yCONFIG_ADB_MACIO=yCONFIG_INPUT_ADBHID=yCONFIG_MAC_EMUMOUSEBTN=y
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_8250_CS=yCONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_MANY_PORTS=yCONFIG_SERIAL_8250_DETECT_IRQ=y
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256CONFIG_PRINTER=y
#
# I2C support
#CONFIG_I2C=yCONFIG_I2C_ALGOBIT=yCONFIG_I2C_ALGOPCF=yCONFIG_I2C_ELEKTOR=yCONFIG_I2C_CHARDEV=yCONFIG_I2C_PROC=y
#
# PCMCIA character devices
#CONFIG_SYNCLINK_CS=yCONFIG_RAW_DRIVER=y
#
# Generic devices
#CONFIG_SND_DUMMY=yCONFIG_SND_VIRMIDI=yCONFIG_SND_MTPAV=yCONFIG_SND_SERIAL_U16550=yCONFIG_SND_MPU401=y
#
# ALSA PowerMac devices
#CONFIG_SND_POWERMAC=y
#
# USB Human Interface Devices (HID)
#CONFIG_USB_HID=yCONFIG_USB_HIDINPUT=yCONFIG_USB_HIDDEV=y
#
# USB Serial Converter support
#CONFIG_USB_SERIAL=yCONFIG_USB_SERIAL_DEBUG=yCONFIG_USB_SERIAL_CONSOLE=yCONFIG_USB_SERIAL_GENERIC=yCONFIG_USB_SERIAL_BELKIN=yCONFIG_USB_SERIAL_WHITEHEAT=yCONFIG_USB_SERIAL_DIGI_ACCELEPORT=yCONFIG_USB_SERIAL_EMPEG=yCONFIG_USB_SERIAL_FTDI_SIO=yCONFIG_USB_SERIAL_VISOR=yCONFIG_USB_SERIAL_IPAQ=yCONFIG_USB_SERIAL_IR=yCONFIG_USB_SERIAL_EDGEPORT=yCONFIG_USB_SERIAL_EDGEPORT_TI=yCONFIG_USB_SERIAL_KEYSPAN_PDA=yCONFIG_USB_SERIAL_KLSI=yCONFIG_USB_SERIAL_MCT_U232=yCONFIG_USB_SERIAL_PL2303=yCONFIG_USB_SERIAL_SAFE=yCONFIG_USB_SERIAL_SAFE_PADDED=yCONFIG_USB_SERIAL_CYBERJACK=yCONFIG_USB_SERIAL_XIRCOM=yCONFIG_USB_SERIAL_OMNINET=yCONFIG_USB_EZUSB=y
Quoted 6 lines · Miles Lane
gcc -Wp,-MD,arch/ppc/syslib/.i8259.o.d -D__KERNEL__ -Iinclude -Wall
(quoted diff) +0
-3-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.5.50/arch/ppc -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefixinclude -DKBUILD_BASENAME=i8259 -DKBUILD_MODNAME=i8259 -c -o
arch/ppc/syslib/i8259.oarch/ppc/syslib/i8259.c
Quoted 8 lines
arch/ppc/syslib/i8259.c: In function `i8259_init':arch/ppc/syslib/i8259.c:188: `SA_INTERRUPT' undeclared (first use in this function)arch/ppc/syslib/i8259.c:188: (Each undeclared identifier is reported only oncearch/ppc/syslib/i8259.c:188: for each function it appears in.) make[1]: *** [arch/ppc/syslib/i8259.o] Error 1
make: *** [arch/ppc/syslib] Error 2
http://penguinppc.org/dev/kernel.shtml
I _believe_ this is fixed in the linuxppc-2.5 tree already.
Signature · 2 lines
Tom Rini (TR1265) http://gate.crashing.org/~trini/