compile time error

root (mccramer@solfire.ludwigsburg.netsurf.de)
Sat, 2 Nov 1996 06:03:13 GMT


Hi folks!

I have tried 2.1.7 to compile and got a compiler error:

make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/arch/i386/lib'
ld -m elf_i386 -Ttext 0xC0100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/scsi/scsi.a drivers/pci/pci.a \
/home/sysdata/v2.1.7/linux/arch/i386/lib/lib.a /home/sysdata/v2.1.7/linux/lib/lib.a /home/sysdata/v2.1.7/linux/arch/i386/lib/lib.a -o vmlinux
arch/i386/mm/mm.o: In function `search_exception_table':
arch/i386/mm/mm.o(.text+0xbff): undefined reference to `__start___ex_table'
arch/i386/mm/mm.o(.text+0xc04): undefined reference to `__stop___ex_table'
arch/i386/mm/mm.o(.text+0xc09): undefined reference to `__start___ex_table'
arch/i386/mm/mm.o(.text+0xc13): undefined reference to `__start___ex_table'
arch/i386/mm/mm.o(.text+0xc1e): undefined reference to `__stop___ex_table'
make: *** [vmlinux] Error 1
Command had non-zero exit status 2
Command being timed: "make zImage"
User time (seconds): 544.58
System time (seconds): 49.47
Percent of CPU this job got: 92%
Elapsed (wall clock) time (h:mm:ss or m:ss): 10:45.01
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 0
Voluntary context switches: 0
Involuntary context switches: 0
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 2

######################################################################

My configs:

drivers/scsi/
cd $TOPDIR/modules; for i in sr_mod.o; do \
ln -sf ../drivers/scsi//$i .; done
make[2]: Leaving directory `/home/sysdata/v2.1.7/linux/drivers/scsi'
make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/drivers'
make[1]: Entering directory `/home/sysdata/v2.1.7/linux/mm'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/mm'
make[1]: Entering directory `/home/sysdata/v2.1.7/linux/fs'
set -e; for i in minix fat msdos isofs; do make -C $i modules; done
make[2]: Entering directory `/home/sysdata/v2.1.7/linux/fs/minix'
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o bitmap.o bitmap.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o truncate.o truncate.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o namei.o namei.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o inode.o inode.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o file.o file.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o dir.o dir.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o symlink.o symlink.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o fsync.o fsync.c
rm -f minix.o
ld -m elf_i386 -r -o minix.o bitmap.o truncate.o namei.o inode.o file.o dir.o symlink.o fsync.o
echo fs/minix/
fs/minix/
cd $TOPDIR/modules; for i in minix.o; do \
ln -sf ../fs/minix//$i .; done
make[2]: Leaving directory `/home/sysdata/v2.1.7/linux/fs/minix'
make[2]: Entering directory `/home/sysdata/v2.1.7/linux/fs/fat'
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o fatfs_syms.o fatfs_syms.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o buffer.o buffer.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o cache.o cache.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o dir.o dir.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o file.o file.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o inode.o inode.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o misc.o misc.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o mmap.o mmap.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o tables.o tables.c
rm -f fat.o
ld -m elf_i386 -r -o fat.o fatfs_syms.o buffer.o cache.o dir.o file.o inode.o misc.o mmap.o tables.o
echo fs/fat/
fs/fat/
cd $TOPDIR/modules; for i in fat.o; do \
ln -sf ../fs/fat//$i .; done
make[2]: Leaving directory `/home/sysdata/v2.1.7/linux/fs/fat'
make[2]: Entering directory `/home/sysdata/v2.1.7/linux/fs/msdos'
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o msdosfs_syms.o msdosfs_syms.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o namei.o namei.c
rm -f msdos.o
ld -m elf_i386 -r -o msdos.o msdosfs_syms.o namei.o
echo fs/msdos/
fs/msdos/
cd $TOPDIR/modules; for i in msdos.o; do \
ln -sf ../fs/msdos//$i .; done
make[2]: Leaving directory `/home/sysdata/v2.1.7/linux/fs/msdos'
make[2]: Entering directory `/home/sysdata/v2.1.7/linux/fs/isofs'
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o namei.o namei.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o inode.o inode.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o file.o file.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o dir.o dir.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o util.o util.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o rock.o rock.c
gcc -D__KERNEL__ -I/home/sysdata/v2.1.7/linux/include -Wall -Wstrict-prototypes -O -mpentium -fomit-frame-pointer -fno-strength-reduce -DMODULE -c -o symlink.o symlink.c
rm -f isofs.o
ld -m elf_i386 -r -o isofs.o namei.o inode.o file.o dir.o util.o rock.o symlink.o
echo fs/isofs/
fs/isofs/
cd $TOPDIR/modules; for i in isofs.o; do \
ln -sf ../fs/isofs//$i .; done
make[2]: Leaving directory `/home/sysdata/v2.1.7/linux/fs/isofs'
rm -f $TOPDIR/modules/FS_MODULES
for i in minix fat msdos isofs; do \
echo `basename $i`.o >> $TOPDIR/modules/FS_MODULES; done
make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/fs'
make[1]: Entering directory `/home/sysdata/v2.1.7/linux/net'
set -e; for i in ipv4; do make -C $i modules; done
make[2]: Entering directory `/home/sysdata/v2.1.7/linux/net/ipv4'
rm -f $TOPDIR/modules/IPV4_MODULES
make[2]: Leaving directory `/home/sysdata/v2.1.7/linux/net/ipv4'
rm -f $TOPDIR/modules/NET_MISC_MODULES
for i in ipv4; do \
echo `basename $i`.o >> $TOPDIR/modules/NET_MISC_MODULES; done
make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/net'
make[1]: Entering directory `/home/sysdata/v2.1.7/linux/ipc'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/ipc'
make[1]: Entering directory `/home/sysdata/v2.1.7/linux/lib'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/lib'
make[1]: Entering directory `/home/sysdata/v2.1.7/linux/arch/i386/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/sysdata/v2.1.7/linux/arch/i386/kernel'
make[1]: Entering directory `/home/sysdata/v2.1.7/linux/arch/i386/mm'
CONFIG_SLIP_SMART=y
# CONFIG_SLIP_MODE_SLIP6 is not set
# CONFIG_NET_RADIO is not set
# CONFIG_NET_ETHERNET is not set
# CONFIG_TR is not set
# CONFIG_ARCNET is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
# CONFIG_QUOTA is not set
CONFIG_MINIX_FS=m
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
# CONFIG_VFAT_FS is not set
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_NFS_FS is not set
# CONFIG_SMB_FS is not set
CONFIG_ISO9660_FS=m
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=m
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
CONFIG_PRINTER=m
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
CONFIG_RTC=y

#
# Sound
#
# CONFIG_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set
.

KEEP HACKING!
meino

mccramer@solfire.ludwigsburg.netsurf.de