2001-12-15 04:54:57

by Michael P. Soulier

[permalink] [raw]
Subject: can't compile 2.4.16

Hey people.

I just tried to build kernel 2.4.16, but it failed in the link stage.

drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols in
discarded section .text.exit'
drivers/net/net.o(.data+0x174): undefined reference to `local symbols in
discarded section .text.exit'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.4.16'
make: *** [stamp-build] Error 2

Anyone have any idea what's going on? I've attached my .config file.

Thanks,

Mike

--
Michael P. Soulier <[email protected]>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort." -Harley Hahn, A Student's Guide to Unix


Attachments:
(No filename) (0.00 B)
(No filename) (232.00 B)
Download all attachments

2001-12-15 05:05:38

by Ben Carrell

[permalink] [raw]
Subject: Re: can't compile 2.4.16

If you look at the 2.4.17-pre6 changelog you will see:

- Create __devexit_p() function and use that on
drivers which need it to make it possible to
use newer binutils (Keith Owens)

It comes from using the latest binutils, let me guess - you run debian
sid? :) If you wish to compile 2.4.16, you need to downgrade binutils
...or try a pre-patch starting with 2.4.17-pre6

Michael P. Soulier wrote:

> Hey people.
>
> I just tried to build kernel 2.4.16, but it failed in the link stage.
>
>drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols in
>discarded section .text.exit'
>drivers/net/net.o(.data+0x174): undefined reference to `local symbols in
>discarded section .text.exit'
>make[1]: *** [vmlinux] Error 1
>make[1]: Leaving directory `/usr/src/kernel-source-2.4.16'
>make: *** [stamp-build] Error 2
>
> Anyone have any idea what's going on? I've attached my .config file.
>
> Thanks,
>
> Mike
>
>
>------------------------------------------------------------------------
>
>#
># Automatically generated by make menuconfig: don't edit
>#
>CONFIG_X86=y
>CONFIG_ISA=y
># CONFIG_SBUS is not set
>CONFIG_UID16=y
>
>#
># Code maturity level options
>#
># CONFIG_EXPERIMENTAL is not set
>
>#
># Loadable module support
>#
>CONFIG_MODULES=y
># CONFIG_MODVERSIONS is not set
>CONFIG_KMOD=y
>
>#
># Processor type and features
>#
># CONFIG_M386 is not set
># CONFIG_M486 is not set
># CONFIG_M586 is not set
># CONFIG_M586TSC is not set
># CONFIG_M586MMX is not set
># CONFIG_M686 is not set
>CONFIG_MPENTIUMIII=y
># CONFIG_MPENTIUM4 is not set
># CONFIG_MK6 is not set
># CONFIG_MK7 is not set
># CONFIG_MCRUSOE is not set
># CONFIG_MWINCHIPC6 is not set
># CONFIG_MWINCHIP2 is not set
># CONFIG_MWINCHIP3D is not set
># CONFIG_MCYRIXIII is not set
>CONFIG_X86_WP_WORKS_OK=y
>CONFIG_X86_INVLPG=y
>CONFIG_X86_CMPXCHG=y
>CONFIG_X86_XADD=y
>CONFIG_X86_BSWAP=y
>CONFIG_X86_POPAD_OK=y
># CONFIG_RWSEM_GENERIC_SPINLOCK is not set
>CONFIG_RWSEM_XCHGADD_ALGORITHM=y
>CONFIG_X86_L1_CACHE_SHIFT=5
>CONFIG_X86_TSC=y
>CONFIG_X86_GOOD_APIC=y
>CONFIG_X86_PGE=y
>CONFIG_X86_USE_PPRO_CHECKSUM=y
># CONFIG_TOSHIBA is not set
># CONFIG_I8K is not set
># CONFIG_MICROCODE is not set
># CONFIG_X86_MSR is not set
># CONFIG_X86_CPUID is not set
>CONFIG_NOHIGHMEM=y
># CONFIG_HIGHMEM4G is not set
># CONFIG_HIGHMEM64G is not set
># CONFIG_MATH_EMULATION is not set
># CONFIG_MTRR is not set
># CONFIG_SMP is not set
># CONFIG_X86_UP_APIC is not set
># CONFIG_X86_UP_IOAPIC is not set
>
>#
># General setup
>#
>CONFIG_NET=y
>CONFIG_PCI=y
># CONFIG_PCI_GOBIOS is not set
># CONFIG_PCI_GODIRECT is not set
>CONFIG_PCI_GOANY=y
>CONFIG_PCI_BIOS=y
>CONFIG_PCI_DIRECT=y
>CONFIG_PCI_NAMES=y
># CONFIG_EISA is not set
># CONFIG_MCA is not set
># CONFIG_HOTPLUG is not set
># CONFIG_PCMCIA is not set
># CONFIG_HOTPLUG_PCI is not set
>CONFIG_SYSVIPC=y
># CONFIG_BSD_PROCESS_ACCT is not set
>CONFIG_SYSCTL=y
>CONFIG_KCORE_ELF=y
># CONFIG_KCORE_AOUT is not set
>CONFIG_BINFMT_AOUT=y
>CONFIG_BINFMT_ELF=y
>CONFIG_BINFMT_MISC=m
># CONFIG_PM is not set
># CONFIG_APM is not set
>
>#
># Memory Technology Devices (MTD)
>#
># CONFIG_MTD is not set
>
>#
># Parallel port support
>#
>CONFIG_PARPORT=m
>CONFIG_PARPORT_PC=m
>CONFIG_PARPORT_PC_CML1=m
># CONFIG_PARPORT_SERIAL is not set
># CONFIG_PARPORT_AMIGA is not set
># CONFIG_PARPORT_MFC3 is not set
># CONFIG_PARPORT_ATARI is not set
># CONFIG_PARPORT_GSC is not set
># CONFIG_PARPORT_SUNBPP is not set
># CONFIG_PARPORT_OTHER is not set
># CONFIG_PARPORT_1284 is not set
>
>#
># Plug and Play configuration
>#
># CONFIG_PNP is not set
># CONFIG_ISAPNP is not set
>
>#
># Block devices
>#
>CONFIG_BLK_DEV_FD=y
># CONFIG_BLK_DEV_XD is not set
># CONFIG_PARIDE is not set
># CONFIG_BLK_CPQ_DA is not set
># CONFIG_BLK_CPQ_CISS_DA is not set
># CONFIG_BLK_DEV_DAC960 is not set
># CONFIG_BLK_DEV_LOOP is not set
># CONFIG_BLK_DEV_NBD is not set
># CONFIG_BLK_DEV_RAM is not set
># CONFIG_BLK_DEV_INITRD is not set
>
>#
># Multi-device support (RAID and LVM)
>#
># CONFIG_MD is not set
># CONFIG_BLK_DEV_MD is not set
># CONFIG_MD_LINEAR is not set
># CONFIG_MD_RAID0 is not set
># CONFIG_MD_RAID1 is not set
># CONFIG_MD_RAID5 is not set
># CONFIG_MD_MULTIPATH is not set
># CONFIG_BLK_DEV_LVM is not set
>
>#
># Networking options
>#
>CONFIG_PACKET=y
># CONFIG_PACKET_MMAP is not set
>CONFIG_NETLINK=y
>CONFIG_RTNETLINK=y
># CONFIG_NETLINK_DEV is not set
>CONFIG_NETFILTER=y
># CONFIG_NETFILTER_DEBUG is not set
># CONFIG_FILTER is not set
>CONFIG_UNIX=y
>CONFIG_INET=y
># CONFIG_IP_MULTICAST is not set
>CONFIG_IP_ADVANCED_ROUTER=y
>CONFIG_RTNETLINK=y
>CONFIG_NETLINK=y
># CONFIG_IP_MULTIPLE_TABLES is not set
># CONFIG_IP_ROUTE_MULTIPATH is not set
># CONFIG_IP_ROUTE_TOS is not set
>CONFIG_IP_ROUTE_VERBOSE=y
># CONFIG_IP_ROUTE_LARGE_TABLES is not set
># CONFIG_IP_PNP is not set
># CONFIG_NET_IPIP is not set
>CONFIG_NET_IPGRE=m
># CONFIG_INET_ECN is not set
># CONFIG_SYN_COOKIES is not set
>
>#
># IP: Netfilter Configuration
>#
>CONFIG_IP_NF_CONNTRACK=y
>CONFIG_IP_NF_FTP=m
>CONFIG_IP_NF_IRC=m
>CONFIG_IP_NF_IPTABLES=y
># CONFIG_IP_NF_MATCH_LIMIT is not set
># CONFIG_IP_NF_MATCH_MAC is not set
># CONFIG_IP_NF_MATCH_MARK is not set
>CONFIG_IP_NF_MATCH_MULTIPORT=y
>CONFIG_IP_NF_MATCH_TOS=y
># CONFIG_IP_NF_MATCH_LENGTH is not set
># CONFIG_IP_NF_MATCH_TTL is not set
># CONFIG_IP_NF_MATCH_TCPMSS is not set
>CONFIG_IP_NF_MATCH_STATE=y
>CONFIG_IP_NF_FILTER=y
>CONFIG_IP_NF_TARGET_REJECT=y
>CONFIG_IP_NF_NAT=y
>CONFIG_IP_NF_NAT_NEEDED=y
>CONFIG_IP_NF_TARGET_MASQUERADE=y
>CONFIG_IP_NF_TARGET_REDIRECT=y
>CONFIG_IP_NF_NAT_IRC=m
>CONFIG_IP_NF_NAT_FTP=m
># CONFIG_IP_NF_MANGLE is not set
>CONFIG_IP_NF_TARGET_LOG=y
>CONFIG_IP_NF_TARGET_TCPMSS=m
># CONFIG_IPX is not set
># CONFIG_ATALK is not set
># CONFIG_DECNET is not set
># CONFIG_BRIDGE is not set
>
>#
># QoS and/or fair queueing
>#
># CONFIG_NET_SCHED is not set
>
>#
># Telephony Support
>#
># CONFIG_PHONE is not set
># CONFIG_PHONE_IXJ is not set
># CONFIG_PHONE_IXJ_PCMCIA is not set
>
>#
># ATA/IDE/MFM/RLL support
>#
>CONFIG_IDE=y
>
>#
># IDE, ATA and ATAPI Block devices
>#
>CONFIG_BLK_DEV_IDE=y
># CONFIG_BLK_DEV_HD_IDE is not set
># CONFIG_BLK_DEV_HD is not set
>CONFIG_BLK_DEV_IDEDISK=y
># CONFIG_IDEDISK_MULTI_MODE is not set
># CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
># CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
># CONFIG_BLK_DEV_IDEDISK_IBM is not set
># CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
># CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
># CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
># CONFIG_BLK_DEV_IDEDISK_WD is not set
># CONFIG_BLK_DEV_COMMERIAL is not set
># CONFIG_BLK_DEV_TIVO is not set
># CONFIG_BLK_DEV_IDECS is not set
>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_CMD640_ENHANCED is not set
># CONFIG_BLK_DEV_ISAPNP is not set
># CONFIG_BLK_DEV_RZ1000 is not set
>CONFIG_BLK_DEV_IDEPCI=y
># CONFIG_IDEPCI_SHARE_IRQ is not set
>CONFIG_BLK_DEV_IDEDMA_PCI=y
>CONFIG_BLK_DEV_ADMA=y
># CONFIG_BLK_DEV_OFFBOARD is not set
>CONFIG_IDEDMA_PCI_AUTO=y
>CONFIG_BLK_DEV_IDEDMA=y
># CONFIG_IDEDMA_PCI_WIP is not set
># CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
># CONFIG_BLK_DEV_AEC62XX is not set
># CONFIG_AEC62XX_TUNING is not set
># CONFIG_BLK_DEV_ALI15X3 is not set
># CONFIG_WDC_ALI15X3 is not set
># CONFIG_BLK_DEV_AMD74XX is not set
># CONFIG_AMD74XX_OVERRIDE is not set
># CONFIG_BLK_DEV_CMD64X is not set
># CONFIG_BLK_DEV_CY82C693 is not set
># CONFIG_BLK_DEV_CS5530 is not set
># CONFIG_BLK_DEV_HPT34X is not set
># CONFIG_HPT34X_AUTODMA is not set
># CONFIG_BLK_DEV_HPT366 is not set
># CONFIG_BLK_DEV_PIIX is not set
># CONFIG_PIIX_TUNING is not set
># CONFIG_BLK_DEV_NS87415 is not set
># CONFIG_BLK_DEV_OPTI621 is not set
># CONFIG_BLK_DEV_PDC202XX is not set
># CONFIG_PDC202XX_BURST is not set
># CONFIG_PDC202XX_FORCE is not set
># CONFIG_BLK_DEV_SVWKS is not set
># CONFIG_BLK_DEV_SIS5513 is not set
># CONFIG_BLK_DEV_SLC90E66 is not set
># CONFIG_BLK_DEV_TRM290 is not set
># CONFIG_BLK_DEV_VIA82CXXX is not set
># CONFIG_IDE_CHIPSETS is not set
>CONFIG_IDEDMA_AUTO=y
># CONFIG_IDEDMA_IVB is not set
># CONFIG_DMA_NONPCI is not set
># CONFIG_BLK_DEV_IDE_MODES is not set
># CONFIG_BLK_DEV_ATARAID is not set
># CONFIG_BLK_DEV_ATARAID_PDC is not set
># CONFIG_BLK_DEV_ATARAID_HPT is not set
>
>#
># SCSI support
>#
># CONFIG_SCSI is not set
>
>#
># Fusion MPT device support
>#
># CONFIG_FUSION is not set
># CONFIG_FUSION_BOOT is not set
># CONFIG_FUSION_ISENSE is not set
># CONFIG_FUSION_CTL is not set
># CONFIG_FUSION_LAN is not set
>
>#
># I2O device support
>#
># CONFIG_I2O is not set
># CONFIG_I2O_PCI is not set
># CONFIG_I2O_BLOCK is not set
># CONFIG_I2O_LAN is not set
># CONFIG_I2O_SCSI is not set
># CONFIG_I2O_PROC is not set
>
>#
># Network device support
>#
>CONFIG_NETDEVICES=y
>
>#
># ARCnet devices
>#
># CONFIG_ARCNET is not set
>CONFIG_DUMMY=m
># CONFIG_BONDING is not set
># CONFIG_EQUALIZER is not set
># CONFIG_TUN is not set
>
>#
># Ethernet (10 or 100Mbit)
>#
>CONFIG_NET_ETHERNET=y
># CONFIG_SUNLANCE is not set
># CONFIG_HAPPYMEAL is not set
># CONFIG_SUNBMAC is not set
># CONFIG_SUNQE is not set
># CONFIG_SUNLANCE is not set
># CONFIG_SUNGEM is not set
># 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_AT1700 is not set
># CONFIG_DEPCA is not set
># CONFIG_HP100 is not set
># CONFIG_NET_ISA is not set
>CONFIG_NET_PCI=y
># CONFIG_PCNET32 is not set
># CONFIG_ADAPTEC_STARFIRE is not set
># CONFIG_AC3200 is not set
># CONFIG_APRICOT is not set
># CONFIG_CS89x0 is not set
>CONFIG_TULIP=y
># CONFIG_TULIP_MWI is not set
># CONFIG_TULIP_MMIO is not set
># CONFIG_DE4X5 is not set
># CONFIG_DGRS is not set
># CONFIG_DM9102 is not set
># CONFIG_EEPRO100 is not set
># CONFIG_LNE390 is not set
># CONFIG_FEALNX is not set
># CONFIG_NATSEMI is not set
># CONFIG_NE2K_PCI is not set
># CONFIG_NE3210 is not set
># CONFIG_ES3210 is not set
># CONFIG_8139CP is not set
># CONFIG_8139TOO is not set
># CONFIG_8139TOO_PIO is not set
># CONFIG_8139TOO_TUNE_TWISTER is not set
># CONFIG_8139TOO_8129 is not set
># CONFIG_SIS900 is not set
># CONFIG_EPIC100 is not set
># CONFIG_SUNDANCE is not set
># CONFIG_TLAN is not set
># CONFIG_VIA_RHINE is not set
># CONFIG_VIA_RHINE_MMIO is not set
># CONFIG_WINBOND_840 is not set
># CONFIG_NET_POCKET is not set
>
>#
># Ethernet (1000 Mbit)
>#
># CONFIG_ACENIC is not set
># CONFIG_DL2K is not set
># CONFIG_MYRI_SBUS is not set
># CONFIG_NS83820 is not set
># CONFIG_HAMACHI is not set
># CONFIG_YELLOWFIN is not set
># CONFIG_SK98LIN is not set
># CONFIG_FDDI is not set
># CONFIG_PLIP is not set
># CONFIG_PPP is not set
># CONFIG_SLIP is not set
>
>#
># Wireless LAN (non-hamradio)
>#
># CONFIG_NET_RADIO is not set
>
>#
># Token Ring devices
>#
># CONFIG_TR is not set
># CONFIG_NET_FC is not set
>
>#
># Wan interfaces
>#
># CONFIG_WAN is not set
>
>#
># Amateur Radio support
>#
># CONFIG_HAMRADIO is not set
>
>#
># IrDA (infrared) support
>#
># CONFIG_IRDA is not set
>
>#
># ISDN subsystem
>#
># CONFIG_ISDN is not set
>
>#
># Old CD-ROM drivers (not SCSI, not IDE)
>#
># CONFIG_CD_NO_IDESCSI is not set
>
>#
># Input core support
>#
># CONFIG_INPUT is not set
># CONFIG_INPUT_KEYBDEV is not set
># CONFIG_INPUT_MOUSEDEV is not set
># CONFIG_INPUT_JOYDEV is not set
># CONFIG_INPUT_EVDEV 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_UNIX98_PTYS=y
>CONFIG_UNIX98_PTY_COUNT=256
>CONFIG_PRINTER=m
># CONFIG_LP_CONSOLE is not set
># CONFIG_PPDEV is not set
>
>#
># I2C support
>#
># CONFIG_I2C is not set
>
>#
># Mice
>#
># CONFIG_BUSMOUSE is not set
># CONFIG_MOUSE is not set
>
>#
># Joysticks
>#
># CONFIG_INPUT_GAMEPORT is not set
># CONFIG_QIC02_TAPE is not set
>
>#
># Watchdog Cards
>#
># CONFIG_WATCHDOG is not set
># CONFIG_INTEL_RNG is not set
># CONFIG_NVRAM is not set
># CONFIG_RTC is not set
># CONFIG_DTLK is not set
># CONFIG_R3964 is not set
># CONFIG_APPLICOM is not set
>
>#
># Ftape, the floppy tape device driver
>#
># CONFIG_FTAPE is not set
># CONFIG_AGP is not set
># CONFIG_DRM is not set
># CONFIG_MWAVE is not set
>
>#
># Multimedia devices
>#
># CONFIG_VIDEO_DEV is not set
>
>#
># File systems
>#
># CONFIG_QUOTA is not set
># CONFIG_AUTOFS_FS is not set
># CONFIG_AUTOFS4_FS is not set
># CONFIG_REISERFS_FS is not set
># CONFIG_REISERFS_CHECK is not set
># CONFIG_REISERFS_PROC_INFO is not set
># CONFIG_ADFS_FS is not set
># CONFIG_ADFS_FS_RW is not set
># CONFIG_AFFS_FS is not set
># CONFIG_HFS_FS is not set
># CONFIG_BFS_FS is not set
># CONFIG_EXT3_FS is not set
># CONFIG_JBD is not set
># CONFIG_JBD_DEBUG 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_EFS_FS is not set
># CONFIG_JFFS_FS is not set
># CONFIG_JFFS2_FS is not set
># CONFIG_CRAMFS is not set
># CONFIG_TMPFS is not set
># CONFIG_RAMFS is not set
>CONFIG_ISO9660_FS=y
>CONFIG_JOLIET=y
># CONFIG_ZISOFS is not set
># CONFIG_MINIX_FS is not set
># CONFIG_VXFS_FS is not set
># CONFIG_NTFS_FS is not set
># CONFIG_NTFS_RW is not set
># CONFIG_HPFS_FS is not set
>CONFIG_PROC_FS=y
># CONFIG_DEVFS_FS is not set
># CONFIG_DEVFS_MOUNT is not set
># CONFIG_DEVFS_DEBUG is not set
>CONFIG_DEVPTS_FS=y
># CONFIG_QNX4FS_FS is not set
># CONFIG_QNX4FS_RW is not set
># CONFIG_ROMFS_FS is not set
>CONFIG_EXT2_FS=y
># CONFIG_SYSV_FS is not set
># CONFIG_UDF_FS is not set
># CONFIG_UDF_RW is not set
># CONFIG_UFS_FS is not set
># CONFIG_UFS_FS_WRITE is not set
>
>#
># Network File Systems
>#
># CONFIG_CODA_FS is not set
># CONFIG_INTERMEZZO_FS is not set
># CONFIG_NFS_FS is not set
># CONFIG_NFS_V3 is not set
># CONFIG_ROOT_NFS is not set
>CONFIG_NFSD=y
>CONFIG_NFSD_V3=y
>CONFIG_SUNRPC=y
>CONFIG_LOCKD=y
>CONFIG_LOCKD_V4=y
>CONFIG_SMB_FS=m
># CONFIG_SMB_NLS_DEFAULT is not set
># CONFIG_NCP_FS is not set
># CONFIG_NCPFS_PACKET_SIGNING is not set
># CONFIG_NCPFS_IOCTL_LOCKING is not set
># CONFIG_NCPFS_STRONG is not set
># CONFIG_NCPFS_NFS_NS is not set
># CONFIG_NCPFS_OS2_NS is not set
># CONFIG_NCPFS_SMALLDOS is not set
># CONFIG_NCPFS_NLS is not set
># CONFIG_NCPFS_EXTRAS is not set
># CONFIG_ZISOFS_FS is not set
># CONFIG_ZLIB_FS_INFLATE is not set
>
>#
># Partition Types
>#
># CONFIG_PARTITION_ADVANCED is not set
>CONFIG_MSDOS_PARTITION=y
>CONFIG_SMB_NLS=y
>CONFIG_NLS=y
>
>#
># Native Language Support
>#
>CONFIG_NLS_DEFAULT="iso8859-1"
>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_936 is not set
># CONFIG_NLS_CODEPAGE_950 is not set
># CONFIG_NLS_CODEPAGE_932 is not set
># CONFIG_NLS_CODEPAGE_949 is not set
># CONFIG_NLS_CODEPAGE_874 is not set
># CONFIG_NLS_ISO8859_8 is not set
># CONFIG_NLS_CODEPAGE_1251 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_9 is not set
># CONFIG_NLS_ISO8859_13 is not set
># CONFIG_NLS_ISO8859_14 is not set
># CONFIG_NLS_ISO8859_15 is not set
># CONFIG_NLS_KOI8_R is not set
># CONFIG_NLS_KOI8_U is not set
># CONFIG_NLS_UTF8 is not set
>
>#
># Console drivers
>#
>CONFIG_VGA_CONSOLE=y
># CONFIG_VIDEO_SELECT is not set
>
>#
># Sound
>#
># CONFIG_SOUND is not set
>
>#
># USB support
>#
># CONFIG_USB is not set
># CONFIG_USB_UHCI is not set
># CONFIG_USB_UHCI_ALT is not set
># CONFIG_USB_OHCI is not set
># CONFIG_USB_AUDIO is not set
># CONFIG_USB_BLUETOOTH is not set
># CONFIG_USB_STORAGE is not set
># CONFIG_USB_STORAGE_DEBUG is not set
># CONFIG_USB_STORAGE_DATAFAB is not set
># CONFIG_USB_STORAGE_FREECOM is not set
># CONFIG_USB_STORAGE_ISD200 is not set
># CONFIG_USB_STORAGE_DPCM is not set
># CONFIG_USB_STORAGE_HP8200e is not set
># CONFIG_USB_STORAGE_SDDR09 is not set
># CONFIG_USB_STORAGE_JUMPSHOT is not set
># CONFIG_USB_ACM is not set
># CONFIG_USB_PRINTER is not set
># CONFIG_USB_DC2XX is not set
># CONFIG_USB_MDC800 is not set
># CONFIG_USB_SCANNER is not set
># CONFIG_USB_MICROTEK is not set
># CONFIG_USB_HPUSBSCSI is not set
># CONFIG_USB_PEGASUS is not set
># CONFIG_USB_KAWETH is not set
># CONFIG_USB_CATC is not set
># CONFIG_USB_CDCETHER is not set
># CONFIG_USB_USBNET is not set
># CONFIG_USB_USS720 is not set
>
>#
># USB Serial Converter support
>#
># CONFIG_USB_SERIAL is not set
># CONFIG_USB_SERIAL_GENERIC is not set
># CONFIG_USB_SERIAL_BELKIN is not set
># CONFIG_USB_SERIAL_WHITEHEAT is not set
># CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
># CONFIG_USB_SERIAL_EMPEG is not set
># CONFIG_USB_SERIAL_FTDI_SIO is not set
># CONFIG_USB_SERIAL_VISOR is not set
># CONFIG_USB_SERIAL_IR is not set
># CONFIG_USB_SERIAL_EDGEPORT is not set
># CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
># CONFIG_USB_SERIAL_KEYSPAN is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
># CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
># CONFIG_USB_SERIAL_MCT_U232 is not set
># CONFIG_USB_SERIAL_PL2303 is not set
># CONFIG_USB_SERIAL_CYBERJACK is not set
># CONFIG_USB_SERIAL_XIRCOM is not set
># CONFIG_USB_SERIAL_OMNINET is not set
># CONFIG_USB_RIO500 is not set
>
>#
># Kernel hacking
>#
># CONFIG_DEBUG_KERNEL is not set
>


2001-12-15 16:45:23

by Michael P. Soulier

[permalink] [raw]
Subject: Re: can't compile 2.4.16

On 14/12/01 Ben Carrell did speaketh:

> If you look at the 2.4.17-pre6 changelog you will see:
>
> - Create __devexit_p() function and use that on
> drivers which need it to make it possible to
> use newer binutils (Keith Owens)
>
> It comes from using the latest binutils, let me guess - you run debian
> sid? :) If you wish to compile 2.4.16, you need to downgrade binutils
> ...or try a pre-patch starting with 2.4.17-pre6

Someone on the Debian list mentioned that enabling CONFIG_HOTPLUG work fix
the problem too, and it did. So, the kernel is a little bigger than desired,
but no biggy.

Mike


Attachments:
(No filename) (622.00 B)
(No filename) (232.00 B)
Download all attachments

2001-12-17 00:43:02

by Tony Hoyle

[permalink] [raw]
Subject: Re: can't compile 2.4.16

Ben Carrell wrote:

> If you look at the 2.4.17-pre6 changelog you will see:
>
> - Create __devexit_p() function and use that on drivers which need it
> to make it possible to use newer binutils (Keith Owens)
> It comes from using the latest binutils, let me guess - you run debian
> sid? :) If you wish to compile 2.4.16, you need to downgrade binutils
> ...or try a pre-patch starting with 2.4.17-pre6
>
Has this fix been reverted? It isn't in -pre8 or -rc1.


net/network.o(.text.lock+0x17b8): undefined reference to `local symbols
in discarded section .text.exit'

It's kind of impossible to compile the kernel at the moment (even the
CONFIG_HOTPLUG fix mentioned doesn't work).

I tried downgrading binutils & it didn't work.. possibly I didn't go
back far enough. What is the newest version that is supposed to work?

Tony


2001-12-17 00:54:22

by Dan Chen

[permalink] [raw]
Subject: Re: can't compile 2.4.16

% bzcat ~/tmp/kernel/patch-2.4.17-rc1.bz2|grep devexit|wc -l
81

So no, the fixes have not been reverted. Also, John and I have submitted
additional patches for __devexit.

For Debian, the last known version of binutils in sid that didn't cause
these messages was purged a while ago. Look in /var/cache/apt/archives/
if you keep them there, or perhaps someone you know may have it lying
around.

I'll take a look at net/ tonight, but drivers/ should be completely
converted to __devexit as of John's patch
(http://marc.theaimsgroup.com/?l=linux-kernel&m=100848516505140&w=2).

---
Dan Chen [email protected]
GPG key: http://www.cs.unc.edu/~chenda/pubkey.gpg.asc

On Mon, 17 Dec 2001, Tony Hoyle wrote:

> Has this fix been reverted? It isn't in -pre8 or -rc1.
>
>
> net/network.o(.text.lock+0x17b8): undefined reference to `local symbols
> in discarded section .text.exit'
>
> It's kind of impossible to compile the kernel at the moment (even the
> CONFIG_HOTPLUG fix mentioned doesn't work).
>
> I tried downgrading binutils & it didn't work.. possibly I didn't go
> back far enough. What is the newest version that is supposed to work?
>
> Tony