2.6.15 kernel fordítás

Fórumok

Üdv!

Szeretnék kérni segítségt:

Ubuntu 5.10-et telepítettem, pár létfontosságú progit instaláltam. pl mc, gcc, make

kernel.org-ról leszedtem a kernel 2.6.15 forrását. Eddig ok. Ha a make menuconfigot akarom előhozni, sajna hibát ír ki:

hanischz@fairycastle:~/linux-2.6.15$ make menuconfig
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:105:23: error: sys/types.h: Nincs ilyen fájl vagy könyvtár
scripts/basic/fixdep.c:106:22: error: sys/stat.h: Nincs ilyen fájl vagy könyvtár
scripts/basic/fixdep.c:107:22: error: sys/mman.h: Nincs ilyen fájl vagy könyvtár
scripts/basic/fixdep.c:108:20: error: unistd.h: Nincs ilyen fájl vagy könyvtár
scripts/basic/fixdep.c:109:19: error: fcntl.h: Nincs ilyen fájl vagy könyvtár
scripts/basic/fixdep.c:110:20: error: string.h: Nincs ilyen fájl vagy könyvtár
scripts/basic/fixdep.c:111:20: error: stdlib.h: Nincs ilyen fájl vagy könyvtár
...
stb.

Mi lehet a hiba? Talán headers fájlokat kell letölteni? De az miért nincs a kernel.org alatt ill. hol találom? google-ba beírva sajna nem találtam egyértelmű letöltési lehetőséget ill. pontos verziószámot. Ez jó hozzá?

kernel-headers-2.6.15.pi20060104_10.00.Custom_i386.deb

Hozzászólások

a menuconfig azt hiszem ncurses alapú. Fent van a glibc-dev, (vagy mi) ncurses-dev csomag?

Software is like sex, it's better with a penguin. :D (r)(tm)(c)

Sziasztok!

A minap akartam egy új kernelt fordítani Ubuntu 5.10-re, jelenleg az alap 2.6.12-X kernel image van és azt frissítgeti a rendszer.
Mindent úgy csináltam, ahogy a régi debianomon is szoktam, de már a make menuconfignal egy csomo warningot kaptam:


