Hi,
in the MIPS architecture I get the following error:
gcc -D__KERNEL__ -I/var/src/linux-2.4.20-pre7/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /var/src/linux-2.4.20-pre7/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -mcpu=r4600 -mips2 -Wa,--trap -nostdinc -iwithprefix include -DKBUILD_BASENAME=binfmt_elf -c -o binfmt_elf.o binfmt_elf.c
binfmt_elf.c: In function `load_elf_interp':
binfmt_elf.c:278: `EF_MIPS_ABI2' undeclared (first use in this function)
binfmt_elf.c:278: (Each undeclared identifier is reported only once
binfmt_elf.c:278: for each function it appears in.)
binfmt_elf.c:278: `EF_MIPS_ABI' undeclared (first use in this function)
binfmt_elf.c: In function `load_elf_binary':
binfmt_elf.c:458: `EF_MIPS_ABI2' undeclared (first use in this function)
binfmt_elf.c:458: `EF_MIPS_ABI' undeclared (first use in this function)
binfmt_elf.c: In function `load_elf_library':
binfmt_elf.c:825: `EF_MIPS_ABI2' undeclared (first use in this function)
binfmt_elf.c:825: `EF_MIPS_ABI' undeclared (first use in this function)
make[2]: *** [binfmt_elf.o] Error 1
make[2]: Leaving directory `/var/src/linux-2.4.20-pre7/fs'
Kernel config:
CONFIG_MIPS=y
CONFIG_MIPS32=y
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_KMOD=y
CONFIG_SGI_IP22=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_ARC32=y
CONFIG_ARC_CONSOLE=y
CONFIG_ARC_MEMORY=y
CONFIG_BOARD_SCACHE=y
CONFIG_BOOT_ELF32=y
CONFIG_SWAP_IO_SPACE=y
CONFIG_IRQ_CPU=y
CONFIG_NONCOHERENT_IO=y
CONFIG_NEW_IRQ=y
CONFIG_NEW_TIME_C=y
CONFIG_NONCOHERENT_IO=y
CONFIG_PC_KEYB=y
CONFIG_SGI=y
CONFIG_CPU_R4X00=y
CONFIG_CPU_HAS_LLSC=y
CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_FORWARD_KEYBOARD=y
CONFIG_ARC_CONSOLE=y
CONFIG_NET=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_PC_SUPERIO=y
CONFIG_PARPORT_1284=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_STATS=y
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SGIWD93_SCSI=y
CONFIG_SCSI_PPA=m
CONFIG_SCSI_IMM=m
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_SGISEEQ=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_PRINTER=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_WATCHDOG=y
CONFIG_INDYDOG=y
CONFIG_SGI_NEWPORT_CONSOLE=y
CONFIG_FONT_8x16=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_AUTOFS4_FS=m
CONFIG_EXT3_FS=y
CONFIG_JBD=y
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_EFS_FS=m
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_INTERMEZZO_FS=m
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_TCP=y
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_SMB_FS=m
CONFIG_NCP_FS=m
CONFIG_NCPFS_PACKET_SIGNING=y
CONFIG_NCPFS_IOCTL_LOCKING=y
CONFIG_NCPFS_STRONG=y
CONFIG_NCPFS_NFS_NS=y
CONFIG_NCPFS_OS2_NS=y
CONFIG_NCPFS_SMALLDOS=y
CONFIG_NCPFS_NLS=y
CONFIG_NCPFS_EXTRAS=y
CONFIG_ZISOFS_FS=m
CONFIG_PARTITION_ADVANCED=y
CONFIG_MSDOS_PARTITION=y
CONFIG_SGI_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_UTF8=m
CONFIG_SOUND=m
CONFIG_SGI_SERIAL=y
CONFIG_SGI_DS1286=y
CONFIG_SGI_NEWPORT_GFX=m
CONFIG_MAGIC_SYSRQ=y
CONFIG_ZLIB_INFLATE=m
gcc version 2.95.4 20011002 (Debian prerelease)
Regards,
hjb
--
Pro-Linux - Germany's largest volunteer Linux support site
http://www.pro-linux.de/ Public Key ID 0x3DDBDDEA