Linux-kernel mailing list archive 1998-31,: es1370 broken as non-module

# es1370 broken as non-module

Anil B. Somayaji (soma@cs.unm.edu)
02 Aug 1998 18:48:22 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jakob Borg: "Re: Irritating ext2fs corruption"
- Previous message: Andrea Arcangeli: "i386 cosmetic patches"
- Next in thread: Jeff Lightfoot: "Re: es1370 broken as non-module"
- Reply: Jeff Lightfoot: "Re: es1370 broken as non-module"

--pgp-sign-Multipart_Sun_Aug__2_18:48:22_1998-1
Content-Type: text/plain; charset=US-ASCII

Since 2.1.111, I've noticed that I can no longer build the es1370
driver directly in to the kernel. The weird part is that the build
only fails at the final link, and it fails because several symbols
have unique id's attached to them. (Below is an excerpt from a failed
build of 2.1.113.) However, when I build it as a module, everything
works. FYI, I'm running a pretty vanilla Debian 2.0 system.

Anyone have a clue why? Thanks!

--Anil

    --
    Anil Somayaji (soma@cs.unm.edu)
    http://www.cs.unm.edu/~soma
    +1 505 872 3150

    ...
    make[1]: Leaving directory `/home/soma/Kernel/linux-2.1.113/arch/i386/lib'
    ld -m elf_i386 -T /home/soma/Kernel/linux-2.1.113/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 drivers/cdrom/cdrom.a drivers/sound/sound.a drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a \
    	/home/soma/Kernel/linux-2.1.113/arch/i386/lib/lib.a /home/soma/Kernel/linux-2.1.113/lib/lib.a /home/soma/Kernel/linux-2.1.113/arch/i386/lib/lib.a \
    	-o vmlinux
    drivers/sound/sound.a(es1370.o): In function `wrcodec':
    es1370.o(.text+0x14): undefined reference to `jiffies_R0da02d67'
    es1370.o(.text+0x51): undefined reference to `schedule_R01000e51'
    es1370.o(.text+0x56): undefined reference to `jiffies_R0da02d67'
    es1370.o(.text+0x6a): undefined reference to `printk_Rdd132261'
    drivers/sound/sound.a(es1370.o): In function `prog_dmabuf':
    es1370.o(.text+0x342): undefined reference to `__get_free_pages_R5b3b8f78'
    es1370.o(.text+0x3b4): undefined reference to `mem_map_R21745e4d'
    drivers/sound/sound.a(es1370.o): In function `es1370_update_ptr':
    es1370.o(.text+0x704): undefined reference to `__wake_up_Ra6fae663'

    (...and lots more!)

    (And here is the .config:)

    #
    # Automatically generated by make menuconfig: don't edit
    #

    #
    # Code maturity level options
    #
    CONFIG_EXPERIMENTAL=y

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

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

    #
    # General setup
    #
    CONFIG_NET=y
    CONFIG_PCI=y
    CONFIG_PCI_BIOS=y
    CONFIG_PCI_DIRECT=y
    CONFIG_PCI_QUIRKS=y
    # CONFIG_PCI_OPTIMIZE is not set
    CONFIG_PCI_OLD_PROC=y
    # CONFIG_MCA is not set
    CONFIG_SYSVIPC=y
    # CONFIG_BSD_PROCESS_ACCT is not set
    CONFIG_SYSCTL=y
    CONFIG_BINFMT_AOUT=y
    CONFIG_BINFMT_ELF=y
    CONFIG_BINFMT_MISC=m
    # CONFIG_BINFMT_JAVA is not set
    CONFIG_PARPORT=y
    CONFIG_PARPORT_PC=y
    # CONFIG_PARPORT_OTHER is not set

    #
    # Plug and Play support
    #
    CONFIG_PNP=y
    CONFIG_PNP_PARPORT=y

    #
    # Block devices
    #
    CONFIG_BLK_DEV_FD=y
    CONFIG_BLK_DEV_IDE=y
    # CONFIG_BLK_DEV_HD_IDE is not set
    CONFIG_BLK_DEV_IDEDISK=y
    CONFIG_BLK_DEV_IDECD=y
    # CONFIG_BLK_DEV_IDETAPE is not set
    # CONFIG_BLK_DEV_IDEFLOPPY is not set
    # CONFIG_BLK_DEV_IDESCSI is not set
    # CONFIG_BLK_DEV_CMD640 is not set
    # CONFIG_BLK_DEV_RZ1000 is not set
    CONFIG_BLK_DEV_IDEPCI=y
    CONFIG_BLK_DEV_IDEDMA=y
    CONFIG_IDEDMA_AUTO=y
    # CONFIG_BLK_DEV_OPTI621 is not set
    # CONFIG_BLK_DEV_TRM290 is not set
    # CONFIG_BLK_DEV_NS87415 is not set
    # CONFIG_IDE_CHIPSETS is not set
    CONFIG_BLK_DEV_LOOP=m
    # CONFIG_BLK_DEV_NBD is not set
    # CONFIG_BLK_DEV_MD is not set
    CONFIG_BLK_DEV_RAM=y
    # CONFIG_BLK_DEV_INITRD 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

    #
    # Networking options
    #
    CONFIG_PACKET=y
    # CONFIG_NETLINK is not set
    # CONFIG_FIREWALL is not set
    # CONFIG_NET_ALIAS is not set
    # CONFIG_FILTER is not set
    CONFIG_UNIX=y
    CONFIG_INET=y
    # CONFIG_IP_MULTICAST is not set
    # CONFIG_IP_ADVANCED_ROUTER is not set
    # CONFIG_IP_PNP is not set
    # CONFIG_IP_ROUTER is not set
    # CONFIG_NET_IPIP is not set
    # CONFIG_NET_IPGRE is not set
    # CONFIG_IP_ALIAS is not set
    # CONFIG_SYN_COOKIES is not set
    # CONFIG_INET_RARP is not set
    CONFIG_IP_NOSR=y
    CONFIG_SKB_LARGE=y
    # CONFIG_IPV6 is not set
    # CONFIG_IPX is not set
    # CONFIG_ATALK is not set
    # CONFIG_X25 is not set
    # CONFIG_LAPB is not set
    # CONFIG_BRIDGE is not set
    # CONFIG_LLC is not set
    # CONFIG_ECONET is not set
    # CONFIG_WAN_ROUTER is not set
    # CONFIG_NET_FASTROUTE is not set
    # CONFIG_NET_HW_FLOWCONTROL is not set
    # CONFIG_CPU_IS_SLOW is not set
    # CONFIG_NET_SCHED is not set

    #
    # SCSI support
    #
    # CONFIG_SCSI is not set

    #
    # Network device support
    #
    CONFIG_NETDEVICES=y
    # CONFIG_ARCNET is not set
    CONFIG_DUMMY=m
    # CONFIG_EQUALIZER is not set
    CONFIG_NET_ETHERNET=y
    # CONFIG_NET_VENDOR_3COM is not set
    # CONFIG_LANCE is not set
    # CONFIG_NET_VENDOR_SMC is not set
    # CONFIG_NET_VENDOR_RACAL is not set
    # CONFIG_RTL8139 is not set
    # CONFIG_YELLOWFIN is not set
    # CONFIG_NET_ISA is not set
    CONFIG_NET_EISA=y
    # CONFIG_PCNET32 is not set
    # CONFIG_AC3200 is not set
    # CONFIG_APRICOT is not set
    # CONFIG_CS89x0 is not set
    # CONFIG_DE4X5 is not set
    # CONFIG_DEC_ELCP is not set
    # CONFIG_DGRS is not set
    # CONFIG_EEXPRESS_PRO100 is not set
    # CONFIG_LNE390 is not set
    # CONFIG_NE2K_PCI is not set
    # CONFIG_TLAN is not set
    # CONFIG_ES3210 is not set
    CONFIG_EPIC100=y
    # CONFIG_ZNET is not set
    # CONFIG_NET_POCKET is not set
    # CONFIG_FDDI is not set
    # CONFIG_DLCI is not set
    # CONFIG_PLIP is not set
    CONFIG_PPP=y
    # CONFIG_SLIP is not set
    # CONFIG_NET_RADIO is not set
    # CONFIG_TR is not set
    # CONFIG_SHAPER 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=y
    CONFIG_ISO9660_FS=y
    CONFIG_JOLIET=y
    CONFIG_FAT_FS=y
    CONFIG_MSDOS_FS=y
    # CONFIG_UMSDOS_FS is not set
    CONFIG_VFAT_FS=y
    CONFIG_PROC_FS=y
    CONFIG_NFS_FS=y
    CONFIG_NFSD=m
    CONFIG_SUNRPC=y
    CONFIG_LOCKD=y
    CONFIG_CODA_FS=m
    # CONFIG_SMB_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_ADFS_FS is not set
    # CONFIG_DEVPTS_FS is not set
    # CONFIG_MAC_PARTITION is not set
    CONFIG_NLS=y

    #
    # Native Language Support
    #
    CONFIG_NLS_CODEPAGE_437=y
    # CONFIG_NLS_CODEPAGE_737 is not set
    # CONFIG_NLS_CODEPAGE_775 is not set
    # CONFIG_NLS_CODEPAGE_850 is not set
    # CONFIG_NLS_CODEPAGE_852 is not set
    # CONFIG_NLS_CODEPAGE_855 is not set
    # CONFIG_NLS_CODEPAGE_857 is not set
    # CONFIG_NLS_CODEPAGE_860 is not set
    # CONFIG_NLS_CODEPAGE_861 is not set
    # CONFIG_NLS_CODEPAGE_862 is not set
    # CONFIG_NLS_CODEPAGE_863 is not set
    # CONFIG_NLS_CODEPAGE_864 is not set
    # CONFIG_NLS_CODEPAGE_865 is not set
    # CONFIG_NLS_CODEPAGE_866 is not set
    # CONFIG_NLS_CODEPAGE_869 is not set
    # CONFIG_NLS_CODEPAGE_874 is not set
    # CONFIG_NLS_ISO8859_1 is not set
    # CONFIG_NLS_ISO8859_2 is not set
    # CONFIG_NLS_ISO8859_3 is not set
    # CONFIG_NLS_ISO8859_4 is not set
    # CONFIG_NLS_ISO8859_5 is not set
    # CONFIG_NLS_ISO8859_6 is not set
    # CONFIG_NLS_ISO8859_7 is not set
    # CONFIG_NLS_ISO8859_8 is not set
    # CONFIG_NLS_ISO8859_9 is not set
    # CONFIG_NLS_KOI8_R is not set

    #
    # Character devices
    #
    CONFIG_VT=y
    CONFIG_VT_CONSOLE=y
    CONFIG_SERIAL=y
    # CONFIG_SERIAL_CONSOLE is not set
    # CONFIG_SERIAL_EXTENDED is not set
    # CONFIG_SERIAL_NONSTANDARD is not set
    CONFIG_PRINTER=y
    CONFIG_PRINTER_READBACK=y
    CONFIG_MOUSE=y
    # CONFIG_ATIXL_BUSMOUSE is not set
    # CONFIG_BUSMOUSE is not set
    # CONFIG_MS_BUSMOUSE is not set
    CONFIG_PSMOUSE=y
    # CONFIG_82C710_MOUSE is not set
    # CONFIG_PC110_PAD is not set
    # CONFIG_UMISC is not set
    # CONFIG_QIC02_TAPE is not set
    CONFIG_APM=y
    # CONFIG_APM_IGNORE_USER_SUSPEND is not set
    CONFIG_APM_DO_ENABLE=y
    CONFIG_APM_CPU_IDLE=y
    # CONFIG_APM_DISPLAY_BLANK is not set
    CONFIG_APM_POWER_OFF=y
    # CONFIG_APM_IGNORE_MULTIPLE_SUSPEND 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=m

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

    #
    # Console drivers
    #
    CONFIG_VGA_CONSOLE=y
    # CONFIG_VIDEO_SELECT is not set
    # CONFIG_FB is not set

    #
    # Sound
    #
    CONFIG_SOUND=y
    CONFIG_SOUND_ES1370=y
    # CONFIG_SOUND_ES1371 is not set
    # CONFIG_SOUND_SONICVIBES is not set
    # CONFIG_SOUND_MSNDCLAS is not set
    # CONFIG_SOUND_MSNDPIN is not set
    # CONFIG_SOUND_OSS is not set

    #
    # Kernel hacking
    #
    # CONFIG_PROFILE is not set
    # CONFIG_MAGIC_SYSRQ is not set

    --pgp-sign-Multipart_Sun_Aug__2_18:48:22_1998-1
    Content-Type: application/pgp-signature
    Content-Transfer-Encoding: 7bit

    -----BEGIN PGP MESSAGE-----
    Version: 2.6.2

    iQCVAwUBNcUI1kLkmkLHxWM5AQEauQP/RdKVBzqMvoXxuPCmV7agIa1yup7ckzEt
    0YviF9uriSXT3ByJ2CVDpxUZsscRUaODHdxuuSJl3BJAVsSlg+VcvWpMPC77MVKE
    CvJ7kj0voOP1CKdZpgbspf1/RPiFuQ2lOLtybMmOUiX11ajsASZNuE3vkOpXCsez
    Pl+grSuyums=
    =20QN
    -----END PGP MESSAGE-----

    --pgp-sign-Multipart_Sun_Aug__2_18:48:22_1998-1--

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

- Next message: Jakob Borg: "Re: Irritating ext2fs corruption"
- Previous message: Andrea Arcangeli: "i386 cosmetic patches"
- Next in thread: Jeff Lightfoot: "Re: es1370 broken as non-module"
- Reply: Jeff Lightfoot: "Re: es1370 broken as non-module"