Не компилируется pppoed, пишет такую дрянь, кто ни будь вобще ставил pppoe на 4.7 и выше?
Warning: Object directory not changed from original /root/pppoed
cc -O -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -c client.c
In file included from client.c:59:
pppoe.h:96: syntax error before `LIST_HEAD'
pppoe.h:100: syntax error before `LIST_ENTRY'
pppoe.h:117: syntax error before `LIST_ENTRY'
pppoe.h:125: syntax error before `LIST_HEAD'
client.c: In function `send_padi':
client.c:181: warning: assignment from incompatible pointer type
client.c:183: warning: assignment from incompatible pointer type
client.c:187: warning: assignment from incompatible pointer type
client.c:195: warning: assignment from incompatible pointer type
client.c:197: warning: assignment from incompatible pointer type
client.c:205: warning: assignment from incompatible pointer type
client.c: In function `send_padr':
client.c:239: warning: assignment from incompatible pointer type
client.c:241: warning: assignment from incompatible pointer type
client.c:243: warning: assignment from incompatible pointer type
client.c:250: warning: assignment from incompatible pointer type
client.c:256: warning: assignment from incompatible pointer type
client.c:259: warning: assignment from incompatible pointer type
client.c:266: warning: assignment from incompatible pointer type
client.c:276: warning: assignment from incompatible pointer type
client.c:279: warning: assignment from incompatible pointer type
client.c:287: warning: assignment from incompatible pointer type
*** Error code 1
>Не компилируется pppoed, пишет такую дрянь, кто ни будь вобще ставил pppoe
>на 4.7 и выше?
>Warning: Object directory not changed from original /root/pppoed
>cc -O -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -c client.c
>
>In file included from client.c:59:
>pppoe.h:96: syntax error before `LIST_HEAD'
>pppoe.h:100: syntax error before `LIST_ENTRY'
>pppoe.h:117: syntax error before `LIST_ENTRY'
>pppoe.h:125: syntax error before `LIST_HEAD'
>client.c: In function `send_padi':
>client.c:181: warning: assignment from incompatible pointer type
>client.c:183: warning: assignment from incompatible pointer type
>client.c:187: warning: assignment from incompatible pointer type
>client.c:195: warning: assignment from incompatible pointer type
>client.c:197: warning: assignment from incompatible pointer type
>client.c:205: warning: assignment from incompatible pointer type
>client.c: In function `send_padr':
>client.c:239: warning: assignment from incompatible pointer type
>client.c:241: warning: assignment from incompatible pointer type
>client.c:243: warning: assignment from incompatible pointer type
>client.c:250: warning: assignment from incompatible pointer type
>client.c:256: warning: assignment from incompatible pointer type
>client.c:259: warning: assignment from incompatible pointer type
>client.c:266: warning: assignment from incompatible pointer type
>client.c:276: warning: assignment from incompatible pointer type
>client.c:279: warning: assignment from incompatible pointer type
>client.c:287: warning: assignment from incompatible pointer type
>*** Error code 1НЕ уж то ни кто не знает? :(((
в файл pppoed.hдобавить строку
#include <sys/queue.h>и все будет харашо :)