Allora... ho scaricato tutto... ho cancellato ppp e speedtouch...
Ho decompresso compilato e installato linux-atm, tutto a posto.
Ho decompresso pppd, configurato, patchato, ma...
codice:[root@localhost ppp-2.4.2]# ./configure --prefix=/usr Configuring for Linux Creating links to Makefiles. Makefile -> linux/Makefile.top linux/Makedefs -> Makedefs.com pppd/Makefile -> Makefile.linux pppstats/Makefile -> Makefile.linux chat/Makefile -> Makefile.linux pppdump/Makefile -> Makefile.linux pppd/plugins/Makefile -> Makefile.linux pppd/plugins/rp-pppoe/Makefile -> Makefile.linux pppd/plugins/radius/Makefile -> Makefile.linux [root@localhost ppp-2.4.2]# make cd chat; make all make[1]: Entering directory `/home/spdlin/ppp-2.4.2/chat' cc -c -O2 -g -pipe -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c chat.c:216: warning: conflicting types for built-in function `logf' cc -o chat chat.o make[1]: Leaving directory `/home/spdlin/ppp-2.4.2/chat' cd pppd/plugins; make all make[1]: Entering directory `/home/spdlin/ppp-2.4.2/pppd/plugins' gcc -o minconn.so -shared -O2 -g -I.. -I../../include -fPIC minconn.c gcc -o passprompt.so -shared -O2 -g -I.. -I../../include -fPIC passprompt.c gcc -o passwordfd.so -shared -O2 -g -I.. -I../../include -fPIC passwordfd.c for d in rp-pppoe; do make -w -C $d all; done make[2]: Entering directory `/home/spdlin/ppp-2.4.2/pppd/plugins/rp-pppoe' gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o discovery.o -fPIC discovery.c gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o if.o -fPIC if.c gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o common.o -fPIC common.c gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o debug.o -fPIC debug.c ar -rc libplugin.a discovery.o if.o common.o debug.o gcc '-DRP_VERSION="3.3"' -O2 -g -I../../../include/linux -I../../.. -c -o plugin.o -fPIC plugin.c gcc -o rp-pppoe.so -shared plugin.o libplugin.a make[2]: Leaving directory `/home/spdlin/ppp-2.4.2/pppd/plugins/rp-pppoe' make[1]: Leaving directory `/home/spdlin/ppp-2.4.2/pppd/plugins' cd pppd; make all make[1]: Entering directory `/home/spdlin/ppp-2.4.2/pppd' cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o main.o main.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o magic.o magic.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o fsm.o fsm.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o lcp.o lcp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ipcp.o ipcp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o upap.o upap.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o chap-new.o chap-new.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o md5.o md5.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ccp.o ccp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ecp.o ecp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o auth.o auth.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o options.o options.c options.c:58:18: pcap.h: No such file or directory In file included from options.c:59: ../include/pcap-int.h:39:18: pcap.h: No such file or directory In file included from options.c:59: ../include/pcap-int.h:53: error: field `stat' has incomplete type ../include/pcap-int.h:95: error: field `fcode' has incomplete type ../include/pcap-int.h:97: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a function) ../include/pcap-int.h:107: error: parse error before '*' token ../include/pcap-int.h:108: error: parse error before '*' token options.c:125: error: parse error before "pc" options.c:125: warning: type defaults to `int' in declaration of `pc' options.c:125: warning: data definition has no type or storage class options.c: In function `setpassfilter': options.c:1442: error: request for member `linktype' in something not a structure or union options.c:1442: error: `DLT_PPP' undeclared (first use in this function) options.c:1442: error: (Each undeclared identifier is reported only once options.c:1442: error: for each function it appears in.) options.c:1443: error: request for member `snapshot' in something not a structure or union options.c:1445: warning: implicit declaration of function `pcap_compile' options.c:1447: warning: implicit declaration of function `pcap_geterr' options.c: In function `setactivefilter': options.c:1458: error: request for member `linktype' in something not a structure or union options.c:1458: error: `DLT_PPP' undeclared (first use in this function) options.c:1459: error: request for member `snapshot' in something not a structure or union /usr/include/bits/string2.h: At top level: options.c:123: error: storage size of `pass_filter' isn't known options.c:124: error: storage size of `active_filter' isn't known make[1]: *** [options.o] Error 1 make[1]: Leaving directory `/home/spdlin/ppp-2.4.2/pppd' make: *** [all] Error 2 [root@localhost ppp-2.4.2]#![]()
Che faccio?
(questo ^^^ l'ho fatto dopo da konsole dimenticandomi di patcharlo, ma patchandolo fa la stessa esatta cosa)



)

Rispondi quotando