lkml.org 
[lkml]   [1997]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject2.1.21 compile problems
      Two problems with 2.1.21:

    1) there are some typos in init/main.c
    Change line 981 to contain:
    int error, i, pid;

    instead of
    int errori;

    2) I still get the following errors on linking:

    ld -m elf_i386 -Ttext 0xC0100000 -e stext arch/i386/kernel/head.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 net/network.a \
    fs/filesystems.a \
    drivers/block/block.a drivers/char/char.a drivers/net/net.a
    drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/pci/pci.a \
    /vindaloo/linux/kernel/linux/arch/i386/lib/lib.a
    /vindaloo/linux/kernel/linux/lib/lib.a
    /vindaloo/linux/kernel/linux/arch/i386/lib/lib.a -o vmlinux
    kernel/kernel.o: In function `init_modules':
    kernel/kernel.o(.text+0x3ebd): undefined reference to `__stop___ksymtab'
    kernel/kernel.o(.text+0x3ec2): undefined reference to `__start___ksymtab'
    kernel/kernel.o(.data+0x3614): undefined reference to `__start___ksymtab'
    kernel/kernel.o(.data+0x3628): undefined reference to `__start___ex_table'
    kernel/kernel.o(.data+0x362c): undefined reference to `__stop___ex_table'
    make: *** [vmlinux] Error 1

    This problem has been here since 2.1.19 at least.
    I'm running gcc 2.7.2, ld version 2.7 (with BFD 2.7.0.3) and
    modutils-970104. My .config follows:

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

    #
    # Code maturity level options
    #
    CONFIG_EXPERIMENTAL=y

    #
    # Loadable module support
    #
    CONFIG_MODULES=y
    # CONFIG_MODVERSIONS is not set
    # CONFIG_KERNELD is not set

    #
    # 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_MCA is not set
    CONFIG_SYSVIPC=y
    CONFIG_BINFMT_AOUT=y
    CONFIG_BINFMT_ELF=y
    CONFIG_BINFMT_JAVA=m
    # CONFIG_M386 is not set
    # CONFIG_M486 is not set
    CONFIG_M586=y
    # CONFIG_M686 is not set
    CONFIG_VIDEO_SELECT=y

    #
    # Floppy, IDE, and other block devices
    #
    CONFIG_BLK_DEV_FD=m
    CONFIG_BLK_DEV_IDE=y

    #
    # Please see Documentation/ide.txt for help/info on IDE drives
    #
    # CONFIG_BLK_DEV_HD_IDE is not set
    CONFIG_BLK_DEV_IDEDISK=y
    CONFIG_BLK_DEV_IDECD=m
    CONFIG_BLK_DEV_IDETAPE=m
    CONFIG_BLK_DEV_IDEFLOPPY=m
    # CONFIG_BLK_DEV_IDESCSI is not set
    CONFIG_BLK_DEV_CMD640=y
    # CONFIG_BLK_DEV_CMD640_ENHANCED is not set
    CONFIG_BLK_DEV_RZ1000=y
    CONFIG_BLK_DEV_TRITON=y
    # CONFIG_IDE_CHIPSETS is not set

    #
    # Additional Block Devices
    #
    CONFIG_BLK_DEV_LOOP=m
    # CONFIG_BLK_DEV_MD is not set
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_INITRD=y
    # CONFIG_BLK_DEV_XD is not set
    # CONFIG_BLK_DEV_EZ is not set
    # CONFIG_BLK_DEV_HD is not set

    #
    # Networking options
    #
    # CONFIG_NETLINK is not set
    # CONFIG_FIREWALL is not set
    # CONFIG_NET_ALIAS is not set
    CONFIG_INET=y
    CONFIG_IP_FORWARD=y
    # CONFIG_IP_MULTICAST is not set
    # CONFIG_IP_ACCT is not set
    # CONFIG_IP_ROUTER is not set
    CONFIG_NET_IPIP=m

    #
    # (it is safe to leave these untouched)
    #
    # CONFIG_INET_PCTCP is not set
    CONFIG_INET_RARP=m
    CONFIG_PATH_MTU_DISCOVERY=y
    CONFIG_IP_NOSR=y
    CONFIG_SKB_LARGE=y
    # CONFIG_IPV6 is not set

    #
    #
    #
    # CONFIG_IPX is not set
    # CONFIG_ATALK is not set
    # CONFIG_AX25 is not set
    # CONFIG_X25 is not set
    # CONFIG_LAPB is not set
    # CONFIG_BRIDGE is not set
    # CONFIG_LLC is not set

    #
    # SCSI support
    #
    CONFIG_SCSI=y

    #
    # SCSI support type (disk, tape, CD-ROM)
    #
    CONFIG_BLK_DEV_SD=y
    CONFIG_CHR_DEV_ST=m
    CONFIG_BLK_DEV_SR=m
    CONFIG_BLK_DEV_SR_VENDOR=y
    CONFIG_CHR_DEV_SG=m

    #
    # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
    #
    # CONFIG_SCSI_MULTI_LUN is not set
    CONFIG_SCSI_CONSTANTS=y

    #
    # SCSI low-level drivers
    #
    # CONFIG_SCSI_7000FASST is not set
    CONFIG_SCSI_AHA152X=m
    CONFIG_SCSI_AHA1542=m
    CONFIG_SCSI_AHA1740=m
    CONFIG_SCSI_AIC7XXX=m
    # CONFIG_SCSI_ADVANSYS is not set
    # CONFIG_SCSI_IN2000 is not set
    # CONFIG_SCSI_AM53C974 is not set
    # CONFIG_SCSI_BUSLOGIC is not set
    # CONFIG_SCSI_DTC3280 is not set
    # CONFIG_SCSI_EATA_DMA is not set
    # CONFIG_SCSI_EATA_PIO is not set
    # CONFIG_SCSI_EATA is not set
    # CONFIG_SCSI_FUTURE_DOMAIN is not set
    # CONFIG_SCSI_GENERIC_NCR5380 is not set
    # CONFIG_SCSI_NCR53C406A is not set
    # CONFIG_SCSI_NCR53C7xx is not set
    CONFIG_SCSI_NCR53C8XX=y
    CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE=y
    # CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
    CONFIG_SCSI_NCR53C8XX_MAX_TAGS=4
    CONFIG_SCSI_NCR53C8XX_SYNC=10
    # CONFIG_SCSI_PPA is not set
    # CONFIG_SCSI_PAS16 is not set
    # CONFIG_SCSI_QLOGIC_FAS is not set
    # CONFIG_SCSI_QLOGIC_ISP is not set
    # CONFIG_SCSI_SEAGATE is not set
    # CONFIG_SCSI_T128 is not set
    # CONFIG_SCSI_U14_34F is not set
    # CONFIG_SCSI_ULTRASTOR is not set

    #
    # Network device support
    #
    CONFIG_NETDEVICES=y
    # CONFIG_ARCNET is not set
    CONFIG_DUMMY=m
    CONFIG_EQUALIZER=m
    CONFIG_NET_ETHERNET=y
    CONFIG_NET_VENDOR_3COM=y
    CONFIG_EL1=m
    CONFIG_EL2=m
    CONFIG_ELPLUS=m
    CONFIG_EL16=m
    CONFIG_EL3=m
    CONFIG_VORTEX=m
    # CONFIG_LANCE is not set
    CONFIG_NET_VENDOR_SMC=y
    CONFIG_WD80x3=m
    CONFIG_ULTRA=m
    CONFIG_SMC9194=m
    CONFIG_NET_ISA=y
    # CONFIG_AT1700 is not set
    # CONFIG_E2100 is not set
    # CONFIG_DEPCA is not set
    # CONFIG_EWRK3 is not set
    # CONFIG_EEXPRESS is not set
    # CONFIG_EEXPRESS_PRO is not set
    # CONFIG_FMV18X is not set
    # CONFIG_HPLAN_PLUS is not set
    # CONFIG_HPLAN is not set
    # CONFIG_HP100 is not set
    # CONFIG_ETH16I is not set
    CONFIG_NE2000=m
    # CONFIG_NI52 is not set
    # CONFIG_NI65 is not set
    # CONFIG_SEEQ8005 is not set
    # CONFIG_SK_G16 is not set
    # CONFIG_NET_EISA is not set
    # CONFIG_NET_POCKET is not set
    # CONFIG_FDDI is not set
    # CONFIG_DLCI is not set
    CONFIG_PLIP=m
    CONFIG_PPP=m

    #
    # CCP compressors for PPP are only built as modules.
    #
    # CONFIG_NET_RADIO is not set
    CONFIG_SLIP=m
    CONFIG_SLIP_COMPRESSED=y
    # CONFIG_SLIP_SMART is not set
    # CONFIG_SLIP_MODE_SLIP6 is not set
    # CONFIG_TR is not set
    # CONFIG_SHAPER is not set

    #
    # ISDN subsystem
    #
    # CONFIG_ISDN is not set

    #
    # CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
    #
    CONFIG_CD_NO_IDESCSI=y
    # CONFIG_AZTCD is not set
    # CONFIG_GSCD is not set
    CONFIG_SBPCD=m
    # CONFIG_BPCD is not set
    # CONFIG_MCD is not set
    # CONFIG_MCDX is not set
    # CONFIG_OPTCD is not set
    # CONFIG_CM206 is not set
    # CONFIG_SJCD is not set
    # CONFIG_CDI_INIT is not set
    # CONFIG_CDU31A is not set
    # CONFIG_CDU535 is not set

    #
    # Filesystems
    #
    # CONFIG_QUOTA is not set
    # CONFIG_MINIX_FS is not set
    CONFIG_EXT2_FS=y
    CONFIG_FAT_FS=m
    CONFIG_MSDOS_FS=m
    CONFIG_VFAT_FS=m
    # CONFIG_UMSDOS_FS is not set
    CONFIG_PROC_FS=y
    CONFIG_NFS_FS=m
    CONFIG_SMB_FS=m
    CONFIG_SMB_WIN95=y
    CONFIG_ISO9660_FS=m
    CONFIG_HPFS_FS=m
    CONFIG_SYSV_FS=m
    # CONFIG_AFFS_FS is not set
    CONFIG_ROMFS_FS=m
    CONFIG_UFS_FS=m
    CONFIG_BSD_DISKLABEL=y
    CONFIG_SMD_DISKLABEL=y

    #
    # Character devices
    #
    CONFIG_SERIAL=y
    # CONFIG_DIGI is not set
    # CONFIG_CYCLADES is not set
    # CONFIG_STALDRV is not set
    # CONFIG_RISCOM8 is not set
    # CONFIG_ESPSERIAL is not set
    CONFIG_PRINTER=m
    CONFIG_MOUSE=y
    CONFIG_ATIXL_BUSMOUSE=m
    CONFIG_BUSMOUSE=m
    CONFIG_MS_BUSMOUSE=m
    CONFIG_PSMOUSE=m
    # CONFIG_82C710_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=y
    # CONFIG_WATCHDOG_NOWAYOUT is not set
    # CONFIG_WDT is not set
    CONFIG_SOFT_WATCHDOG=m
    # CONFIG_PCWATCHDOG is not set
    CONFIG_RTC=y

    #
    # Sound
    #
    # CONFIG_SOUND is not set

    #
    # Kernel hacking
    #
    # CONFIG_PROFILE is not set


    Regards,

    Richard....

    \
     
     \ /
      Last update: 2005-03-22 13:38    [W:0.029 / U:7.268 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site