URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 36796
[ Назад ]

Исходное сообщение
"FreeBSD 4.7  и PPPoE сервер проблема"

Отправлено Atomic , 03-Ноя-03 14:25 
Не компилируется 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


Содержание

Сообщения в этом обсуждении
"FreeBSD 4.7  и PPPoE сервер проблема"
Отправлено Atomic , 03-Ноя-03 18:18 
>Не компилируется 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

НЕ уж то ни кто не знает? :(((


"FreeBSD 4.7  и PPPoE сервер проблема"
Отправлено Olegas , 21-Июн-04 10:30 
в файл pppoed.h

добавить строку
#include <sys/queue.h>

и все будет харашо :)