Re: Linux-2.3.47pre doesn't compile for me (raid)

From: Frank Bernard (fb@fbit.de)
Date: Sat Feb 19 2000 - 10:01:46 EST


make dep; make clean; make bzImage works for me (2.3.47pre6)
There is a version.h in include/linux/

Mit freundlichen Grüßen / kind regards

Frank Bernard

Frank Bernard Informationstechnik GmbH
vanity +49 700 FIREWALL (0700 FIREWALL) phone : +49 69 477169
Dipl.-Inform. Frank Bernard fax : +49 69 47885616
Wehrheimerstr. 9 email : fb@fbit.de
60389 Frankfurt www : http://www.fbit.de
Germany http://www.linuxwall.de

On Sat, 19 Feb 2000 t.n.vanderleeuw@chello.nl wrote:

> Hello,
>
> Trying to compile linux-2.3.47[3|6] I get the following error:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.3/include -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -c -o init/main.o init/main.c
> In file included from /usr/src/linux-2.3/include/linux/raid/md.h:41,
> from init/main.c:24:
> /usr/src/linux-2.3/include/linux/raid/md_compatible.h:16: linux/version.h: No such file or directory
> make: *** [init/main.o] Error 1
>
> My config is:
>
> #
> # Automatically generated make config: don't edit
> #
> CONFIG_X86=y
> CONFIG_ISA=y
> CONFIG_UID16=y
>
> #
> # 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_M586TSC=y
> # CONFIG_M686 is not set
> # CONFIG_MK6 is not set
> # CONFIG_MK7 is not set
> CONFIG_X86_WP_WORKS_OK=y
> CONFIG_X86_INVLPG=y
> CONFIG_X86_BSWAP=y
> CONFIG_X86_POPAD_OK=y
> CONFIG_X86_TSC=y
> # CONFIG_MICROCODE 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_IOAPIC=y
> CONFIG_X86_IO_APIC=y
> CONFIG_X86_LOCAL_APIC=y
>
> #
> # Loadable module support
> #
> CONFIG_MODULES=y
> # CONFIG_MODVERSIONS is not set
> CONFIG_KMOD=y
>
> #
> # General setup
> #
> CONFIG_NET=y
> # CONFIG_VISWS is not set
> 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_MCA is not set
> CONFIG_HOTPLUG=y
>
> #
> # PCMCIA/CardBus support
> #
> # CONFIG_PCMCIA is not set
> CONFIG_SYSVIPC=y
> CONFIG_BSD_PROCESS_ACCT=y
> CONFIG_SYSCTL=y
> CONFIG_KCORE_ELF=y
> # CONFIG_KCORE_AOUT is not set
> CONFIG_BINFMT_AOUT=m
> CONFIG_BINFMT_ELF=y
> CONFIG_BINFMT_MISC=m
> CONFIG_PARPORT=m
> CONFIG_PARPORT_PC=m
> CONFIG_PARPORT_PC_FIFO=y
> # CONFIG_PARPORT_AMIGA is not set
> # CONFIG_PARPORT_MFC3 is not set
> # CONFIG_PARPORT_ATARI is not set
> # CONFIG_PARPORT_SUNBPP is not set
> CONFIG_PARPORT_OTHER=y
> CONFIG_PARPORT_1284=y
> # CONFIG_ACPI 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=y
> CONFIG_APM_IGNORE_MULTIPLE_SUSPEND=y
> CONFIG_APM_IGNORE_SUSPEND_BOUNCE=y
> # CONFIG_APM_RTC_IS_GMT is not set
> CONFIG_APM_ALLOW_INTS=y
> # CONFIG_APM_BAD_ENTRY_OFFSET is not set
> # CONFIG_APM_REAL_MODE_POWER_OFF is not set
>
> #
> # Plug and Play configuration
> #
> CONFIG_PNP=m
> CONFIG_ISAPNP=m
>
> #
> # 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_IDEDISK_MULTI_MODE=y
> CONFIG_BLK_DEV_IDECD=m
> # CONFIG_BLK_DEV_IDETAPE is not set
> # CONFIG_BLK_DEV_IDEFLOPPY is not set
> # CONFIG_BLK_DEV_IDESCSI is not set
>
> #
> # IDE chipset support/bugfixes
> #
> # CONFIG_BLK_DEV_CMD640 is not set
> # CONFIG_BLK_DEV_RZ1000 is not set
> CONFIG_BLK_DEV_IDEPCI=y
> CONFIG_BLK_DEV_IDEDMA_PCI=y
> CONFIG_IDEDMA_PCI_AUTO=y
> # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
> CONFIG_IDEDMA_PCI_EXPERIMENTAL=y
> # CONFIG_BLK_DEV_OFFBOARD is not set
> # CONFIG_BLK_DEV_AEC6210 is not set
> CONFIG_BLK_DEV_ALI15X3=y
> # CONFIG_BLK_DEV_AMD7409 is not set
> CONFIG_BLK_DEV_CMD64X=y
> # CONFIG_BLK_DEV_CMD64X_RAID is not set
> # CONFIG_BLK_DEV_CY82C693 is not set
> # CONFIG_BLK_DEV_HPT34X is not set
> # CONFIG_BLK_DEV_HPT366 is not set
> # CONFIG_BLK_DEV_PIIX 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_BLK_DEV_SIS5513=y
> # CONFIG_BLK_DEV_CS5530 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_VIA82CXXX is not set
> CONFIG_BLK_DEV_IDEDMA=y
> CONFIG_IDEDMA_AUTO=y
> # CONFIG_IDE_CHIPSETS is not set
> # CONFIG_BLK_CPQ_DA is not set
>
> #
> # Additional Block Devices
> #
> CONFIG_BLK_DEV_LOOP=m
> CONFIG_BLK_DEV_NBD=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_DAC960 is not set
> CONFIG_PARIDE=m
> CONFIG_PARIDE_PARPORT=m
>
> #
> # Parallel IDE high-level drivers
> #
> # CONFIG_PARIDE_PD is not set
> # CONFIG_PARIDE_PCD is not set
> # CONFIG_PARIDE_PF is not set
> # CONFIG_PARIDE_PT is not set
> # CONFIG_PARIDE_PG is not set
>
> #
> # Parallel IDE protocol modules
> #
> # CONFIG_PARIDE_ATEN is not set
> # CONFIG_PARIDE_BPCK is not set
> # CONFIG_PARIDE_COMM is not set
> # CONFIG_PARIDE_DSTR is not set
> # CONFIG_PARIDE_FIT2 is not set
> # CONFIG_PARIDE_FIT3 is not set
> # CONFIG_PARIDE_EPAT is not set
> # CONFIG_PARIDE_EPIA is not set
> # CONFIG_PARIDE_FRIQ is not set
> # CONFIG_PARIDE_FRPW is not set
> # CONFIG_PARIDE_KBIC is not set
> # CONFIG_PARIDE_KTTI is not set
> # CONFIG_PARIDE_ON20 is not set
> CONFIG_PARIDE_ON26=m
> CONFIG_BLK_DEV_IDE_MODES=y
> # CONFIG_BLK_DEV_HD is not set
>
> #
> # Networking options
> #
> CONFIG_PACKET=m
> CONFIG_PACKET_MMAP=y
> # CONFIG_NETLINK is not set
> # CONFIG_NETFILTER is not set
> CONFIG_FILTER=y
> 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=y
> CONFIG_SYN_COOKIES=y
>
> #
> # (it is safe to leave these untouched)
> #
> CONFIG_SKB_LARGE=y
> # CONFIG_IPV6 is not set
> CONFIG_KHTTPD=m
> # CONFIG_ATM is not set
>
> #
> #
> #
> # CONFIG_IPX is not set
> # CONFIG_ATALK is not set
> # CONFIG_DECNET 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
>
> #
> # QoS and/or fair queueing
> #
> # CONFIG_NET_SCHED is not set
>
> #
> # Telephony Support
> #
> # CONFIG_PHONE is not set
> # CONFIG_PHONE_IXJ is not set
>
> #
> # SCSI support
> #
> # CONFIG_SCSI is not set
>
> #
> # IEEE 1394 (FireWire) support
> #
> # CONFIG_IEEE1394 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_EQUALIZER is not set
> # CONFIG_NET_SB1000 is not set
>
> #
> # Ethernet (10 or 100Mbit)
> #
> CONFIG_NET_ETHERNET=y
> CONFIG_NET_VENDOR_3COM=y
> # CONFIG_EL1 is not set
> # CONFIG_EL2 is not set
> # CONFIG_ELPLUS is not set
> # CONFIG_EL16 is not set
> CONFIG_EL3=m
> # CONFIG_3C515 is not set
> # CONFIG_VORTEX 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_NET_ISA=y
> # CONFIG_E2100 is not set
> # CONFIG_EEXPRESS is not set
> # CONFIG_EEXPRESS_PRO is not set
> # CONFIG_HPLAN_PLUS is not set
> # CONFIG_HPLAN is not set
> # CONFIG_HP100 is not set
> CONFIG_NE2000=m
> # CONFIG_SK_G16 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_DE4X5 is not set
> CONFIG_TULIP=m
> # CONFIG_DGRS is not set
> # CONFIG_DM9102 is not set
> # CONFIG_EEXPRESS_PRO100 is not set
> # CONFIG_LNE390 is not set
> # CONFIG_NE3210 is not set
> CONFIG_NE2K_PCI=m
> # CONFIG_RTL8129 is not set
> # CONFIG_8139TOO is not set
> # CONFIG_SIS900 is not set
> # CONFIG_TLAN is not set
> # CONFIG_VIA_RHINE is not set
> # CONFIG_ES3210 is not set
> # CONFIG_EPIC100 is not set
> # CONFIG_NET_POCKET is not set
>
> #
> # Ethernet (1000 Mbit)
> #
> # CONFIG_YELLOWFIN is not set
> # CONFIG_ACENIC is not set
> # CONFIG_SK98LIN is not set
> # CONFIG_FDDI is not set
> # CONFIG_HIPPI 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 driver support
> #
> # CONFIG_TR is not set
> # CONFIG_NET_FC is not set
> # CONFIG_RCPCI is not set
> # CONFIG_SHAPER 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
>
> #
> # Character devices
> #
> CONFIG_VT=y
> CONFIG_VT_CONSOLE=y
> CONFIG_SERIAL=y
> CONFIG_SERIAL_CONSOLE=y
> # 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=y
> CONFIG_PPDEV=m
>
> #
> # I2C support
> #
> # CONFIG_I2C is not set
>
> #
> # Mice
> #
> # CONFIG_BUSMOUSE is not set
> CONFIG_MOUSE=y
> CONFIG_PSMOUSE=y
> CONFIG_82C710_MOUSE=y
> # CONFIG_PC110_PAD is not set
>
> #
> # Joysticks
> #
> # CONFIG_JOYSTICK is not set
> # CONFIG_QIC02_TAPE is not set
>
> #
> # Watchdog Cards
> #
> # CONFIG_WATCHDOG is not set
> # CONFIG_NVRAM is not set
> # CONFIG_RTC is not set
>
> #
> # Video For Linux
> #
> # CONFIG_VIDEO_DEV 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_DRM=y
> CONFIG_DRM_TDFX=m
> # CONFIG_DRM_GAMMA is not set
> # CONFIG_AGP is not set
>
> #
> # USB support
> #
> # CONFIG_USB is not set
>
> #
> # Misc devices
> #
>
> #
> # Filesystems
> #
> # CONFIG_QUOTA is not set
> CONFIG_AUTOFS_FS=m
> CONFIG_AUTOFS4_FS=m
> # CONFIG_ADFS_FS is not set
> # CONFIG_AFFS_FS is not set
> # CONFIG_HFS_FS is not set
> # CONFIG_BFS_FS is not set
> CONFIG_FAT_FS=y
> # CONFIG_MSDOS_FS is not set
> # CONFIG_UMSDOS_FS is not set
> CONFIG_VFAT_FS=y
> # CONFIG_EFS_FS is not set
> # CONFIG_CRAMFS is not set
> CONFIG_ISO9660_FS=m
> CONFIG_JOLIET=y
> CONFIG_MINIX_FS=m
> # CONFIG_NTFS_FS is not set
> # CONFIG_HPFS_FS is not set
> CONFIG_PROC_FS=y
> # CONFIG_DEVFS_FS is not set
> # CONFIG_DEVFS_DEBUG is not set
> CONFIG_DEVPTS_FS=y
> # CONFIG_QNX4FS_FS 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_UFS_FS is not set
>
> #
> # Network File Systems
> #
> CONFIG_CODA_FS=m
> CONFIG_NFS_FS=m
> # CONFIG_ROOT_NFS is not set
> CONFIG_NFSD=m
> # CONFIG_NFSD_V3 is not set
> CONFIG_SUNRPC=m
> CONFIG_LOCKD=m
> CONFIG_SMB_FS=m
> # CONFIG_NCP_FS is not set
>
> #
> # Partition Types
> #
> # CONFIG_PARTITION_ADVANCED is not set
> CONFIG_MSDOS_PARTITION=y
> CONFIG_NLS=y
>
> #
> # Native Language Support
> #
> CONFIG_NLS_CODEPAGE_437=m
> CONFIG_NLS_CODEPAGE_737=m
> CONFIG_NLS_CODEPAGE_775=m
> CONFIG_NLS_CODEPAGE_850=m
> CONFIG_NLS_CODEPAGE_852=m
> CONFIG_NLS_CODEPAGE_855=m
> CONFIG_NLS_CODEPAGE_857=m
> CONFIG_NLS_CODEPAGE_860=m
> CONFIG_NLS_CODEPAGE_861=m
> CONFIG_NLS_CODEPAGE_862=m
> CONFIG_NLS_CODEPAGE_863=m
> CONFIG_NLS_CODEPAGE_864=m
> CONFIG_NLS_CODEPAGE_865=m
> CONFIG_NLS_CODEPAGE_866=m
> CONFIG_NLS_CODEPAGE_869=m
> CONFIG_NLS_CODEPAGE_874=m
> CONFIG_NLS_ISO8859_1=m
> CONFIG_NLS_ISO8859_2=m
> CONFIG_NLS_ISO8859_3=m
> CONFIG_NLS_ISO8859_4=m
> CONFIG_NLS_ISO8859_5=m
> CONFIG_NLS_ISO8859_6=m
> CONFIG_NLS_ISO8859_7=m
> CONFIG_NLS_ISO8859_8=m
> CONFIG_NLS_ISO8859_9=m
> CONFIG_NLS_ISO8859_14=m
> CONFIG_NLS_ISO8859_15=m
> CONFIG_NLS_KOI8_R=m
>
> #
> # Console drivers
> #
> CONFIG_VGA_CONSOLE=y
> CONFIG_VIDEO_SELECT=y
> # CONFIG_MDA_CONSOLE is not set
>
> #
> # Frame-buffer support
> #
> CONFIG_FB=y
> CONFIG_DUMMY_CONSOLE=y
> # CONFIG_FB_RIVA is not set
> # CONFIG_FB_CLGEN is not set
> # CONFIG_FB_PM2 is not set
> # CONFIG_FB_VESA is not set
> # CONFIG_FB_VGA16 is not set
> CONFIG_VIDEO_SELECT=y
> # CONFIG_FB_MATROX is not set
> # CONFIG_FB_ATY is not set
> # CONFIG_FB_ATY128 is not set
> CONFIG_FB_3DFX=y
> # CONFIG_FB_VIRTUAL is not set
> # CONFIG_FBCON_ADVANCED is not set
> CONFIG_FBCON_CFB8=y
> CONFIG_FBCON_CFB16=y
> CONFIG_FBCON_CFB32=y
> # CONFIG_FBCON_FONTWIDTH8_ONLY is not set
> CONFIG_FBCON_FONTS=y
> CONFIG_FONT_8x8=y
> CONFIG_FONT_8x16=y
> CONFIG_FONT_SUN8x16=y
> CONFIG_FONT_SUN12x22=y
> CONFIG_FONT_6x11=y
> # CONFIG_FONT_PEARL_8x8 is not set
> # CONFIG_FONT_ACORN_8x8 is not set
>
> #
> # Sound
> #
> CONFIG_SOUND=m
> # CONFIG_SOUND_CMPCI is not set
> # CONFIG_SOUND_ES1370 is not set
> # CONFIG_SOUND_ES1371 is not set
> # CONFIG_SOUND_ESSSOLO1 is not set
> # CONFIG_SOUND_MAESTRO is not set
> # CONFIG_SOUND_SONICVIBES is not set
> # CONFIG_SOUND_TRIDENT is not set
> # CONFIG_SOUND_MSNDCLAS is not set
> # CONFIG_SOUND_MSNDPIN is not set
> CONFIG_SOUND_OSS=m
> # CONFIG_SOUND_AD1816 is not set
> # CONFIG_SOUND_SGALAXY is not set
> # CONFIG_SOUND_CS4232 is not set
> # CONFIG_SOUND_SSCAPE is not set
> # CONFIG_SOUND_GUS is not set
> # CONFIG_SOUND_VMIDI is not set
> # CONFIG_SOUND_TRIX is not set
> # CONFIG_SOUND_MSS is not set
> # CONFIG_SOUND_MPU401 is not set
> # CONFIG_SOUND_NM256 is not set
> # CONFIG_SOUND_MAD16 is not set
> # CONFIG_SOUND_PAS is not set
> # CONFIG_SOUND_PSS is not set
> # CONFIG_SOUND_SOFTOSS is not set
> CONFIG_SOUND_SB=m
> # CONFIG_SOUND_WAVEFRONT is not set
> # CONFIG_SOUND_MAUI is not set
> # CONFIG_SOUND_VIA82CXXX is not set
> # CONFIG_SOUND_YM3812 is not set
> # CONFIG_SOUND_OPL3SA1 is not set
> # CONFIG_SOUND_OPL3SA2 is not set
> # CONFIG_SOUND_UART6850 is not set
>
> #
> # Additional low level sound drivers
> #
> # CONFIG_LOWLEVEL_SOUND is not set
>
> #
> # Kernel hacking
> #
> CONFIG_MAGIC_SYSRQ=y
>
>
>
> -
> 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.tux.org/lkml/
>

-
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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:23 EST