vine-users ML アーカイブ



[vine-users:059604] rp-pppoe の make ができない

  • From: 有村 徹朗 <tetsurou_arimura@xxxxxxxxxxx>
  • Subject: [vine-users:059604] rp-pppoe の make ができない
  • Date: Sun, 13 Apr 2003 21:29:57 +0900 (JST)
有村@滋賀といいます。
カーネルモードrp-pppoeをkernel2.4.19で使っていました。
kernel2.4.20-0vl24.2へアップグレードにともない、再度カー
ネルモードにしようと、カーネルの再構築し、pppとrp-pppoe
のrpmパッケージは削除し、pppはcvsでダウンロード、インス
トールし、次にrp-pppoe-3.5.tar.gzをmakeしようとするので
すがmakeが通りません。以下にエラーメッセージをつけます。
知識がなく原因がわかりません。申し訳ありませんが対処法に
ついてお願いいたします。

****************************ここから
gcc '-DRP_VERSION="3.5"' -g -O2 -Wall -Wstrict-prototypes
-ansi -pedantic    '-DPPPOE_PATH="/usr/sbin/pppoe"'
'-DPPPD_PATH="/usr/sbin/pppd"'
'-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'
'-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"'
-Ilibevent -I/usr/src/ppp/ -c -o plugin/plugin.o -fPIC
plugin.c
In file included from /usr/include/linux/if_pppox.h:21,
                 from plugin.c:56:
/usr/include/asm/byteorder.h:38: parse error before
`__u64'
/usr/include/asm/byteorder.h:38: parse error before `val'
/usr/include/asm/byteorder.h:39: warning: function
declaration isn't a prototype
/usr/include/asm/byteorder.h: In function
`___arch__swab64':
/usr/include/asm/byteorder.h:42: parse error before
`__u64'
/usr/include/asm/byteorder.h:42: warning: no semicolon at
end of struct or union
/usr/include/asm/byteorder.h:43: warning: control reaches
end of non-void function
/usr/include/asm/byteorder.h: At top level:
/usr/include/asm/byteorder.h:43: ANSI C forbids data
definition with no type or storage class
/usr/include/asm/byteorder.h:44: parse error before `.'
/usr/include/asm/byteorder.h:52: parse error before string
constant
In file included from
/usr/include/linux/byteorder/little_endian.h:11,
                 from /usr/include/asm/byteorder.h:65,
                 from /usr/include/linux/if_pppox.h:21,
                 from plugin.c:56:
/usr/include/linux/byteorder/swab.h: In function
`__fswab24':
/usr/include/linux/byteorder/swab.h:174: warning: ANSI C
forbids braced-groups within expressions
/usr/include/linux/byteorder/swab.h:174: warning: ANSI C
forbids braced-groups within expressions
/usr/include/linux/byteorder/swab.h: In function
`__swab24p':
/usr/include/linux/byteorder/swab.h:178: warning: ANSI C
forbids braced-groups within expressions
/usr/include/linux/byteorder/swab.h:178: warning: ANSI C
forbids braced-groups within expressions
/usr/include/linux/byteorder/swab.h: In function
`__swab24s':
/usr/include/linux/byteorder/swab.h:182: warning: ANSI C
forbids braced-groups within expressions
/usr/include/linux/byteorder/swab.h:182: warning: ANSI C
forbids braced-groups within expressions
/usr/include/linux/byteorder/swab.h: At top level:
/usr/include/linux/byteorder/swab.h:199: parse error
before `__fswab64'
/usr/include/linux/byteorder/swab.h:199: parse error
before `x'
/usr/include/linux/byteorder/swab.h:200: warning: function
declaration isn't a prototype
/usr/include/linux/byteorder/swab.h: In function
`__fswab64':
/usr/include/linux/byteorder/swab.h:206: `x' undeclared
(first use in this function)
/usr/include/linux/byteorder/swab.h:206: (Each undeclared
identifier is reported only once
/usr/include/linux/byteorder/swab.h:206: for each function
it appears in.)
/usr/include/linux/byteorder/swab.h: At top level:
/usr/include/linux/byteorder/swab.h:209: parse error
before `__swab64p'
/usr/include/linux/byteorder/swab.h:209: parse error
before `*'
/usr/include/linux/byteorder/swab.h:210: warning: function
declaration isn't a prototype
/usr/include/linux/byteorder/swab.h: In function
`__swab64p':
/usr/include/linux/byteorder/swab.h:211: `x' undeclared
(first use in this function)
/usr/include/linux/byteorder/swab.h: At top level:
/usr/include/linux/byteorder/swab.h:213: parse error
before `*'
/usr/include/linux/byteorder/swab.h:214: warning: function
declaration isn't a prototype
/usr/include/linux/byteorder/swab.h: In function
`__swab64s':
/usr/include/linux/byteorder/swab.h:215: `addr' undeclared
(first use in this function)
In file included from plugin.c:56:
/usr/include/linux/if_pppox.h: At top level:
/usr/include/linux/if_pppox.h:84: warning: ANSI C forbids
zero-size array `tag_data'
/usr/include/linux/if_pppox.h:112: warning: ANSI C forbids
zero-size array `tag'
plugin.c:423: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:424: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:425: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:426: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:427: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:428: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:429: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:430: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:431: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:432: warning: ANSI C forbids specifying structure
member to initialize
plugin.c:433: warning: ANSI C forbids specifying structure
member to initialize
make: *** [plugin/plugin.o] エラー 1



__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/