2.1.93 won't compile

Trevor Johnson (trevor@jpj.net)
Tue, 7 Apr 1998 01:53:49 -0700 (PDT)


Compilation (make dep zImage) with the configuration at the bottom of this
message fails for me:

gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c
head.S
-o head.o
/tmp/cca05488.s: Assembler messages:
/tmp/cca05488.s:764: Warning: Repeat < 0, .fill ignored
/tmp/cca05488.s:962: Error: attempt to .org/.space backwards? (-4)
/tmp/cca05488.s:962: Internal error!
Assertion failure in write_contents at write.c line 1106.
Please report this bug.
make[1]: *** [head.o] Error 1
make[1]: Leaving directory `/scratch/src/linux/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2

Then I tried CONFIG_MAX_MEMSIZE=4 and compilation ended with:

ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.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 \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
-o vmlinux
kernel/kernel.o: In function `show_task':
kernel/kernel.o(.text+0x3111): undefined reference to `render_sigset_t'
kernel/kernel.o(.text+0x3121): undefined reference to `render_sigset_t'
net/network.a(core.o): In function `sock_setsockopt':
core.o(.text+0x299): undefined reference to `dev_get'
net/network.a(core.o): In function `__dst_free':
core.o(.text+0x1994): undefined reference to `loopback_dev'
net/network.a(core.o): In function `neigh_compat_output':
core.o(.text+0x3156): undefined reference to `dev_queue_xmit'
make: *** [vmlinux] Error 1

I have SMP commented out, with no other changes to the source. I'm using
gcc 2.8.1 and binutils 2.8.1.0.28.
___
Trevor Johnson

#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Processor type and features
#
CONFIG_M386=y
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M686 is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MAX_MEMSIZE=0

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# General setup
#
# CONFIG_NET is not set
# CONFIG_PCI is not set
# CONFIG_MCA is not set
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_SYSCTL is not set
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_ELF is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_VIDEO_SELECT is not set
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Floppy, IDE, and other block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_IDE is not set

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_ONLY is not set

#
# Additional Block Devices
#
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
CONFIG_PARIDE_PARPORT=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO 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 is not set
# CONFIG_EXT2_FS is not set
# CONFIG_ISO9660_FS is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_PROC_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_MAC_PARTITION is not set
# CONFIG_NLS is not set

#
# Character devices
#
# CONFIG_VT is not set
# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_MOUSE is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set
# CONFIG_VIDEO_DEV is not set
# CONFIG_NVRAM is not set
# CONFIG_JOYSTICK is not set
# CONFIG_MISC_RADIO is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_VGA_CONSOLE=y

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu