From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8f520580e5181dcf,start X-Google-Attributes: gid111c93,public X-Google-Thread: 103eaf,8f520580e5181dcf,start X-Google-Attributes: gid103eaf,public X-Google-Thread: 10669a,8f520580e5181dcf,start X-Google-Attributes: gid10669a,public From: js1@ares.me.gatech.edu Subject: ppp-2.3.5 compile problems on alpha linux Date: 1998/08/03 Message-ID: <6q51qu$3q8$1@ares.me.gatech.edu> X-Deja-AN: 377572747 Organization: Georgia Institute of Technology, Atlanta GA, USA Newsgroups: comp.os.linux.networking,comp.protocols.ppp,comp.os.linux.alpha I'm running 2.1.111 on a SX164 with gcc-2.8.1. I followed the instructions, built the kernel, and started to make the binaries. I get the following errors: cd chat; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/chat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/chat' cd pppd; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/pppd' cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -c sys-linux.c -o sys-linux.o make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/pppd' cd chat; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/chat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/chat' cd pppd; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/pppd' cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -c sys-linux.c -o sys-linux.o In file included from sys-linux.c:68: ../include/linux/ppp_defs.h:97: parse error before `ext_accm' ../include/linux/ppp_defs.h:97: warning: type defaults to `int' in declaration of `ext_accm' ../include/linux/ppp_defs.h:97: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:113: parse error before `__u32' ../include/linux/ppp_defs.h:113: warning: no semicolon at end of struct or union ../include/linux/ppp_defs.h:115: warning: type defaults to `int' in declaration of `ppp_ibytes' ../include/linux/ppp_defs.h:115: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:116: parse error before `ppp_ioctects' ../include/linux/ppp_defs.h:116: warning: type defaults to `int' in declaration of `ppp_ioctects' ../include/linux/ppp_defs.h:116: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:117: parse error before `ppp_ipackets' ../include/linux/ppp_defs.h:117: warning: type defaults to `int' in declaration of `ppp_ipackets' ../include/linux/ppp_defs.h:117: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:118: parse error before `ppp_ierrors' ../include/linux/ppp_defs.h:118: warning: type defaults to `int' in declaration of `ppp_ierrors' ../include/linux/ppp_defs.h:118: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:119: parse error before `ppp_ilqrs' ../include/linux/ppp_defs.h:119: warning: type defaults to `int' in declaration of `ppp_ilqrs' ../include/linux/ppp_defs.h:119: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:121: parse error before `ppp_obytes' ../include/linux/ppp_defs.h:121: warning: type defaults to `int' in declaration of `ppp_obytes' ../include/linux/ppp_defs.h:121: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:122: parse error before `ppp_ooctects' ../include/linux/ppp_defs.h:122: warning: type defaults to `int' in declaration of `ppp_ooctects' ../include/linux/ppp_defs.h:122: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:123: parse error before `ppp_opackets' ../include/linux/ppp_defs.h:123: warning: type defaults to `int' in declaration of `ppp_opackets' ../include/linux/ppp_defs.h:123: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:124: parse error before `ppp_oerrors' ../include/linux/ppp_defs.h:124: warning: type defaults to `int' in declaration of `ppp_oerrors' ../include/linux/ppp_defs.h:124: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:125: parse error before `ppp_olqrs' ../include/linux/ppp_defs.h:125: warning: type defaults to `int' in declaration of `ppp_olqrs' ../include/linux/ppp_defs.h:125: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:129: parse error before `__u32' ../include/linux/ppp_defs.h:129: warning: no semicolon at end of struct or union ../include/linux/ppp_defs.h:130: warning: type defaults to `int' in declaration of `vjs_compressed' ../include/linux/ppp_defs.h:130: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:131: parse error before `vjs_searches' ../include/linux/ppp_defs.h:131: warning: type defaults to `int' in declaration of `vjs_searches' ../include/linux/ppp_defs.h:131: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:132: parse error before `vjs_misses' ../include/linux/ppp_defs.h:132: warning: type defaults to `int' in declaration of `vjs_misses' ../include/linux/ppp_defs.h:132: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:133: parse error before `vjs_uncompressedin' ../include/linux/ppp_defs.h:133: warning: type defaults to `int' in declaration of `vjs_uncompressedin' ../include/linux/ppp_defs.h:133: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:134: parse error before `vjs_compressedin' ../include/linux/ppp_defs.h:134: warning: type defaults to `int' in declaration of `vjs_compressedin' ../include/linux/ppp_defs.h:134: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:135: parse error before `vjs_errorin' ../include/linux/ppp_defs.h:135: warning: type defaults to `int' in declaration of `vjs_errorin' ../include/linux/ppp_defs.h:135: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:136: parse error before `vjs_tossed' ../include/linux/ppp_defs.h:136: warning: type defaults to `int' in declaration of `vjs_tossed' ../include/linux/ppp_defs.h:136: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:140: parse error before `__u32' ../include/linux/ppp_defs.h:140: warning: no semicolon at end of struct or union ../include/linux/ppp_defs.h:141: warning: type defaults to `int' in declaration of `unc_packets' ../include/linux/ppp_defs.h:141: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:142: parse error before `comp_bytes' ../include/linux/ppp_defs.h:142: warning: type defaults to `int' in declaration of `comp_bytes' ../include/linux/ppp_defs.h:142: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:143: parse error before `comp_packets' ../include/linux/ppp_defs.h:143: warning: type defaults to `int' in declaration of `comp_packets' ../include/linux/ppp_defs.h:143: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:144: parse error before `inc_bytes' ../include/linux/ppp_defs.h:144: warning: type defaults to `int' in declaration of `inc_bytes' ../include/linux/ppp_defs.h:144: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:145: parse error before `inc_packets' ../include/linux/ppp_defs.h:145: warning: type defaults to `int' in declaration of `inc_packets' ../include/linux/ppp_defs.h:145: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:148: parse error before `in_count' ../include/linux/ppp_defs.h:148: warning: type defaults to `int' in declaration of `in_count' ../include/linux/ppp_defs.h:148: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:149: parse error before `bytes_out' ../include/linux/ppp_defs.h:149: warning: type defaults to `int' in declaration of `bytes_out' ../include/linux/ppp_defs.h:149: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:152: parse error before `}' ../include/linux/ppp_defs.h:155: field `p' has incomplete type ../include/linux/ppp_defs.h:156: field `vj' has incomplete type ../include/linux/ppp_defs.h:160: field `c' has incomplete type ../include/linux/ppp_defs.h:161: field `d' has incomplete type In file included from sys-linux.c:69: ../include/linux/if_ppp.h:92: parse error before `__u8' ../include/linux/if_ppp.h:92: warning: no semicolon at end of struct or union ../include/linux/if_ppp.h:93: warning: type defaults to `int' in declaration of `length' ../include/linux/if_ppp.h:93: warning: data definition has no type or storage class ../include/linux/if_ppp.h:95: parse error before `}' In file included from sys-linux.c:71: pppd.h:266: parse error before `ext_accm' sys-linux.c:983: parse error before `ext_accm' sys-linux.c: In function `ppp_set_xaccm': sys-linux.c:988: `accm' undeclared (first use in this function) sys-linux.c:988: (Each undeclared identifier is reported only once sys-linux.c:988: for each function it appears in.) sys-linux.c: In function `ccp_test': sys-linux.c:1047: storage size of `data' isn't known sys-linux.c:1054: sizeof applied to an incomplete type sys-linux.c:1047: warning: unused variable `data' sys-linux.c: In function `logwtmp': sys-linux.c:1896: warning: passing arg 1 of `time' from incompatible pointer type make[1]: *** [sys-linux.o] Error 1 make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/pppd' make: *** [all] Error 2 BTW, I'm building 2.3.5 because I get the following trying 2.3.3 that came with RH5.1: pppd: ioctl(SIOCADDRT) device route: Network is down(50). Thanks for any help. -- Jiann-Ming Su js290@prism.gatech.edu