ďťż
 
 
   iproute - błąd przy kompilacji
 
 

Tematy

 
    
 

 

 

 

iproute - błąd przy kompilacji





answer_3 - 11-10-2008 12:55
Kompilowałem kernela zgodnie z tą instrukcją http://linuxbox.pl/index.php?go=kernel , wszystko było dobrze, aż do momentu kompilacji iproute. Patchowanie przeszło gładko, po wydaniu komendy make, chwile się kompilowało i wyświetlił się taki błąd: make[1]: bison: Polecenie nie znalezione
make[1]: *** [emp_ematch.yacc.c] Błąd 127
make[1]: Opuszczenie katalogu `/usr/src/iproute2-2.6.23/tc'
make: *** [all] Błąd 2 Mam Debiana Etch. Czego to może być wina?



ShinnRa - 12-10-2008 12:25
naucz się czytać



answer_3 - 19-10-2008 14:33
Przepraszam, nie zauważyłem, mój błąd. Z tamtym sobie już poradziłem. Jednak dalej jest problem.
Teraz dostaje coś takiego: arpd.c:19:20: error: db_185.h: Nie ma takiego pliku ani katalogu
arpd.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ to                  ken
arpd.c: In function ‘do_one_request’:
arpd.c:304: error: ‘DBT’ undeclared (first use in this function)
arpd.c:304: error: (Each undeclared identifier is reported only once
arpd.c:304: error: for each function it appears in.)
arpd.c:304: error: expected ‘;’ before ‘dbkey’
arpd.c:308: error: ‘dbase’ undeclared (first use in this function)
arpd.c:338: error: ‘dbkey’ undeclared (first use in this function)
arpd.c:341: error: ‘dbdat’ undeclared (first use in this function)
arpd.c: In function ‘get_arp_pkt’:
arpd.c:485: error: ‘DBT’ undeclared (first use in this function)
arpd.c:485: error: expected ‘;’ before ‘dbkey’
arpd.c:517: error: ‘dbkey’ undeclared (first use in this function)
arpd.c:520: error: ‘dbase’ undeclared (first use in this function)
arpd.c:520: error: ‘dbdat’ undeclared (first use in this function)
arpd.c: In function ‘main’:
arpd.c:670: error: ‘dbase’ undeclared (first use in this function)
arpd.c:670: warning: implicit declaration of function ‘dbopen’
arpd.c:670: error: ‘DB_HASH’ undeclared (first use in this function)
arpd.c:680: error: ‘DBT’ undeclared (first use in this function)
arpd.c:680: error: expected ‘;’ before ‘dbkey’
arpd.c:682: error: ‘dbkey’ undeclared (first use in this function)
arpd.c:712: error: ‘dbdat’ undeclared (first use in this function)
arpd.c:728: error: expected ‘;’ before ‘dbkey’
arpd.c:730: error: ‘R_NEXT’ undeclared (first use in this function)
make[1]: *** [arpd] Błąd 1
make[1]: Opuszczenie katalogu `/usr/src/iproute2-2.6.23/misc'
make: *** [all] Błąd 2 [ Dodano: 2008-10-21, 11:19 ]
Nikt nie ma pomysłu co może być nie tak? Znalazłem gdzieś na necie, że może to być problem najnowszego gcc. Jak bede miał chwile czasu spróbuje na starszym. Tylko może mi ktoś doradzi którą wersje najlepiej użyć żeby nie było problemów?



rr - 24-10-2008 15:18
Witam,
mam dokladnie ten sam problem co answer_3 :-/



Yampress - 24-10-2008 18:57
pakiet
iproute-dev zainstalowany ?



rr - 27-10-2008 10:34
tak, zainstalowany
arpd.c:19:20: error: db_185.h: Nie ma takiego pliku ani katalogu
arpd.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
arpd.c: In function ‘do_one_request’:
arpd.c:304: error: ‘DBT’ undeclared (first use in this function)
arpd.c:304: error: (Each undeclared identifier is reported only once
arpd.c:304: error: for each function it appears in.)
arpd.c:304: error: expected ‘;’ before ‘dbkey’
arpd.c:308: error: ‘dbase’ undeclared (first use in this function)
arpd.c:338: error: ‘dbkey’ undeclared (first use in this function)
arpd.c:341: error: ‘dbdat’ undeclared (first use in this function)
arpd.c: In function ‘get_arp_pkt’:
arpd.c:485: error: ‘DBT’ undeclared (first use in this function)
arpd.c:485: error: expected ‘;’ before ‘dbkey’
arpd.c:517: error: ‘dbkey’ undeclared (first use in this function)
arpd.c:520: error: ‘dbase’ undeclared (first use in this function)
arpd.c:520: error: ‘dbdat’ undeclared (first use in this function)
arpd.c: In function ‘main’:
arpd.c:670: error: ‘dbase’ undeclared (first use in this function)
arpd.c:670: warning: implicit declaration of function ‘dbopen’
arpd.c:670: error: ‘DB_HASH’ undeclared (first use in this function)
arpd.c:680: error: ‘DBT’ undeclared (first use in this function)
arpd.c:680: error: expected ‘;’ before ‘dbkey’
arpd.c:682: error: ‘dbkey’ undeclared (first use in this function)
arpd.c:712: error: ‘dbdat’ undeclared (first use in this function)
arpd.c:728: error: expected ‘;’ before ‘dbkey’
arpd.c:730: error: ‘R_NEXT’ undeclared (first use in this function)
make[1]: *** [arpd] Błąd 1
make[1]: Opuszczenie katalogu `/usr/src/system-source-2.6.24.7-1/iproute2/iproute2-2.6.25/misc'
make: *** [all] Błąd 2 i nie wiem co dalej?

Pomogło doinstalowanie libdb4.3-dev
apt-get install libdb4.3-dev
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis