|
lug-bg: ppp-2.4.2 source problem
- Subject: lug-bg: ppp-2.4.2 source problem
- From: Ivan Ralenekov <ralenekov@xxxxxxx>
- Date: Wed, 3 Nov 2004 15:12:43 +0200
Здравейте,
Искам да си подкарам MPPE patch-а на pppd-то ама нещо се омазва даже и при чиста
компилация.
1. Дърпам си сорс от ftp.samba.org
2. Пачвам -> грешка.
3. Не пачвам -> пак грешка.
./configure
make
<-- cut here -->
options.c:58:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:39:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:53: error: field `stat' has incomplete type
../include/pcap-int.h:95: error: field `fcode' has incomplete type
../include/pcap-int.h:97: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a
function)
../include/pcap-int.h:107: error: parse error before '*' token
../include/pcap-int.h:108: error: parse error before '*' token
options.c:125: error: parse error before "pc"
options.c:125: warning: type defaults to `int' in declaration of `pc'
options.c:125: warning: data definition has no type or storage class
options.c: In function `setpassfilter':
options.c:1442: error: request for member `linktype' in something not a
structure or union
options.c:1442: error: `DLT_PPP' undeclared (first use in this function)
options.c:1442: error: (Each undeclared identifier is reported only once
options.c:1442: error: for each function it appears in.)
options.c:1443: error: request for member `snapshot' in something not a
structure or union
options.c:1445: warning: implicit declaration of function `pcap_compile'
options.c:1447: warning: implicit declaration of function `pcap_geterr'
options.c: In function `setactivefilter':
options.c:1458: error: request for member `linktype' in something not a
structure or union
options.c:1458: error: `DLT_PPP' undeclared (first use in this function)
options.c:1459: error: request for member `snapshot' in something not a
structure or union
options.c: At top level:
options.c:123: error: storage size of `pass_filter' isn't known
options.c:124: error: storage size of `active_filter' isn't known
make[1]: *** [options.o] Error 1
make[1]: Leaving directory `/usr/local/src/ppp-2.4.2/pppd'
make: *** [all] Error 2
<-- cut here -->
Къде може да се крие проблема?
Поздави,
IR
-----------------------------
НОУ-ХАУ: Как успешно да започнем бизнес в Мрежата?
Еднодневен курс "Основи на е-бизнеса"- част 1
последни два курса за годината: 13.11 и 11.12, гр.София
http://lifeconsult.info?mbg_m
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|