Compile errors in 2.1.5

Nir Soffer (scorpios@cs.huji.ac.il)
Fri, 18 Oct 1996 16:46:42 +0200 (IST)


Hiyas :)
This is the list of errors I get on compiling 2.1.5
(most of it snipped, just the errors I found are here, if someone want a
whole stdout and stderr dump, let me know)

I'll try fixing the errors by myself - and if I can - I'll submit a patch.

make[3]: Entering directory `/usr/src/linux/drivers/sound/lowlevel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-fld -m elf_i386 -r -o lowlevel.o init.o
make[3]: Leaving directory `/usr/src/linux/drivers/sound/lowlevel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-faudio.c:247: macro `copy_from_user' used with too many (6) args
audio.c:384: macro `get_user' used with just one arg
audio.c: In function `audio_write':
audio.c:246: parse error before `('
audio.c: In function `audio_ioctl':
audio.c:384: parse error before `)'
audio.c:384: parse error before `)'
audio.c:384: parse error before `)'
audio.c:384: parse error before `)'
audio.c:384: parse error before `)'
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/sound'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'

There's also a warning earlier :
[...]
make[2]: Entering directory `/usr/src/linux/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-fgcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-floop.c: In function `lo_ioctl':
loop.c:434: warning: unused variable `err'
rm -f $TOPDIR/modules/BLOCK_MODULES
echo floppy.o loop.o >> $TOPDIR/modules/BLOCK_MODULES
echo drivers/block/

My config :
psychodad:/usr/src/linux# cat .config | more
#
# Automatically generated by make menuconfig: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y

#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_JAVA is not set
CONFIG_M586=y

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDE_PCMCIA is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_TRITON=y
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
CONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ACCT is not set
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
CONFIG_IP_NOSR=y
# CONFIG_SKB_LARGE is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETLINK is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_EQUALIZER is not set
# CONFIG_DLCI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
# CONFIG_SLIP 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=m
# CONFIG_SMB_FS is not set
CONFIG_ISO9660_FS=m
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_AFFS_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 is not set

#
#
# Sound
#
CONFIG_SOUND=m
# CONFIG_PAS is not set
CONFIG_SB=y
# CONFIG_ADLIB is not set
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
# CONFIG_MIDI is not set
# CONFIG_YM3812 is not set
SBC_BASE=220
SBC_IRQ=7
SBC_DMA=1
SB_DMA2=1
SB_MPU_BASE=0
SB_MPU_IRQ=-1
DSP_BUFFSIZE=65536
# CONFIG_LOWLEVEL_SOUND is not set

#
# Kernel hacking
#
CONFIG_PROFILE=y
CONFIG_PROFILE_SHIFT=2

My Libraries are :

psychodad:~> cat Libraries | more
ldconfig: version 1.7.14
/usr/local/lib:
/usr/X11R6/lib:
libXtst.so.6 => libXtst.so.6.0
libXmu.so.6 => libXmu.so.6.0
libXi.so.6 => libXi.so.6.0
libXext.so.6 => libXext.so.6.0
libSM.so.6 => libSM.so.6.0
libXt.so.6 => libXt.so.6.0
libXaw.so.6 => libXaw.so.6.0
libICE.so.6 => libICE.so.6.0
libXIE.so.6 => libXIE.so.6.0
libX11.so.6 => libX11.so.6.0
libXpm.so.4 => libXpm.so.4.3
/usr/i486-linuxaout/lib:
libdb.so.1 => libdb.so.1.85.1
libvga.so.1 => libvga.so.1.2.6
libPEX5.so.6 => libPEX5.so.6.0
libXpm.so.4 => libXpm.so.4.3
libXt.so.6 => libXt.so.6.0
libXaw.so.6 => libXaw.so.6.0
libXIE.so.6 => libXIE.so.6.0
libX11.so.6 => libX11.so.6.0
libXt.so.3 => libXt.so.3.1.0
libXaw.so.3 => libXaw.so.3.1.0
libX11.so.3 => libX11.so.3.1.0
/usr/openwin/lib:
/usr/lib:
libg++.so.27 => libg++.so.27.1.4
libstdc++.so.27 => libstdc++.so.27.1.4
libgpm.so.1 => libgpm.so.1.10
libbfd.so.2.6.0.14 => libbfd.so.2.6.0.14
libopcodes.so.2.6.0.14 => libopcodes.so.2.6.0.14
libg++.so.2 => libg++.so.2.7.0
libstdc++.so.2 => libstdc++.so.2.7.0
libdb.so.2 => libdb.so.2.0.0
libgdbm.so.2 => libgdbm.so.2.0.0
libf2c.so.0 => libf2c.so.0.11
libbfd.so.2.5.2l.11 => libbfd.so.2.5.2l.11
libtermnet.so.2 => libtermnet.so.2.3.5
libvgagl.so.1 => libvgagl.so.1.2.7
libvga.so.1 => libvga.so.1.2.7
libtiff.so.1 => libtiff.so.1.3
librle.so.1 => librle.so.1.3
libppm.so.1 => libppm.so.1.3
libpnm.so.1 => libpnm.so.1.3
libpgm.so.1 => libpgm.so.1.3
libpbm.so.1 => libpbm.so.1.3
libjpeg.so.1 => libjpeg.so.1.3
libfbm.so.1 => libfbm.so.1.3
libc.so.1 => libc.so.1
/lib:
libuuid.so.1 => libuuid.so.1.0
libe2p.so.2 => libe2p.so.2.2
libext2fs.so.2 => libext2fs.so.2.1
libss.so.2 => libss.so.2.0
libcom_err.so.2 => libcom_err.so.2.0
libXaw.so.3 => libXaw.so.3.1.0
libX11.so.3 => libX11.so.3.1.0
libXt.so.3 => libXt.so.3.1.0
libm.so.4 => libm.so.4.6.27
libcurses.so.0 => libcurses.so.0.1.2
libc.so.4 => libc.so.4.7.2
libtermcap.so.2 => libtermcap.so.2.0.8
libm.so.5 => libm.so.5.0.6
libcurses.so.1 => libcurses.so.1.0.0
libc.so.5 => libc.so.5.4.9
libdl.so.1 => libdl.so.1.7.14
libe2p.so.1 => libe2p.so.1.0
libjpeg.so.1 => libjpeg.so.1.3
libfbm.so.1 => libfbm.so.1.3
libc.so.1 => libc.so.1
/lib:
libuuid.so.1 => libuuid.so.1.0
libe2p.so.2 => libe2p.so.2.2
libext2fs.so.2 => libext2fs.so.2.1
libss.so.2 => libss.so.2.0
libcom_err.so.2 => libcom_err.so.2.0
libXaw.so.3 => libXaw.so.3.1.0
libX11.so.3 => libX11.so.3.1.0
libXt.so.3 => libXt.so.3.1.0
libm.so.4 => libm.so.4.6.27
libcurses.so.0 => libcurses.so.0.1.2
libc.so.4 => libc.so.4.7.2
libtermcap.so.2 => libtermcap.so.2.0.8
libm.so.5 => libm.so.5.0.6
libcurses.so.1 => libcurses.so.1.0.0
libc.so.5 => libc.so.5.4.9
libdl.so.1 => libdl.so.1.7.14
libe2p.so.1 => libe2p.so.1.0
libe2fs.so.1 => libe2fs.so.1.0
libet.so.1 => libet.so.1.0
libss.so.1 => libss.so.1.0

--
Nir Soffer AKA ScorpioS. scorpios@cs.huji.ac.il
http://www.cs.huji.ac.il/~scorpios/
'Keyboard not responding, press F1 to continue.'