|
Größe: 33589
Kommentar: URLs: Kernelbacken
|
← Revision 12 vom 2009-03-08 14:45:23 ⇥
Größe: 24985
Kommentar: converted to 1.6 markup
|
| Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
| Zeile 1: | Zeile 1: |
| === Update === Using the old gcc, compiling the kernel worked, but then the image was much too big. Therefore, I rearranged the .config file using make menuconfig, and I set many drivers to "module". Now, new errors appear, which I document on ErrorCompilingKernel20031130 ... --- {{{New Knowledge: On my debian system, there is also the gcc-2.95 compiler! Now, I just changed the link from gcc to this older version. However, the finally mentioned error does not vanish. On the other hand, there shouldn't be any need of recompiling the kernel to match the gcc version with the kernel compiler's version...}}} |
|
| Zeile 2: | Zeile 12: |
| (2003 - 11 - 25) I just downloaded the kernel source of version 2.4.22. My gcc's verion is 3.3.2 (Debian). The config file for the |
(2003 - 11 - 28) I just downloaded the kernel source of version 2.4.22. My gcc's verion is 3.3.2 (Debian, x86). The config file for the |
| Zeile 6: | Zeile 16: |
| {{{make dep | {{{make oldconfig make dep |
| Zeile 8: | Zeile 19: |
| }}} I started 'make vmlinuz' and got a first error in usb.h: | }}} I started 'make vmlinux' and got a first error in usb.h: |
| Zeile 140: | Zeile 151: |
| .config: {{{# # Automatically generated by kcmlinuz: don't edit # CONFIG_X86=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=y 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_MK8 is not set # CONFIG_MELAN 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_MVIAC3_2 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_HAS_TSC=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_PGE=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_F00F_WORKS_OK=y CONFIG_X86_MCE=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_HIGHMEM is not set # CONFIG_MATH_EMULATION is not set # CONFIG_MTRR is not set CONFIG_SMP=y # CONFIG_X86_NUMA is not set # CONFIG_X86_TSC_DISABLE is not set CONFIG_X86_TSC=y CONFIG_HAVE_DEC_LOCK=y # # General setup # CONFIG_NET=y CONFIG_X86_IO_APIC=y CONFIG_X86_LOCAL_APIC=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_ISA=y CONFIG_PCI_NAMES=y # CONFIG_EISA is not set # CONFIG_MCA is not set CONFIG_HOTPLUG=y # # PCMCIA/CardBus support # # CONFIG_PCMCIA is not set # # PCI Hotplug Support # # CONFIG_HOTPLUG_PCI is not set # CONFIG_HOTPLUG_PCI_COMPAQ is not set # CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set # CONFIG_HOTPLUG_PCI_IBM is not set # CONFIG_HOTPLUG_PCI_ACPI 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=y CONFIG_PM=y # CONFIG_APM is not set # # ACPI Support # CONFIG_ACPI=y # CONFIG_ACPI_HT_ONLY is not set CONFIG_ACPI_BOOT=y CONFIG_ACPI_BUS=y CONFIG_ACPI_INTERPRETER=y CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_PCI=y CONFIG_ACPI_SLEEP=y CONFIG_ACPI_SYSTEM=y # CONFIG_ACPI_AC is not set # CONFIG_ACPI_BATTERY is not set # CONFIG_ACPI_BUTTON is not set CONFIG_ACPI_FAN=y CONFIG_ACPI_PROCESSOR=y # CONFIG_ACPI_THERMAL is not set # CONFIG_ACPI_ASUS is not set # CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_DEBUG=y CONFIG_ACPI_RELAXED_AML=y # # Memory Technology Devices (MTD) # # CONFIG_MTD is not set # # Parallel port support # # CONFIG_PARPORT is not set # # Plug and Play configuration # CONFIG_PNP=y # 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_CISS_SCSI_TAPE is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM 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 CONFIG_BLK_STATS=y # # 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_DEV is not set # CONFIG_NETFILTER is not set # CONFIG_FILTER is not set CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_MROUTE is not set # CONFIG_INET_ECN is not set # CONFIG_SYN_COOKIES is not set # CONFIG_VLAN_8021Q is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # # Appletalk devices # # CONFIG_DEV_APPLETALK is not set # CONFIG_DECNET is not set # CONFIG_BRIDGE is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set # # Network testing # # CONFIG_NET_PKTGEN 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=y # CONFIG_IDEDISK_STROKE 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=y # CONFIG_IDE_TASK_IOCTL is not set CONFIG_BLK_DEV_CMD640=y # CONFIG_BLK_DEV_CMD640_ENHANCED is not set # CONFIG_BLK_DEV_ISAPNP is not set CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_GENERIC=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_OFFBOARD is not set # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_PCI_WIP is not set CONFIG_BLK_DEV_ADMA100=y # CONFIG_BLK_DEV_AEC62XX 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_TRIFLEX 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=y # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_PDC202XX_BURST is not set # CONFIG_BLK_DEV_PDC202XX_NEW is not set CONFIG_BLK_DEV_RZ1000=y # CONFIG_BLK_DEV_SC1200 is not set # CONFIG_BLK_DEV_SVWKS is not set CONFIG_BLK_DEV_SIIMAGE=y # 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=y # CONFIG_BLK_DEV_ATARAID is not set # CONFIG_BLK_DEV_ATARAID_PDC is not set # CONFIG_BLK_DEV_ATARAID_HPT is not set # CONFIG_BLK_DEV_ATARAID_SII is not set # # SCSI support # CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SD_EXTRA_DEVS=40 # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set # CONFIG_BLK_DEV_SR is not set CONFIG_CHR_DEV_SG=y CONFIG_SCSI_DEBUG_QUEUES=y CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y # # SCSI low-level drivers # # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AHA1542 is not set # CONFIG_SCSI_AHA1740 is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_DPT_I2O 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_CPQFCTS is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_EATA_DMA is not set # CONFIG_SCSI_EATA_PIO is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_GENERIC_NCR5380 is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_NCR53C7xx is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_NCR53C8XX is not set # CONFIG_SCSI_SYM53C8XX is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_PCI2000 is not set # CONFIG_SCSI_PCI2220I is not set # CONFIG_SCSI_PSI240I is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_QLOGIC_ISP is not set # CONFIG_SCSI_QLOGIC_FC is not set # CONFIG_SCSI_QLOGIC_1280 is not set # CONFIG_SCSI_SEAGATE is not set # CONFIG_SCSI_SIM710 is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SCSI_NSP32 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_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_AMD8111_ETH is not set # CONFIG_ADAPTEC_STARFIRE is not set # CONFIG_AC3200 is not set # CONFIG_APRICOT is not set # CONFIG_B44 is not set # CONFIG_CS89x0 is not set # CONFIG_TULIP is not set # CONFIG_DE4X5 is not set # CONFIG_DGRS is not set # CONFIG_DM9102 is not set CONFIG_EEPRO100=y # CONFIG_EEPRO100_PIO is not set # CONFIG_E100 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_8139_OLD_RX_RESET is not set # CONFIG_SIS900 is not set # CONFIG_EPIC100 is not set # CONFIG_SUNDANCE is not set # CONFIG_SUNDANCE_MMIO 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_E1000 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_R8169 is not set # CONFIG_SK98LIN is not set # CONFIG_TIGON3 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=m CONFIG_INPUT_KEYBDEV=m CONFIG_INPUT_MOUSEDEV=m CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 # 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=y # CONFIG_SERIAL_EXTENDED is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_UNIX98_PTYS is not set # # I2C support # # CONFIG_I2C is not set # # Mice # # CONFIG_BUSMOUSE is not set CONFIG_MOUSE=y CONFIG_PSMOUSE=y # CONFIG_82C710_MOUSE is not set # CONFIG_PC110_PAD is not set # CONFIG_MK712_MOUSE is not set # # Joysticks # CONFIG_INPUT_GAMEPORT=m # CONFIG_INPUT_NS558 is not set # CONFIG_INPUT_LIGHTNING is not set # CONFIG_INPUT_PCIGAME is not set CONFIG_INPUT_CS461X=m # CONFIG_INPUT_EMU10K1 is not set # CONFIG_INPUT_SERIO is not set # CONFIG_INPUT_SERPORT is not set # CONFIG_INPUT_ANALOG is not set # CONFIG_INPUT_A3D is not set # CONFIG_INPUT_ADI is not set # CONFIG_INPUT_COBRA is not set # CONFIG_INPUT_GF2K is not set # CONFIG_INPUT_GRIP is not set # CONFIG_INPUT_INTERACT is not set # CONFIG_INPUT_TMDC is not set # CONFIG_INPUT_SIDEWINDER is not set # CONFIG_INPUT_IFORCE_USB is not set # CONFIG_INPUT_IFORCE_232 is not set # CONFIG_INPUT_WARRIOR is not set # CONFIG_INPUT_MAGELLAN is not set # CONFIG_INPUT_SPACEORB is not set # CONFIG_INPUT_SPACEBALL is not set # CONFIG_INPUT_STINGER is not set # CONFIG_INPUT_DB9 is not set # CONFIG_INPUT_GAMECON is not set # CONFIG_INPUT_TURBOGRAFX is not set # CONFIG_QIC02_TAPE is not set # CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_PANIC_EVENT is not set # CONFIG_IPMI_DEVICE_INTERFACE is not set # CONFIG_IPMI_KCS is not set # CONFIG_IPMI_WATCHDOG is not set # # Watchdog Cards # # CONFIG_WATCHDOG is not set # CONFIG_SCx200_GPIO is not set # CONFIG_AMD_RNG is not set # CONFIG_INTEL_RNG is not set # CONFIG_AMD_PM768 is not set # CONFIG_NVRAM is not set CONFIG_RTC=m # 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=y CONFIG_AGP_INTEL=y CONFIG_AGP_I810=y CONFIG_AGP_VIA=y # CONFIG_AGP_AMD is not set # CONFIG_AGP_AMD_8151 is not set CONFIG_AGP_SIS=y # CONFIG_AGP_ALI is not set # CONFIG_AGP_SWORKS is not set CONFIG_AGP_NVIDIA=y CONFIG_DRM=y # CONFIG_DRM_OLD is not set CONFIG_DRM_NEW=y CONFIG_DRM_TDFX=y # CONFIG_DRM_R128 is not set # CONFIG_DRM_RADEON is not set # CONFIG_DRM_I810 is not set # CONFIG_DRM_I810_XFREE_41 is not set # CONFIG_DRM_I830 is not set # CONFIG_DRM_MGA is not set CONFIG_DRM_SIS=m # CONFIG_MWAVE is not set # # Multimedia devices # CONFIG_VIDEO_DEV=m # # Video For Linux # CONFIG_VIDEO_PROC_FS=y # CONFIG_I2C_PARPORT is not set # CONFIG_VIDEO_BT848 is not set # CONFIG_VIDEO_PMS is not set CONFIG_VIDEO_CPIA=m # CONFIG_VIDEO_CPIA_PP is not set # CONFIG_VIDEO_CPIA_USB is not set # CONFIG_VIDEO_SAA5249 is not set # CONFIG_TUNER_3036 is not set # CONFIG_VIDEO_ZORAN is not set # CONFIG_VIDEO_ZORAN_BUZ is not set # CONFIG_VIDEO_ZORAN_DC10 is not set # CONFIG_VIDEO_ZORAN_LML33 is not set # CONFIG_VIDEO_ZR36120 is not set # # Radio Adapters # # CONFIG_RADIO_CADET is not set # CONFIG_RADIO_RTRACK is not set # CONFIG_RADIO_RTRACK2 is not set # CONFIG_RADIO_AZTECH is not set # CONFIG_RADIO_GEMTEK is not set # CONFIG_RADIO_GEMTEK_PCI is not set # CONFIG_RADIO_MAXIRADIO is not set # CONFIG_RADIO_MAESTRO is not set # CONFIG_RADIO_MIROPCM20 is not set # CONFIG_RADIO_MIROPCM20_RDS is not set # CONFIG_RADIO_SF16FMI is not set # CONFIG_RADIO_SF16FMR2 is not set # CONFIG_RADIO_TERRATEC is not set # CONFIG_RADIO_TRUST is not set # CONFIG_RADIO_TYPHOON is not set # CONFIG_RADIO_ZOLTRIX is not set # # File systems # # CONFIG_QUOTA is not set # CONFIG_QFMT_V2 is not set CONFIG_AUTOFS_FS=y CONFIG_AUTOFS4_FS=y CONFIG_REISERFS_FS=y CONFIG_REISERFS_CHECK=y CONFIG_REISERFS_PROC_INFO=y # 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_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BEFS_DEBUG is not set # CONFIG_BFS_FS is not set CONFIG_EXT3_FS=y CONFIG_JBD=y CONFIG_JBD_DEBUG=y CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y # CONFIG_UMSDOS_FS is not set CONFIG_VFAT_FS=y # CONFIG_EFS_FS is not set # CONFIG_JFFS_FS is not set # CONFIG_JFFS2_FS is not set CONFIG_CRAMFS=m CONFIG_TMPFS=y CONFIG_RAMFS=y CONFIG_ISO9660_FS=y CONFIG_JOLIET=y CONFIG_ZISOFS=y # CONFIG_JFS_FS is not set # CONFIG_JFS_DEBUG is not set # CONFIG_JFS_STATISTICS is not set # CONFIG_MINIX_FS is not set # CONFIG_VXFS_FS is not set CONFIG_NTFS_FS=m # CONFIG_NTFS_RW is not set CONFIG_HPFS_FS=m 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 is not set # CONFIG_QNX4FS_FS is not set # CONFIG_QNX4FS_RW is not set CONFIG_ROMFS_FS=y CONFIG_EXT2_FS=y # CONFIG_SYSV_FS is not set CONFIG_UDF_FS=y # 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=y CONFIG_NFS_V3=y # CONFIG_NFS_DIRECTIO is not set # CONFIG_ROOT_NFS is not set CONFIG_NFSD=y # CONFIG_NFSD_V3 is not set # CONFIG_NFSD_TCP is not set CONFIG_SUNRPC=y CONFIG_LOCKD=y |
Now, I learned that there should be a line {#define CONFIG_NLS_DEFAULT "iso8859-1"} in file {include/linux/autoconf.h}! Having added this definition, the error above was gone. Next one is this: {{{make -C lockd make[2]: Entering directory `/data/src/linux-2.4.22/fs/lockd' make all_targets make[3]: Entering directory `/data/src/linux-2.4.22/fs/lockd' gcc -D__KERNEL__ -I/data/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=svc4proc -c -o svc4proc.o svc4proc.c svc4proc.c:564: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:564: error: initializer element is not constant svc4proc.c:564: error: (near initialization for `nlmsvc_procedures4[0].pc_decode') svc4proc.c:564: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:564: error: initializer element is not constant svc4proc.c:564: error: (near initialization for `nlmsvc_procedures4[0].pc_encode') svc4proc.c:564: error: initializer element is not constant svc4proc.c:564: error: (near initialization for `nlmsvc_procedures4[0]') svc4proc.c:565: error: `nlm4svc_decode_testargs' undeclared here (not in a function) svc4proc.c:565: error: initializer element is not constant svc4proc.c:565: error: (near initialization for `nlmsvc_procedures4[1].pc_decode') svc4proc.c:565: error: `nlm4svc_encode_testres' undeclared here (not in a function) svc4proc.c:565: error: initializer element is not constant svc4proc.c:565: error: (near initialization for `nlmsvc_procedures4[1].pc_encode') svc4proc.c:565: error: initializer element is not constant svc4proc.c:565: error: (near initialization for `nlmsvc_procedures4[1]') svc4proc.c:566: error: `nlm4svc_decode_lockargs' undeclared here (not in a function) svc4proc.c:566: error: initializer element is not constant svc4proc.c:566: error: (near initialization for `nlmsvc_procedures4[2].pc_decode') svc4proc.c:566: error: `nlm4svc_encode_res' undeclared here (not in a function) svc4proc.c:566: error: initializer element is not constant svc4proc.c:566: error: (near initialization for `nlmsvc_procedures4[2].pc_encode') svc4proc.c:566: error: initializer element is not constant svc4proc.c:566: error: (near initialization for `nlmsvc_procedures4[2]') svc4proc.c:567: error: `nlm4svc_decode_cancargs' undeclared here (not in a function) svc4proc.c:567: error: initializer element is not constant svc4proc.c:567: error: (near initialization for `nlmsvc_procedures4[3].pc_decode') svc4proc.c:567: error: `nlm4svc_encode_res' undeclared here (not in a function) svc4proc.c:567: error: initializer element is not constant svc4proc.c:567: error: (near initialization for `nlmsvc_procedures4[3].pc_encode') svc4proc.c:567: error: initializer element is not constant svc4proc.c:567: error: (near initialization for `nlmsvc_procedures4[3]') svc4proc.c:568: error: `nlm4svc_decode_unlockargs' undeclared here (not in a function) svc4proc.c:568: error: initializer element is not constant svc4proc.c:568: error: (near initialization for `nlmsvc_procedures4[4].pc_decode') svc4proc.c:568: error: `nlm4svc_encode_res' undeclared here (not in a function) svc4proc.c:568: error: initializer element is not constant svc4proc.c:568: error: (near initialization for `nlmsvc_procedures4[4].pc_encode') svc4proc.c:568: error: initializer element is not constant svc4proc.c:568: error: (near initialization for `nlmsvc_procedures4[4]') svc4proc.c:569: error: `nlm4svc_decode_testargs' undeclared here (not in a function) svc4proc.c:569: error: initializer element is not constant svc4proc.c:569: error: (near initialization for `nlmsvc_procedures4[5].pc_decode') svc4proc.c:569: error: `nlm4svc_encode_res' undeclared here (not in a function) svc4proc.c:569: error: initializer element is not constant svc4proc.c:569: error: (near initialization for `nlmsvc_procedures4[5].pc_encode') svc4proc.c:569: error: initializer element is not constant svc4proc.c:569: error: (near initialization for `nlmsvc_procedures4[5]') svc4proc.c:570: error: `nlm4svc_decode_testargs' undeclared here (not in a function) svc4proc.c:570: error: initializer element is not constant svc4proc.c:570: error: (near initialization for `nlmsvc_procedures4[6].pc_decode') svc4proc.c:570: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:570: error: initializer element is not constant svc4proc.c:570: error: (near initialization for `nlmsvc_procedures4[6].pc_encode') svc4proc.c:570: error: initializer element is not constant svc4proc.c:570: error: (near initialization for `nlmsvc_procedures4[6]') svc4proc.c:571: error: `nlm4svc_decode_lockargs' undeclared here (not in a function) svc4proc.c:571: error: initializer element is not constant svc4proc.c:571: error: (near initialization for `nlmsvc_procedures4[7].pc_decode') svc4proc.c:571: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:571: error: initializer element is not constant svc4proc.c:571: error: (near initialization for `nlmsvc_procedures4[7].pc_encode') svc4proc.c:571: error: initializer element is not constant svc4proc.c:571: error: (near initialization for `nlmsvc_procedures4[7]') svc4proc.c:572: error: `nlm4svc_decode_cancargs' undeclared here (not in a function) svc4proc.c:572: error: initializer element is not constant svc4proc.c:572: error: (near initialization for `nlmsvc_procedures4[8].pc_decode') svc4proc.c:572: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:572: error: initializer element is not constant svc4proc.c:572: error: (near initialization for `nlmsvc_procedures4[8].pc_encode') svc4proc.c:572: error: initializer element is not constant svc4proc.c:572: error: (near initialization for `nlmsvc_procedures4[8]') svc4proc.c:573: error: `nlm4svc_decode_unlockargs' undeclared here (not in a function) svc4proc.c:573: error: initializer element is not constant svc4proc.c:573: error: (near initialization for `nlmsvc_procedures4[9].pc_decode') svc4proc.c:573: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:573: error: initializer element is not constant svc4proc.c:573: error: (near initialization for `nlmsvc_procedures4[9].pc_encode') svc4proc.c:573: error: initializer element is not constant svc4proc.c:573: error: (near initialization for `nlmsvc_procedures4[9]') svc4proc.c:574: error: `nlm4svc_decode_testargs' undeclared here (not in a function) svc4proc.c:574: error: initializer element is not constant svc4proc.c:574: error: (near initialization for `nlmsvc_procedures4[10].pc_decode') svc4proc.c:574: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:574: error: initializer element is not constant svc4proc.c:574: error: (near initialization for `nlmsvc_procedures4[10].pc_encode') svc4proc.c:574: error: initializer element is not constant svc4proc.c:574: error: (near initialization for `nlmsvc_procedures4[10]') svc4proc.c:575: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:575: error: initializer element is not constant svc4proc.c:575: error: (near initialization for `nlmsvc_procedures4[11].pc_decode') svc4proc.c:575: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:575: error: initializer element is not constant svc4proc.c:575: error: (near initialization for `nlmsvc_procedures4[11].pc_encode') svc4proc.c:575: error: initializer element is not constant svc4proc.c:575: error: (near initialization for `nlmsvc_procedures4[11]') svc4proc.c:576: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:576: error: initializer element is not constant svc4proc.c:576: error: (near initialization for `nlmsvc_procedures4[12].pc_decode') svc4proc.c:576: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:576: error: initializer element is not constant svc4proc.c:576: error: (near initialization for `nlmsvc_procedures4[12].pc_encode') svc4proc.c:576: error: initializer element is not constant svc4proc.c:576: error: (near initialization for `nlmsvc_procedures4[12]') svc4proc.c:577: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:577: error: initializer element is not constant svc4proc.c:577: error: (near initialization for `nlmsvc_procedures4[13].pc_decode') svc4proc.c:577: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:577: error: initializer element is not constant svc4proc.c:577: error: (near initialization for `nlmsvc_procedures4[13].pc_encode') svc4proc.c:577: error: initializer element is not constant svc4proc.c:577: error: (near initialization for `nlmsvc_procedures4[13]') svc4proc.c:578: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:578: error: initializer element is not constant svc4proc.c:578: error: (near initialization for `nlmsvc_procedures4[14].pc_decode') svc4proc.c:578: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:578: error: initializer element is not constant svc4proc.c:578: error: (near initialization for `nlmsvc_procedures4[14].pc_encode') svc4proc.c:578: error: initializer element is not constant svc4proc.c:578: error: (near initialization for `nlmsvc_procedures4[14]') svc4proc.c:579: error: `nlm4svc_decode_res' undeclared here (not in a function) svc4proc.c:579: error: initializer element is not constant svc4proc.c:579: error: (near initialization for `nlmsvc_procedures4[15].pc_decode') svc4proc.c:579: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:579: error: initializer element is not constant svc4proc.c:579: error: (near initialization for `nlmsvc_procedures4[15].pc_encode') svc4proc.c:579: error: initializer element is not constant svc4proc.c:579: error: (near initialization for `nlmsvc_procedures4[15]') svc4proc.c:581: error: `nlm4svc_decode_reboot' undeclared here (not in a function) svc4proc.c:581: error: initializer element is not constant svc4proc.c:581: error: (near initialization for `nlmsvc_procedures4[16].pc_decode') svc4proc.c:581: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:581: error: initializer element is not constant svc4proc.c:581: error: (near initialization for `nlmsvc_procedures4[16].pc_encode') svc4proc.c:581: error: initializer element is not constant svc4proc.c:581: error: (near initialization for `nlmsvc_procedures4[16]') svc4proc.c:582: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:582: error: initializer element is not constant svc4proc.c:582: error: (near initialization for `nlmsvc_procedures4[17].pc_decode') svc4proc.c:582: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:582: error: initializer element is not constant svc4proc.c:582: error: (near initialization for `nlmsvc_procedures4[17].pc_encode') svc4proc.c:582: error: initializer element is not constant svc4proc.c:582: error: (near initialization for `nlmsvc_procedures4[17]') svc4proc.c:583: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:583: error: initializer element is not constant svc4proc.c:583: error: (near initialization for `nlmsvc_procedures4[18].pc_decode') svc4proc.c:583: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:583: error: initializer element is not constant svc4proc.c:583: error: (near initialization for `nlmsvc_procedures4[18].pc_encode') svc4proc.c:583: error: initializer element is not constant svc4proc.c:583: error: (near initialization for `nlmsvc_procedures4[18]') svc4proc.c:584: error: `nlm4svc_decode_void' undeclared here (not in a function) svc4proc.c:584: error: initializer element is not constant svc4proc.c:584: error: (near initialization for `nlmsvc_procedures4[19].pc_decode') svc4proc.c:584: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:584: error: initializer element is not constant svc4proc.c:584: error: (near initialization for `nlmsvc_procedures4[19].pc_encode') svc4proc.c:584: error: initializer element is not constant svc4proc.c:584: error: (near initialization for `nlmsvc_procedures4[19]') svc4proc.c:585: error: `nlm4svc_decode_shareargs' undeclared here (not in a function) svc4proc.c:585: error: initializer element is not constant svc4proc.c:585: error: (near initialization for `nlmsvc_procedures4[20].pc_decode') svc4proc.c:585: error: `nlm4svc_encode_shareres' undeclared here (not in a function) svc4proc.c:585: error: initializer element is not constant svc4proc.c:585: error: (near initialization for `nlmsvc_procedures4[20].pc_encode') svc4proc.c:585: error: initializer element is not constant svc4proc.c:585: error: (near initialization for `nlmsvc_procedures4[20]') svc4proc.c:586: error: `nlm4svc_decode_shareargs' undeclared here (not in a function) svc4proc.c:586: error: initializer element is not constant svc4proc.c:586: error: (near initialization for `nlmsvc_procedures4[21].pc_decode') svc4proc.c:586: error: `nlm4svc_encode_shareres' undeclared here (not in a function) svc4proc.c:586: error: initializer element is not constant svc4proc.c:586: error: (near initialization for `nlmsvc_procedures4[21].pc_encode') svc4proc.c:586: error: initializer element is not constant svc4proc.c:586: error: (near initialization for `nlmsvc_procedures4[21]') svc4proc.c:587: error: `nlm4svc_decode_lockargs' undeclared here (not in a function) svc4proc.c:587: error: initializer element is not constant svc4proc.c:587: error: (near initialization for `nlmsvc_procedures4[22].pc_decode') svc4proc.c:587: error: `nlm4svc_encode_res' undeclared here (not in a function) svc4proc.c:587: error: initializer element is not constant svc4proc.c:587: error: (near initialization for `nlmsvc_procedures4[22].pc_encode') svc4proc.c:587: error: initializer element is not constant svc4proc.c:587: error: (near initialization for `nlmsvc_procedures4[22]') svc4proc.c:588: error: `nlm4svc_decode_notify' undeclared here (not in a function) svc4proc.c:588: error: initializer element is not constant svc4proc.c:588: error: (near initialization for `nlmsvc_procedures4[23].pc_decode') svc4proc.c:588: error: `nlm4svc_encode_void' undeclared here (not in a function) svc4proc.c:588: error: initializer element is not constant svc4proc.c:588: error: (near initialization for `nlmsvc_procedures4[23].pc_encode') svc4proc.c:588: error: initializer element is not constant svc4proc.c:588: error: (near initialization for `nlmsvc_procedures4[23]') make[3]: *** [svc4proc.o] Error 1 make[2]: *** [first_rule] Error 2 make[1]: *** [_subdir_lockd] Error 2 make: *** [_dir_fs] Error 2}}} This problem is fixed by changing the line |
| Zeile 878: | Zeile 357: |
| CONFIG_SMB_FS=y CONFIG_SMB_NLS_DEFAULT=y CONFIG_SMB_NLS_REMOTE="cp437" # 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=y # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_MINIX_SUBPARTITION is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_EFI_PARTITION is not set CONFIG_SMB_NLS=y CONFIG_NLS=y # # Native Language Support # CONFIG_NLS_DEFAULT="iso8859-15" CONFIG_NLS_CODEPAGE_437=y # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set CONFIG_NLS_CODEPAGE_850=y # 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_1250 is not set # CONFIG_NLS_CODEPAGE_1251 is not set CONFIG_NLS_ISO8859_1=y # 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=y # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set CONFIG_NLS_UTF8=y # # Console drivers # CONFIG_VGA_CONSOLE=y # CONFIG_VIDEO_SELECT is not set # # Sound # CONFIG_SOUND=y # CONFIG_SOUND_ALI5455 is not set # CONFIG_SOUND_BT878 is not set # CONFIG_SOUND_CMPCI is not set # CONFIG_SOUND_EMU10K1 is not set # CONFIG_MIDI_EMU10K1 is not set CONFIG_SOUND_FUSION=y # CONFIG_SOUND_CS4281 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_MAESTRO3 is not set # CONFIG_SOUND_FORTE is not set # CONFIG_SOUND_ICH is not set # CONFIG_SOUND_RME96XX 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_VIA82CXXX is not set # CONFIG_MIDI_VIA82CXXX is not set CONFIG_SOUND_OSS=m # CONFIG_SOUND_TRACEINIT is not set # CONFIG_SOUND_DMAP is not set # CONFIG_SOUND_SGALAXY is not set # CONFIG_SOUND_ADLIB is not set # CONFIG_SOUND_ACI_MIXER is not set CONFIG_SOUND_CS4232=m # 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_PAS_JOYSTICK is not set # CONFIG_SOUND_PSS is not set # CONFIG_SOUND_SB is not set # CONFIG_SOUND_AWE32_SYNTH is not set # CONFIG_SOUND_KAHLUA is not set # CONFIG_SOUND_WAVEFRONT is not set # CONFIG_SOUND_MAUI is not set CONFIG_SOUND_YM3812=m # CONFIG_SOUND_OPL3SA1 is not set CONFIG_SOUND_OPL3SA2=m # CONFIG_SOUND_YMFPCI is not set # CONFIG_SOUND_YMFPCI_LEGACY is not set # CONFIG_SOUND_UART6850 is not set # CONFIG_SOUND_AEDSP16 is not set # CONFIG_SOUND_TVMIXER is not set # # USB support # CONFIG_USB=y # CONFIG_USB_DEBUG is not set CONFIG_USB_DEVICEFS=y # CONFIG_USB_BANDWIDTH is not set # CONFIG_USB_EHCI_HCD is not set CONFIG_USB_UHCI_ALT=y # CONFIG_USB_OHCI is not set # CONFIG_USB_AUDIO is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_MIDI is not set CONFIG_USB_STORAGE=y # 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=y # CONFIG_USB_STORAGE_HP8200e is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_ACM is not set CONFIG_USB_PRINTER=y # CONFIG_USB_HID is not set # CONFIG_USB_HIDINPUT is not set # CONFIG_USB_HIDDEV is not set # CONFIG_USB_KBD is not set # CONFIG_USB_MOUSE is not set # CONFIG_USB_AIPTEK is not set # CONFIG_USB_WACOM is not set # CONFIG_USB_KBTAB is not set # CONFIG_USB_POWERMATE is not set # CONFIG_USB_DC2XX is not set # CONFIG_USB_MDC800 is not set CONFIG_USB_SCANNER=y # CONFIG_USB_MICROTEK is not set # CONFIG_USB_HPUSBSCSI is not set # CONFIG_USB_IBMCAM is not set # CONFIG_USB_KONICAWC is not set # CONFIG_USB_OV511 is not set # CONFIG_USB_PWC is not set # CONFIG_USB_SE401 is not set # CONFIG_USB_STV680 is not set # CONFIG_USB_VICAM is not set # CONFIG_USB_DSBR is not set # CONFIG_USB_DABUSB is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_CATC is not set # CONFIG_USB_AX8817X 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_RIO500 is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_TIGL is not set # CONFIG_USB_BRLVGER is not set # CONFIG_USB_LCD is not set # # Bluetooth support # # CONFIG_BLUEZ is not set # # Kernel hacking # # CONFIG_DEBUG_KERNEL is not set # # Cryptographic options # CONFIG_CRYPTO=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_NULL=y CONFIG_CRYPTO_MD4=y CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_SHA1=y CONFIG_CRYPTO_SHA256=y CONFIG_CRYPTO_SHA512=y CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_BLOWFISH=y CONFIG_CRYPTO_TWOFISH=y CONFIG_CRYPTO_SERPENT=y CONFIG_CRYPTO_AES=y CONFIG_CRYPTO_DEFLATE=y CONFIG_CRYPTO_TEST=y # # Library routines # CONFIG_CRC32=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y }}} |
to #CONFIG_LOCKD_V4=y in the .config-file (which disables the new lockd feature, whatever that is). |
Update
Using the old gcc, compiling the kernel worked, but then the image was much too big. Therefore, I rearranged the .config file using make menuconfig, and I set many drivers to "module". Now, new errors appear, which I document on ErrorCompilingKernel20031130 ... ---
{{{New Knowledge: On my debian system, there is also the gcc-2.95 compiler! Now, I just changed the link from gcc to this older version. However, the finally mentioned error does not vanish. On the other hand, there shouldn't be any need of recompiling the kernel to match the gcc version with the kernel compiler's version...}}}
Documentation of Errors that Prevent Kernel Compilation
(2003 - 11 - 28)
I just downloaded the kernel source of version 2.4.22. My gcc's verion is 3.3.2 (Debian, x86). The config file for the compilation is quoted below. After {{{make oldconfig make dep make clean }}} I started 'make vmlinux' and got a first error in usb.h: {{{make all_targets make[3]: Entering directory `/data/src/linux-2.4.22/drivers/usb' gcc -DKERNEL -I/data/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=usb -DEXPORT_SYMTAB -c usb.c gcc -DKERNEL -I/data/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=usb_debug -c -o usb-debug.o usb-debug.c gcc -DKERNEL -I/data/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=hub -c -o hub.o hub.c gcc -DKERNEL -I/data/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=devio -c -o devio.o devio.c gcc -DKERNEL -I/data/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-comon -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=inode -c -o inode.o inode.c inode.c:681: error: redefinition of `usbdevfs_add_bus' /data/src/linux-2.4.22/include/linux/usb.h:1119: error: `usbdevfs_add_bus' previously defined here inode.c:693: error: redefinition of `usbdevfs_remove_bus' /data/src/linux-2.4.22/include/linux/usb.h:1120: error: `usbdevfs_remove_bus' previously defined here inode.c:703: error: redefinition of `usbdevfs_add_device' /data/src/linux-2.4.22/include/linux/usb.h:1121: error: `usbdevfs_add_device' previously defined here inode.c:715: error: redefinition of `usbdevfs_remove_device' /data/src/linux-2.4.22/include/linux/usb.h:1122: error: `usbdevfs_remove_device' previously defined here inode.c:750: error: redefinition of `usbdevfs_init' /data/src/linux-2.4.22/include/linux/usb.h:1124: error: `usbdevfs_init' previously defined here inode.c:775: error: redefinition of `usbdevfs_cleanup' /data/src/linux-2.4.22/include/linux/usb.h:1125: error: `usbdevfs_cleanup' previously defined here make[3]: *** [inode.o] Error 1 make[3]: Leaving directory `/data/src/linux-2.4.22/drivers/usb' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/data/src/linux-2.4.22/drivers/usb' make[1]: *** [_subdir_usb] Error 2 make[1]: Leaving directory `/data/src/linux-2.4.22/drivers' make: *** [_dir_drivers] Error 2 }}} As this seemed due to a non-working #ifdef/#else fork in the header file, now I commented out the affected lines 1119 to 1125: {{{#ifdef CONFIG_USB_DEVICEFS
extern void usbdevfs_add_bus(struct usb_bus *bus); extern void usbdevfs_remove_bus(struct usb_bus *bus); extern void usbdevfs_add_device(struct usb_device *dev); extern void usbdevfs_remove_device(struct usb_device *dev);
extern int usbdevfs_init(void); extern void usbdevfs_cleanup(void);
#else