Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi di compilazione Kernel 2.4.20-gentoo-r2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
FUz
n00b
n00b


Joined: 09 Apr 2003
Posts: 3

PostPosted: Wed Apr 09, 2003 3:07 pm    Post subject: Problemi di compilazione Kernel 2.4.20-gentoo-r2 Reply with quote

Innanzitutto....
Salve a tUTTi, visto che e' la prima volta che scrivo su questo forum :D

Venedo al mio problema... premetto che sono un neofita di linux, dopo una lungha esperienza con i sistemi operativi di microzoZ :?

Dunque, sto incontando un po' di problemi nella compilazione del Kernel v2.4.20-gentoo-r2, ovvero la compilazione va in errore e non viene portata a termine, il tutto da quel che ho capito si inceppa nei passi relativi a IpSec. A tutt'ora sto usando il Kernel v2.4.19-gentoo-r10 con il quale non ho incontrato le stesse difficolta' e sono riuscito a compilare IpSec (e anche il supporto per il firewall)
Il fatto e' che vorrei passare al 2.4.20 perche' vi sono delle migliorie non tracurabili, come il supporto per: l'algoritmo AES, NAT-Traversal (che serve, da quel che ho capito a poter mettere il server vpn dietro a un firewall che fa mascheramento del ip)....

La mia domanda e'..... c'e' qualcuno che mi puo' dare qualche dritta? :)

PS: premetto che ho abilitato anche il supporto ipv6 (come consigliato nell'help del kernel)

cmq, GRaZie fin da ora a tUTTi 8) 8)

CIaoCIao
FUz
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Wed Apr 09, 2003 3:18 pm    Post subject: Reply with quote

Beh, posta l'errore...
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Thu Apr 10, 2003 6:21 am    Post subject: Reply with quote

Se sei alle prime armi ti congilio vivamente di installarti il kernel vanilla, per le versioni patchate di gentoo hai tempo

emerge vanilla-sources

Tra l'altro con questo comando passi direttamente alla 2.4.20

Joe
_________________
One Flew East
One Flew West
Some Flew On The Kukool's Nest
Back to top
View user's profile Send private message
FUz
n00b
n00b


Joined: 09 Apr 2003
Posts: 3

PostPosted: Thu Apr 10, 2003 3:20 pm    Post subject: Giustamente.... Reply with quote

... posto l'errore!
gli ultimi messagi che vengono visualizzati a shell sono:
Quote:
ipsec/ipsec.o(.text+0xfee0): first defined here
ld: Warning: size of symbol `pfkey_init' changed from 297 to 214 in key/key.o
key/key.o(.text+0x1b50): In function `pfkey_msg_hdr_build':
: multiple definition of `pfkey_msg_hdr_build'
ipsec/ipsec.o(.text+0x41dd0): first defined here
ld: Warning: size of symbol `pfkey_msg_hdr_build' changed from 496 to 211 in key/key.o
key/key.o(.text+0x23e0): In function `pfkey_supported_build':
: multiple definition of `pfkey_supported_build'
ipsec/ipsec.o(.text+0x42c5c): first defined here
ld: Warning: size of symbol `pfkey_supported_build' changed from 321 to 246 in key/key.o
key/key.o(.text+0x201c): In function `pfkey_key_build':
: multiple definition of `pfkey_key_build'
ipsec/ipsec.o(.text+0x42710): first defined here
ld: Warning: size of symbol `pfkey_key_build' changed from 372 to 253 in key/key.o
key/key.o(.data+0xc): multiple definition of `pfkey_family_ops'
ipsec/ipsec.o(.data+0xaec): first defined here
key/key.o(.data+0x0): multiple definition of `pfkey_sock_list'
ipsec/ipsec.o(.data+0xae4): first defined here
key/key.o(.text+0xb4e4): In function `ipsec_sysctl_register':
: multiple definition of `ipsec_sysctl_register'
ipsec/ipsec.o(.text+0xe24c): first defined here
ld: Warning: size of symbol `ipsec_sysctl_register' changed from 49 to 32 in key/key.o
key/key.o(.text+0x1e24): In function `pfkey_address_build':
: multiple definition of `pfkey_address_build'
ipsec/ipsec.o(.text+0x42374): first defined here
ld: Warning: size of symbol `pfkey_address_build' changed from 921 to 504 in key/key.o
make[2]: *** [network.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r2/net'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r2/net'
make: *** [_dir_net] Error 2

Aggiungo che ho fatto svariate altre prove...
ho raggiunto un risultato di compilazione portata a termine quando ho indicato di compliare ipsec (e tutto quello collegatovi) come modulo...
ma secondo voi poi mi dara' problemi?
con il kernel 2.4.19-gentoo-r10 ipsec non l'ho compliato come modulo....

Ancora GRasSie mILLe
CIaoCIao
FUz
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Apr 10, 2003 3:58 pm    Post subject: Reply with quote

Modulo o non modulo non cambia niente.
Cmq mi sembra molto un bug.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
enx89
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 192
Location: Milano

PostPosted: Fri Apr 11, 2003 10:01 pm    Post subject: Reply with quote

cerri wrote:
Modulo o non modulo non cambia niente.
Cmq mi sembra molto un bug.

In linea di principio sono d'accordo, ma la pratica mi porta a smentirti!
Ho avuto esperienza di parti del kernel che configurate come moduli compilavano, altrimenti non ne volevano sapere.
ENx
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Apr 12, 2003 5:55 am    Post subject: Reply with quote

Non ci siamo capiti: anche a me e' successo, ma in genere si tratta di un bug.
Volevo dire che all'atto pratico, se una funzione e' compilata o e' un modulo non cambia niente (a meno che non ti serve per fare il boot... ;)).
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
FUz
n00b
n00b


Joined: 09 Apr 2003
Posts: 3

PostPosted: Sat Apr 12, 2003 1:09 pm    Post subject: Risultati ottenuti..... Reply with quote

Dunque....
sempre per rimanere in tema di: modulo, non modulo... i misteri della complilazione... :D
allora sono riuscito a portare a termine la compilazione con questa configurazione:
ipv6 compilato e installato
ipsec compilato come modulo

Ho fatto delle prove preliminari:
caricando il modulo, avviando freeswan e facendo la diagnostica del tunnel sui fururi client della vpn.....
Il tutto sembra andare senza problemi o errori di sorta.... 8O
Quando passero in "produzione" se ho novità vi faccio sapere :wink:

ancora GRasSie

CIaoCIao
FUz
Back to top
View user's profile Send private message
enx89
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 192
Location: Milano

PostPosted: Sat Apr 12, 2003 1:43 pm    Post subject: Reply with quote

cerri wrote:
Non ci siamo capiti: anche a me e' successo, ma in genere si tratta di un bug.
Volevo dire che all'atto pratico, se una funzione e' compilata o e' un modulo non cambia niente (a meno che non ti serve per fare il boot... ;)).

Ok, chiarito l' equivoco :D :D :D
ENx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum