[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:01735] ppp-2.3.5がmakeできません(泣)



いわたです。
いつもお世話になっております。

今回、とても恥ずかしいのですが、「聞くは一瞬の恥・・・」という
ことわざを信じて、質問をさせていただきます。(泣)

サブジェクトにあるように、ppp-2.3.5がうまくmakeできません。

そもそも、ppp-2.3.5を使う理由は、NTからのCallBackができるように
したいからです。(PPxPでは、まだできないようです。)

環境としては、Software Design誌1998年12月号のPlamo Linux 1.3ベースで
kernelは、2.0.36を使っております。
kernelには、ossfreeのサウンドドライバと、e2comprとdmsdosが使えるようにな
るpatch(どちらもUNIX USER1999年3月号収録)を当ててあります。
PCは、PanasonicのLet's Note(AL-N2t516J5)です。

ppp-2.3.5.tar.gzは、/usr/srcに展開し、README.cbcpを読んで、
cbcpができるようにソースを変更いたしました。

その後、
# cd /usr/src/ppp-2.3.5
# ./configure
Creating links to Makefiles.
  Makefile -> linux/Makefile.top
  pppd/Makefile -> Makefile.linux
  pppstats/Makefile -> Makefile.linux
  chat/Makefile -> Makefile.linux
# make kernel
cd linux; ./kinstall.sh

Notice to the user:

It is perfectly legal for this script to run without making any changes
to your system. This means that the system currently contains the
necessary changes to support this package. Please do not attempt to
force this script to replace any file nor make any patch. If you do so
then it is probable that you are actually putting older, buggier, code
over the newer, fixed, code. Thank you.

Installing into kernel version 2.0.36 in /usr/src/linux

Saving old /usr/src/linux/drivers/net/bsd_comp.c as bsd_comp.old.c
Installing new /usr/src/linux/drivers/net/bsd_comp.c
Installing new /usr/src/linux/drivers/net/ppp_deflate.c
Installing new /usr/src/linux/drivers/net/zlib.c
Installing new /usr/src/linux/drivers/net/zlib.h
Saving old /usr/src/linux/include/linux/if_ppp.h as if_ppp.old.h
Installing new /usr/src/linux/include/linux/if_ppp.h
Saving old /usr/src/linux/include/linux/if_pppvar.h as if_pppvar.old.h
Installing new /usr/src/linux/include/linux/if_pppvar.h
Saving old /usr/src/linux/include/linux/ppp-comp.h as ppp-comp.old.h
Installing new /usr/src/linux/include/linux/ppp-comp.h
Saving old /usr/src/linux/include/linux/ppp_defs.h as ppp_defs.old.h
Installing new /usr/src/linux/include/linux/ppp_defs.h
/usr/src/linux/drivers/net/ppp.c is newer than ppp.c, skipping
Adding BSD compression module to drivers makefile...(already there--skipping)
Adding Deflate compression module to drivers makefile......
Kernel driver files installation done.

となり、ここまでは順調なように思います。
が、問題はここからでして、README.linuxによると、この後、
Build the kernelとなってますので、
# cd /usr/src/linux
# make menuconfig
として、CONFIG_PPP=m にしました。
で、
# make dep && make clean
# make modules
とすると、途中までは順調にすすみますが、pppのところにたどり着くと
make[2]: Entering directory `/usr/src/linux-2.0.36/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o ppp.o ppp.c
ppp.c: In function `ppp_init_ctrl_blk':
ppp.c:465: structure has no member named `ddinfo'
ppp.c:466: structure has no member named `ddinfo'
ppp.c: In function `ppp_changedmtu':
ppp.c:585: cannot convert to a pointer type
ppp.c: In function `ppp_release':
ppp.c:700: cannot convert to a pointer type
ppp.c: In function `ppp_tty_close_local':
ppp.c:761: cannot convert to a pointer type
ppp.c: In function `ppp_tty_open':
ppp.c:792: cannot convert to a pointer type
ppp.c:838: cannot convert to a pointer type
ppp.c:856: cannot convert to a pointer type
ppp.c: In function `ppp_tty_wakeup_code':
ppp.c:925: cannot convert to a pointer type
ppp.c:927: cannot convert to a pointer type
ppp.c: In function `ppp_rcv_rx':
ppp.c:1208: cannot convert to a pointer type
ppp.c:1214: cannot convert to a pointer type
ppp.c:1222: structure has no member named `ddinfo'
ppp.c: In function `rcv_proto_ip':
ppp.c:1234: cannot convert to a pointer type
ppp.c: In function `rcv_proto_ipx':
ppp.c:1247: cannot convert to a pointer type
ppp.c: In function `ppp_proto_ccp':
ppp.c:1422: cannot convert to a pointer type
ppp.c:1438: cannot convert to a pointer type
ppp.c: In function `ppp_doframe':
ppp.c:1635: `DECOMP_OK' undeclared (first use this function)
ppp.c:1635: (Each undeclared identifier is reported only once
ppp.c:1635: for each function it appears in.)
ppp.c: In function `ppp_set_compression':
ppp.c:2203: cannot convert to a pointer type
ppp.c:2215: cannot convert to a pointer type
ppp.c:2225: cannot convert to a pointer type
ppp.c: In function `ppp_tty_ioctl':
ppp.c:2270: cannot convert to a pointer type
ppp.c:2370: cannot convert to a pointer type
ppp.c:2374: cannot convert to a pointer type
ppp.c:2420: structure has no member named `ddinfo'
ppp.c:2421: structure has no member named `ddinfo'
ppp.c: In function `ppp_dev_xmit_ip':
ppp.c:2925: cannot convert to a pointer type
ppp.c:2927: cannot convert to a pointer type
ppp.c: In function `ppp_dev_xmit_ipx':
ppp.c:3013: cannot convert to a pointer type
ppp.c:3015: cannot convert to a pointer type
ppp.c: In function `ppp_dev_xmit':
ppp.c:3124: structure has no member named `ddinfo'
ppp.c: In function `ppp_alloc':
ppp.c:3250: incompatible types in assignment
make[2]: *** [ppp.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.0.36/drivers/net'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.36/drivers'
make: *** [modules] Error 2

というエラーを出して止まってしまいます。
PPPをmoduleにしようとkernelに組み込もうと、同じようなMessageが
PPPをmakeするときに出ます。


ppp ddinfoでWEB検索をかけたら、kernel(1.3.27)のioctlコールの一覧が
でてきて、
// <include/linux/if_ppp.h>
(Cut.)
0x0000549A  PPPIOCGTIME                 struct ppp_ddinfo *
と書いてありました。
が、実際の/usr/src/linux/include/linux/if_ppp.hではそんな
構造体は定義されていませんでした。


どこかで何か重大なミスを犯しているのでしょうか。
大変に長いメールになってしまい、本当に申し訳ありません。
もし、足りない情報がありましたら、ご指摘ください。

よろしくお願いいたします。

---
Yusuke Iwata (23y, Male)
Mailto: y-iwata@pop06.odn.ne.jp
PostPet: sario2@geocities.co.jp

Follow-Ups
[plamo:01736] Re: ppp-2.3.5がmakeできません(泣), Yusuke Iwata

[検索ページ] [メール一覧]
Plamo ML 公開システム