2.1.80 and pre-2.1.81-1 not compiling

Trevor Johnson (trevor@jpj.net)
Fri, 23 Jan 1998 05:47:06 -0800 (PST)


I couldn't make a minimal kernel with 2.1.80 or pre-2.1.81-1. Here's what
I did and what happened:

- unpacked 2.1.80
- ran "make config" and answered "n" to everything
- started to run "make zImage"
- pressed ^C when I realized I'd not commented out "SMP = 1"
- commented it out
- ran "make oldconfig"
- was asked:

NCP filesystem support (to mount NetWare volumes) (CONFIG_NCP_FS)
[N/y/?](NEW)

- answered "n"
- did "make dep clean zImage"

Compilation ended with:

kernel/kernel.o: In function `show_task':
kernel/kernel.o(.text+0x3085): undefined reference to `render_sigset_t'
kernel/kernel.o(.text+0x3095): undefined reference to `render_sigset_t'
net/network.a(core.o): In function `sock_setsockopt':
core.o(.text+0x292): undefined reference to `dev_get'
core.o(.text+0x2c9): undefined reference to `ip_route_output'
net/network.a(core.o): In function `neigh_compat_output':
core.o(.text+0x323e): undefined reference to `dev_queue_xmit'
make: *** [vmlinux] Error 1

- applied pre-2.1.81-1 patch
- "make oldconfig"
- "make dep clean zImage"
- compilation ended with:

kernel/kernel.o: In function `show_task':
kernel/kernel.o(.text+0x3085): undefined reference to `render_sigset_t'
kernel/kernel.o(.text+0x3095): undefined reference to `render_sigset_t'
net/network.a(core.o): In function `sock_setsockopt':
core.o(.text+0x292): undefined reference to `dev_get'
core.o(.text+0x2c9): undefined reference to `ip_route_output'
net/network.a(core.o): In function `neigh_compat_output':
core.o(.text+0x323e): undefined reference to `dev_queue_xmit'
make: *** [vmlinux] Error 1

Here is the configuration I was trying.

# CONFIG_EXPERIMENTAL is not set
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_MODULES is not set
# 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
# CONFIG_PNP is not set
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_IDE is not set
# CONFIG_BLK_DEV_HD_ONLY is not set
# 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
# CONFIG_SCSI is not set
# CONFIG_HAMRADIO is not set
# CONFIG_ISDN is not set
# CONFIG_CD_NO_IDESCSI is not set
# CONFIG_CDROM is not set
# 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
# 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
# CONFIG_FTAPE is not set
# CONFIG_SOUND is not set
# CONFIG_PROFILE is not set
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_VGA_CONSOLE=y
___
Trevor Johnson