Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

kernel headers - gde ih naci?

[es] :: Linux :: kernel headers - gde ih naci?

[ Pregleda: 1182 | Odgovora: 7 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

SQuIDers
Beograd/Mirijevo

Član broj: 94147
Poruke: 29
212.200.223.*

Sajt: www.cucemose.co.sr


Profil

icon kernel headers - gde ih naci?03.09.2006. u 17:55 - pre 214 meseci
distro: slack 10.2

Dakle, skinuo sam svez kernel (full source) sa linux.com-a u bz2 formatu 2.6.17.11 (49mb).

deinstalirao sam stari kernel source i kernel headere (2.6.13.xx - ne znam tacno)

pratio saam ovaj howto
http://www.slackersbible.org/node/42

prvo sam uradio "make mrproper" a zatim "make menuconfig"

dobijam sledece greske koje su verovatno prouzrokovane nedostatkom kernel headera.

napominjem da sam stari kernel (koji je slack paket) rekompajlirao vec xyz puta bez problema.

Code:
root@squidov:/usr/src/linux# make mrproper
root@squidov:/usr/src/linux# make menuconfig
  HOSTCC  scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
                 from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:204: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:204: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:204: error: for each function it appears in.)
scripts/basic/fixdep.c:204: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:300: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:300: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2


predpostavljam da fale headeri... ali ja ne znam odakle da downloadujem headere za ovu verziju kernela.

gde da nadjem headere... google opet nije pomogao :/
Roflkopter
 
Odgovor na temu

SQuIDers
Beograd/Mirijevo

Član broj: 94147
Poruke: 29
212.200.223.*

Sajt: www.cucemose.co.sr


Profil

icon Re: kernel headers - gde ih naci?03.09.2006. u 18:01 - pre 214 meseci
opa... menuconfig se kompajlirao sa starim headerima...


da nastavim sa ovim starim headerima, ili je ipak bolje naci odgovarajuce headere?
Roflkopter
 
Odgovor na temu

niceness
Novi Sad

Član broj: 93992
Poruke: 993



+22 Profil

icon Re: kernel headers - gde ih naci?03.09.2006. u 19:46 - pre 214 meseci
Jel mozda ovo:
http://mirror.etf.bg.ac.yu/sla...l-headers-2.6.17.11-i386-1.tgz
 
Odgovor na temu

SQuIDers
Beograd/Mirijevo

Član broj: 94147
Poruke: 29
212.200.223.*

Sajt: www.cucemose.co.sr


Profil

icon Re: kernel headers - gde ih naci?03.09.2006. u 20:09 - pre 214 meseci
Not Found

The requested URL /slackware/slackware-current/extra/linux-2.6.17.11/kernel-headers-2.6.17.11-i386-1.tgz was not found on this server.


......

edit:

nasao:)

http://slackware.cs.utah.edu/s...current/extra/linux-2.6.17.11/
Roflkopter
 
Odgovor na temu

niceness
Novi Sad

Član broj: 93992
Poruke: 993



+22 Profil

icon Re: kernel headers - gde ih naci?03.09.2006. u 20:13 - pre 214 meseci
Evo ti lista pa biraj ;)

http://slackware.it/en/pb/pack...ernel-headers-2.6.17.11-i386-1

EDIT:
Vidim da si nasao.
 
Odgovor na temu

SQuIDers
Beograd/Mirijevo

Član broj: 94147
Poruke: 29
212.200.223.*

Sajt: www.cucemose.co.sr


Profil

icon Re: kernel headers - gde ih naci?03.09.2006. u 20:17 - pre 214 meseci
Dakle rezime:

Treba pogledati slack pub servere ^_^ (silly me)
Roflkopter
 
Odgovor na temu

anrxc

Član broj: 43899
Poruke: 452
*.adsl.net.t-com.hr.

Sajt: sysphere.org


Profil

icon Re: kernel headers - gde ih naci?03.09.2006. u 20:21 - pre 214 meseci
Citat:

da nastavim sa ovim starim headerima, ili je ipak bolje naci odgovarajuce headere?

http://slackware.cs.utah.edu/s...6.17.11/kernel-headers.WARNING
You need to install an RTFM interface.
 
Odgovor na temu

Not now, John!

Član broj: 231
Poruke: 1318
87.250.104.*



+4 Profil

icon Re: kernel headers - gde ih naci?03.09.2006. u 22:03 - pre 214 meseci
Da se tvoj problem ne sastoji u ovome?
Citat:
I would suggest that people who compile new kernels should:

- not have a single symbolic link in sight (except the one that the
kernel build itself sets up, namely the "linux/include/asm" symlink
that is only used for the internal kernel compile itself)

And yes, this is what I do. My /usr/src/linux still has the old 2.2.13
header files, even though I haven't run a 2.2.13 kernel in a _loong_
time. But those headers were what Glibc was compiled against, so those
headers are what matches the library object files.

And this is actually what has been the suggested environment for at
least the last five years. I don't know why the symlink business keeps
on living on, like a bad zombie. Pretty much every distribution still
has that broken symlink, and people still remember that the linux
sources should go into "/usr/src/linux" even though that hasn't been
true in a _loong_ time.

Nije trebalo da brišeš kernel-headers iz /usr/include.
"I'd take the awe of understanding over the awe of ignorance any day."
- Douglas Adams
 
Odgovor na temu

[es] :: Linux :: kernel headers - gde ih naci?

[ Pregleda: 1182 | Odgovora: 7 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.