kernel 2.6.4, dopo rimozione tgz 2.4.20 non posso compilare
Inviato: mer 28 apr 2004, 11:10
Ciao,
<BR>
<BR>ho compilato il kernel 2.6.4 con successo. Il sistema funziona, così ho pensato di rimuovere tutti i tgz del vecchio kernel di slack 9, il 2.4.20. Il problema è che ora non riesco più a compilare, lanciando il ./configure di qualsiasi sorgente ottengo:
<BR>
<BR>checking for C compiler default output... a.out
<BR>checking whether the C compiler works... yes
<BR>checking whether we are cross compiling... no
<BR>checking for suffix of executables...
<BR>checking for suffix of object files... o
<BR>checking whether we are using the GNU C compiler... yes
<BR>checking whether gcc accepts -g... yes
<BR>checking for gcc option to accept ANSI C... none needed
<BR>checking dependency style of gcc... gcc3
<BR>checking how to run the C preprocessor... /lib/cpp
<BR>configure: error: C preprocessor "/lib/cpp" fails sanity check
<BR>See `config.log´ for more details.
<BR>
<BR>Dai log risulta che il preprocessore non trova alcuni header files .h che sono presenti nel sistema ma evidentemente nel posto sbagliato. Credo che sia una questione di link simbolici da effettuare ma tra chi ? Qualcuno di voi che ha compilato il kernel 2.6.x ed ha tolto i vecchi header mi può dare una mano ? Senza gcc sono perduto !
<BR>
<BR>Grazie,<br>
<BR>
<BR>ho compilato il kernel 2.6.4 con successo. Il sistema funziona, così ho pensato di rimuovere tutti i tgz del vecchio kernel di slack 9, il 2.4.20. Il problema è che ora non riesco più a compilare, lanciando il ./configure di qualsiasi sorgente ottengo:
<BR>
<BR>checking for C compiler default output... a.out
<BR>checking whether the C compiler works... yes
<BR>checking whether we are cross compiling... no
<BR>checking for suffix of executables...
<BR>checking for suffix of object files... o
<BR>checking whether we are using the GNU C compiler... yes
<BR>checking whether gcc accepts -g... yes
<BR>checking for gcc option to accept ANSI C... none needed
<BR>checking dependency style of gcc... gcc3
<BR>checking how to run the C preprocessor... /lib/cpp
<BR>configure: error: C preprocessor "/lib/cpp" fails sanity check
<BR>See `config.log´ for more details.
<BR>
<BR>Dai log risulta che il preprocessore non trova alcuni header files .h che sono presenti nel sistema ma evidentemente nel posto sbagliato. Credo che sia una questione di link simbolici da effettuare ma tra chi ? Qualcuno di voi che ha compilato il kernel 2.6.x ed ha tolto i vecchi header mi può dare una mano ? Senza gcc sono perduto !
<BR>
<BR>Grazie,<br>