/boot/config-2.6.12-10-k7:157:warning: trying to assign nonexistent symbol ACPI_BOOT
/boot/config-2.6.12-10-k7:158:warning: trying to assign nonexistent symbol ACPI_INTERPRETER
/boot/config-2.6.12-10-k7:175:warning: trying to assign nonexistent symbol ACPI_I2C
/boot/config-2.6.12-10-k7:182:warning: trying to assign nonexistent symbol ACPI_PCI
/boot/config-2.6.12-10-k7:260:warning: trying to assign nonexistent symbol PCI_NAMES
/boot/config-2.6.12-10-k7:387:warning: trying to assign nonexistent symbol MTD_ELAN_104NC
/boot/config-2.6.12-10-k7:659:warning: trying to assign nonexistent symbol MEGARAID_NEWGEN
/boot/config-2.6.12-10-k7:678:warning: trying to assign nonexistent symbol SCSI_CPQFCTS
/boot/config-2.6.12-10-k7:708:warning: trying to assign nonexistent symbol SCSI_PCI2000
/boot/config-2.6.12-10-k7:709:warning: trying to assign nonexistent symbol SCSI_PCI2220I
/boot/config-2.6.12-10-k7:712:warning: trying to assign nonexistent symbol SCSI_QLOGIC_ISP
/boot/config-2.6.12-10-k7:716:warning: trying to assign nonexistent symbol SCSI_QLOGIC_1280_1040
/boot/config-2.6.12-10-k7:785:warning: symbol value 'm' invalid for FUSION
/boot/config-2.6.12-10-k7:867:warning: trying to assign nonexistent symbol IP_TCPDIAG
/boot/config-2.6.12-10-k7:868:warning: trying to assign nonexistent symbol IP_TCPDIAG_IPV6
/boot/config-2.6.12-10-k7:1099:warning: trying to assign nonexistent symbol NET_QOS
/boot/config-2.6.12-10-k7:1236:warning: trying to assign nonexistent symbol BT_HCIUART_BCSP_TXCRC
/boot/config-2.6.12-10-k7:1370:warning: trying to assign nonexistent symbol SK98LIN_NAPI
/boot/config-2.6.12-10-k7:1382:warning: trying to assign nonexistent symbol 2BUFF_MODE
/boot/config-2.6.12-10-k7:1422:warning: trying to assign nonexistent symbol IEEE80211_CRYPT
/boot/config-2.6.12-10-k7:1423:warning: trying to assign nonexistent symbol IEEE80211_WPA
/boot/config-2.6.12-10-k7:1432:warning: trying to assign nonexistent symbol IPW2200_QOS
/boot/config-2.6.12-10-k7:1435:warning: symbol value 'm' invalid for PRISM2
/boot/config-2.6.12-10-k7:1439:warning: trying to assign nonexistent symbol ACX100
/boot/config-2.6.12-10-k7:1440:warning: trying to assign nonexistent symbol RT2500
/boot/config-2.6.12-10-k7:1441:warning: trying to assign nonexistent symbol RT2400
/boot/config-2.6.12-10-k7:1569:warning: trying to assign nonexistent symbol PPP_MPPE_MPPC
/boot/config-2.6.12-10-k7:1819:warning: trying to assign nonexistent symbol GAMEPORT_VORTEX
/boot/config-2.6.12-10-k7:1821:warning: trying to assign nonexistent symbol GAMEPORT_CS461X
/boot/config-2.6.12-10-k7:1864:warning: trying to assign nonexistent symbol SERIAL_8250_MULTIPORT
/boot/config-2.6.12-10-k7:1988:warning: trying to assign nonexistent symbol DRM_GAMMA
/boot/config-2.6.12-10-k7:2065:warning: trying to assign nonexistent symbol I2C_SENSOR
/boot/config-2.6.12-10-k7:2211:warning: trying to assign nonexistent symbol DVB_DIBUSB
/boot/config-2.6.12-10-k7:2212:warning: trying to assign nonexistent symbol DVB_DIBUSB_MISDESIGNED_DEVICES
/boot/config-2.6.12-10-k7:2213:warning: trying to assign nonexistent symbol DVB_DIBCOM_DEBUG
/boot/config-2.6.12-10-k7:2229:warning: trying to assign nonexistent symbol DVB_B2C2_SKYSTAR
/boot/config-2.6.12-10-k7:2315:warning: trying to assign nonexistent symbol FB_SOFT_CURSOR
/boot/config-2.6.12-10-k7:2418:warning: trying to assign nonexistent symbol SND_GENERIC_PM
/boot/config-2.6.12-10-k7:2526:warning: trying to assign nonexistent symbol SND_VXP440
/boot/config-2.6.12-10-k7:2723:warning: trying to assign nonexistent symbol USB_GENESYS
/boot/config-2.6.12-10-k7:2724:warning: trying to assign nonexistent symbol USB_NET1080
/boot/config-2.6.12-10-k7:2725:warning: trying to assign nonexistent symbol USB_PL2301
/boot/config-2.6.12-10-k7:2726:warning: trying to assign nonexistent symbol USB_KC2190
/boot/config-2.6.12-10-k7:2733:warning: trying to assign nonexistent symbol USB_ZAURUS
/boot/config-2.6.12-10-k7:2734:warning: trying to assign nonexistent symbol USB_CDCETHER
/boot/config-2.6.12-10-k7:2739:warning: trying to assign nonexistent symbol USB_AX8817X
/boot/config-2.6.12-10-k7:2743:warning: symbol value 'm' invalid for USB_MON
/boot/config-2.6.12-10-k7:2834:warning: trying to assign nonexistent symbol MMC_BLOCK
/boot/config-2.6.12-10-k7:2859:warning: symbol value 'm' invalid for FS_MBCACHE
/boot/config-2.6.12-10-k7:2922:warning: trying to assign nonexistent symbol DEVFS_FS
/boot/config-2.6.12-10-k7:2923:warning: trying to assign nonexistent symbol DEVFS_MOUNT
/boot/config-2.6.12-10-k7:2924:warning: trying to assign nonexistent symbol DEVFS_DEBUG
/boot/config-2.6.12-10-k7:2925:warning: trying to assign nonexistent symbol DEVPTS_FS_XATTR
/boot/config-2.6.12-10-k7:2926:warning: trying to assign nonexistent symbol DEVPTS_FS_SECURITY
/boot/config-2.6.12-10-k7:2928:warning: trying to assign nonexistent symbol TMPFS_XATTR
/boot/config-2.6.12-10-k7:2929:warning: trying to assign nonexistent symbol TMPFS_SECURITY
/boot/config-2.6.12-10-k7:2934:warning: trying to assign nonexistent symbol FUSE
/boot/config-2.6.12-10-k7:2956:warning: trying to assign nonexistent symbol JFFS2_FS_NAND
/boot/config-2.6.12-10-k7:2957:warning: trying to assign nonexistent symbol JFFS2_FS_NOR_ECC
/boot/config-2.6.12-10-k7:2964:warning: trying to assign nonexistent symbol SQUASHFS_EMBEDDED
/boot/config-2.6.12-10-k7:2965:warning: trying to assign nonexistent symbol SQUASHFS_FRAGMENT_CACHE_SIZE
/boot/config-2.6.12-10-k7:2966:warning: trying to assign nonexistent symbol SQUASHFS_VMALLOC
/boot/config-2.6.12-10-k7:3012:warning: trying to assign nonexistent symbol LOCK_HARNESS
/boot/config-2.6.12-10-k7:3014:warning: trying to assign nonexistent symbol LOCK_NOLOCK
/boot/config-2.6.12-10-k7:3015:warning: trying to assign nonexistent symbol LOCK_DLM
/boot/config-2.6.12-10-k7:3016:warning: trying to assign nonexistent symbol LOCK_GULM
/boot/config-2.6.12-10-k7:3195:warning: trying to assign nonexistent symbol CLUSTER_CMIRROR

Ezután betöltöttem a jelenlegi kernel configját és kiszedtem az ami nem kell (és tényleg csak ahhoz nyúltam ami nem kell, nehogy ez legyen a gondja). Persze a make modules résznél le is állt:


CC [M] drivers/usb/net/zd1211/zddebug.o
drivers/usb/net/zd1211/zddebug.c: In function ‘zd1205_dump_regs’:
drivers/usb/net/zd1211/zddebug.c:57: warning: unused variable ‘flags’
CC [M] drivers/usb/net/zd1211/zdtkipseed.o
CC [M] drivers/usb/net/zd1211/zdmic.o
DEVLIST drivers/usb/net/zd1211/zddevlist.h
make[4]: *** [drivers/usb/net/zd1211/zddevlist.h] Error 1
make[3]: *** [drivers/usb/net/zd1211] Error 2
make[2]: *** [drivers/usb/net] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

Ubuntuhoz elég a "sima" kernel.org-os kernel forrás, vagy valami kibővített kell neki? Vagy itt mi lehet a gond ?

thx,
atis