[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel compile



Another thing that might help is which compiler version you're
running.  There are some notes on the cygnus website about egcs
and linux kernels.  I had problems the first time I tried using
the egcs 1.0Xa (X=2 or 3 -- can't remember) last summer.  I snagged
and built egcs 1.1b from sources and making 2.1.12X has worked
fine.  I expect to have to do it again.  Just the way things seem
to be.  There were several threads late last summer about this,
available on the redhat archive.
HTH,
-ls-  

"John" <may_j@popmail.firn.edu> wrote:
> Sorry, but I wasn't sure what to send, anyway, here is the info:
> 
> I am running a Jensen (DEC 2000 AXP) Firmware 1.7 and Arc
> Trying to compile kernel version 2.0.36
> 
> Here is my .config:
> 
> #
> # Automatically generated by make menuconfig: don't edit
> #
> #
> # Code maturity level options
> #
> CONFIG_EXPERIMENTAL=y
> #
> # Loadable module support
> #
> CONFIG_MODULES=y
> # CONFIG_MODVERSIONS is not set
> CONFIG_KERNELD=y
> #
> # General setup
> #
> CONFIG_NATIVE=y
> # CONFIG_ALPHA_AVANTI is not set
> # CONFIG_ALPHA_XL is not set
> # CONFIG_ALPHA_XLT is not set
> # CONFIG_ALPHA_CABRIOLET is not set
> # CONFIG_ALPHA_EB66 is not set
> # CONFIG_ALPHA_EB66P is not set
> # CONFIG_ALPHA_EB64P is not set
> # CONFIG_ALPHA_EB164 is not set
> # CONFIG_ALPHA_PC164 is not set
> # CONFIG_ALPHA_LX164 is not set
> # CONFIG_ALPHA_SX164 is not set
> CONFIG_ALPHA_JENSEN=y
> # CONFIG_ALPHA_NONAME is not set
> # CONFIG_ALPHA_TAKARA is not set
> # CONFIG_ALPHA_MIKASA is not set
> # CONFIG_ALPHA_NORITAKE is not set
> # CONFIG_ALPHA_ALCOR is not set
> # CONFIG_ALPHA_MIATA is not set
> # CONFIG_ALPHA_SABLE is not set
> # CONFIG_ALPHA_BOOK1 is not set
> # CONFIG_ALPHA_RUFFIAN is not set
> # CONFIG_ALPHA_P2K is not set
> CONFIG_ALPHA_EV4=y
> CONFIG_ALPHA_NEED_ROUNDING_EMULATION=y
> CONFIG_ALPHA_SRM=y
> # CONFIG_ALPHA_SRM_SETUP is not set
> # CONFIG_KGDB is not set
> # CONFIG_SERIAL_ECHO is not set
> CONFIG_NET=y
> CONFIG_SYSVIPC=y
> CONFIG_BINFMT_AOUT=y
> CONFIG_BINFMT_ELF=y
> CONFIG_BINFMT_EM86=y
> #
> # Floppy, IDE, and other block devices
> #
> CONFIG_BLK_DEV_FD=y
> # 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=y
> # CONFIG_BLK_DEV_INITRD is not set
> # CONFIG_BLK_DEV_XD is not set
> # CONFIG_PARIDE is not set
> # CONFIG_BLK_DEV_HD is not set
> #
> # Networking options
> #
> CONFIG_FIREWALL=y
> # CONFIG_NET_ALIAS is not set
> CONFIG_INET=y
> # CONFIG_IP_FORWARD is not set
> # CONFIG_IP_MULTICAST is not set
> # CONFIG_SYN_COOKIES is not set
> CONFIG_IP_FIREWALL=y
> # CONFIG_IP_FIREWALL_VERBOSE is not set
> # CONFIG_IP_MASQUERADE is not set
> CONFIG_IP_TRANSPARENT_PROXY=y
> # CONFIG_IP_ALWAYS_DEFRAG is not set
> # CONFIG_IP_ACCT is not set
> # CONFIG_IP_ROUTER is not set
> # CONFIG_NET_IPIP 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=y
> CONFIG_IPX=m
> # CONFIG_ATALK is not set
> # CONFIG_AX25 is not set
> # CONFIG_BRIDGE is not set
> # CONFIG_NETLINK is not set
> #
> # SCSI support
> #
> CONFIG_SCSI=y
> CONFIG_BLK_DEV_SD=y
> CONFIG_CHR_DEV_ST=y
> CONFIG_BLK_DEV_SR=y
> # CONFIG_CHR_DEV_SG is not set
> # CONFIG_SCSI_MULTI_LUN is not set
> CONFIG_SCSI_CONSTANTS=y
> #
> # SCSI low-level drivers
> #
> # CONFIG_SCSI_7000FASST is not set
> # CONFIG_SCSI_AHA152X is not set
> # CONFIG_SCSI_AHA1542 is not set
> CONFIG_SCSI_AHA1740=y
> # CONFIG_SCSI_AIC7XXX is not set
> # CONFIG_SCSI_ADVANSYS is not set
> # CONFIG_SCSI_IN2000 is not set
> # CONFIG_SCSI_AM53C974 is not set
> # CONFIG_SCSI_MEGARAID 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_PPA is not set
> # CONFIG_SCSI_PAS16 is not set
> # CONFIG_SCSI_QLOGIC_FAS 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
> # CONFIG_SCSI_GDTH is not set
> #
> # Network device support
> #
> CONFIG_NETDEVICES=y
> CONFIG_DUMMY=y
> # CONFIG_EQUALIZER 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_NET_ETHERNET=y
> # CONFIG_NET_VENDOR_3COM is not set
> # CONFIG_NET_VENDOR_SMC is not set
> CONFIG_NET_PCI=y
> # CONFIG_PCNET32 is not set
> # CONFIG_EEXPRESS_PRO100B is not set
> CONFIG_DE4X5=y
> # CONFIG_DEC_ELCP is not set
> # CONFIG_DGRS is not set
> # CONFIG_NE2K_PCI is not set
> # CONFIG_YELLOWFIN is not set
> # CONFIG_RTL8139 is not set
> # CONFIG_EPIC is not set
> # CONFIG_TLAN is not set
> # CONFIG_VIA_RHINE is not set
> # CONFIG_NET_ISA is not set
> # CONFIG_NET_EISA is not set
> # CONFIG_NET_POCKET is not set
> # CONFIG_TR is not set
> # CONFIG_FDDI is not set
> # CONFIG_ARCNET is not set
> # CONFIG_SHAPER is not set
> # CONFIG_RCPCI 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_EXT_FS is not set
> CONFIG_EXT2_FS=y
> # CONFIG_XIA_FS is not set
> CONFIG_NLS=y
> CONFIG_ISO9660_FS=y
> CONFIG_FAT_FS=y
> CONFIG_MSDOS_FS=y
> # CONFIG_UMSDOS_FS is not set
> CONFIG_VFAT_FS=y
> # CONFIG_NLS_CODEPAGE_437 is not set
> # 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
> CONFIG_PROC_FS=y
> CONFIG_NFS_FS=y
> # CONFIG_ROOT_NFS is not set
> CONFIG_SMB_FS=y
> CONFIG_SMB_WIN95=y
> # CONFIG_NCP_FS is not set
> CONFIG_HPFS_FS=y
> # CONFIG_SYSV_FS is not set
> # CONFIG_AUTOFS_FS is not set
> # CONFIG_AFFS_FS is not set
> CONFIG_UFS_FS=y
> # CONFIG_BSD_DISKLABEL is not set
> # CONFIG_SMD_DISKLABEL is not set
> #
> # Character devices
> #
> CONFIG_SERIAL=y
> # CONFIG_DIGI is not set
> # CONFIG_CYCLADES is not set
> # CONFIG_ISI is not set
> # CONFIG_STALDRV is not set
> # CONFIG_RISCOM8 is not set
> CONFIG_PRINTER=y
> # CONFIG_SPECIALIX is not set
> 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_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 is not set
> #
> # Kernel hacking
> #
> # CONFIG_PROFILE is not set
> 
> The last lines of the make are:
> 
> de4x5.c(.text+0x2cb4: undefined reference to 'pcibios_find_class'
> de4x5.c(.text+0x2cb8: undefined reference to 'pcibios_find_class'
> de4x5.c(.text+0x2d08: undefined reference to 'pcibios_read_config_word'
> de4x5.c(.text+0x2d0c: undefined reference to 'pcibios_read_config_word'
> de4x5.c(.text+0x2d34: undefined reference to 'pcibios_read_config_word'
> de4x5.c(.text+0x2d38: undefined reference to 'pcibios_read_config_word'
> de4x5.c(.text+0x2dd0: undefined reference to 'pcibios_read_config_dword'
> de4x5.c(.text+0x2dd4: undefined reference to 'pcibios_read_config_dword'
> de4x5.c(.text+0x2e3c: undefined reference to 'pcibios_read_config_dword'
> de4x5.c(.text+0x2e40: undefined reference to 'pcibios_read_config_dword'
> de4x5.c(.text+0x2e70: undefined reference to 'pcibios_read_config_byte'
> de4x5.c(.text+0x2e74: undefined reference to 'pcibios_read_config_byte'
> de4x5.c(.text+0x2ebc: undefined reference to 'pcibios_read_config_word'
> de4x5.c(.text+0x2ec0: undefined reference to 'pcibios_read_config_word'
> drivers/net/net.a(de4x5.o): In fuction 'yawn':
> de4x5.c(.text+0xb07c: undefined reference to 'pcibios_write_config_byte'
> de4x5.c(.text+0xb080: undefined reference to 'pcibios_write_config_byte'
> de4x5.c(.text+0xb100: undefined reference to 'pcibios_write_config_byte'
> de4x5.c(.text+0xb104: undefined reference to 'pcibios_write_config_byte'
> make: *** [vmlinux] Error 1
> 
> To make the kernel I did:
>   1.) make config
>   2.) make dep
>   3.) make boot
> 
> I even checked the top level makefile for errors....
> 
> Any help would be appreciated
> 
> Thank you.
> 
> >Sure, there are lots of people on this list that can help, but you've
> >got to help us. _You_ have to provide much more info...
> >
> >ie.
> >
> > - alpha platform
> > - kernel version
> > - /usr/src/linux/.config file
> > - last 20 or so lines of the make output
> > - are you following the build procedure correctly?
> > - ie. make config; make dep; make clean; make boot
> > - etc, etc
> >
> >ie. reports like yours are woefully inadequate to try to debug
> >problems.
> >
> >Carpe viam,
> >Mike
> >
> ><*> Michael Larocque - mlarocque@home.com <*>
> >      http://members.home.net/mlarocque
> >An idle CPU is a terrible thing to waste - www.distributed.net
> >
> >-- 
> >To unsubscribe: send e-mail to axp-list-request@redhat.com with
> >'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> >
> >
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []