Ciao Conraid, ciao Tigerwalk, ciao Tutti,
Comincio a sentirmi seriamente in imbarazzo e spiego perche': ho seguito alla lettera (credo) le istruzioni di Tigerwalk per installare il pacchetto pppoe, ma alla fine della procedura ho ricevuto una segnalazione di errore che mi e' parso scaturire dall'assenza di librerie (dipendenze ?).
Quindi, ho fatto il tentativo di scaricare le librerie richieste ed ho attivato la procedura di installazione; anche in questo caso ho ricevuto alla fine dei messaggi di errore.
A questo punto, non sapendo interpretare i messaggi, ho rifatto la procedura afferente al pacchetto pppoe, ricevendo nuovamente errore; non so che fare, di seguito vi mostro entrambe le schermate:
Codice: Seleziona tutto
dominum@Dominum---Tlokweng ~/src $ tar xf rp-pppoe-3.10.tar.gz
dominum@Dominum---Tlokweng ~/src $ cd rp-pppoe-3.10
dominum@Dominum---Tlokweng ~/src/rp-pppoe-3.10 $ cd src/
dominum@Dominum---Tlokweng ~/src/rp-pppoe-3.10/src $ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking netinet/if_ether.h usability... yes
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for fcntl.h... (cached) yes
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking linux/if_ether.h usability... yes
checking linux/if_ether.h presence... yes
checking for linux/if_ether.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_ether.h usability... no
checking net/if_ether.h presence... no
checking for net/if_ether.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for linux/if.h... yes
checking for linux/if_pppox.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... no
checking for working memcmp... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 8
checking for pppd... NOTFOUND
checking for echo... /bin/echo
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... yes
configure: WARNING: *** Oops! I couldn't find pppd, the PPP daemon anywhere.
configure: WARNING: *** You must install pppd, version 2.3.10 or later.
configure: WARNING: *** I will keep going, but it may not work.
configure: WARNING: *** Oops. I cannot figure out what version of pppd you have.
configure: WARNING: *** All I got back was ''
configure: WARNING: *** I will keep going, but it may not work.
checking packing order of bit fields... reversed
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating libevent/Makefile
config.status: creating ../scripts/pppoe-connect
config.status: creating ../scripts/pppoe-start
config.status: creating ../scripts/pppoe-stop
config.status: creating ../scripts/pppoe-init
config.status: creating ../scripts/pppoe-init-suse
config.status: creating ../scripts/pppoe-init-turbolinux
config.status: creating ../scripts/pppoe-setup
config.status: creating ../gui/Makefile
config.status: WARNING: ../gui/Makefile.in seems to ignore the --datarootdir setting
config.status: creating ../gui/tkpppoe
config.status: creating config.h
config.status: config.h is unchanged
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay
Type 'make' to compile the software.
dominum@Dominum---Tlokweng ~/src/rp-pppoe-3.10/src $ make
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o pppoe.o pppoe.c
In file included from pppoe.h:56,
from pppoe.c:19:
/usr/include/linux/if.h:180: error: field ‘ifru_map’ has incomplete type
make: *** [pppoe.o] Error 1
dominum@Dominum---Tlokweng ~/src/rp-pppoe-3.10/src $ su
Password:
Dominum---Tlokweng src # make install
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o pppoe.o pppoe.c
In file included from pppoe.h:56,
from pppoe.c:19:
/usr/include/linux/if.h:180: error: field ‘ifru_map’ has incomplete type
make: *** [pppoe.o] Error 1
Dominum---Tlokweng src #
Nota: questa e' la schermata d'installazione del pacchetto pppoe, quella delle librerie "rifiuta" di venir copiata. Adesso provo a ricopiarla sulla penna usb, se ci riesco, l'allego dopo.
Eccola:
Codice: Seleziona tutto
[quote]dominum@Dominum---Tlokweng ~ $ cd ppp
dominum@Dominum---Tlokweng ~/ppp $ cd ppp-2.3.10
dominum@Dominum---Tlokweng ~/ppp/ppp-2.3.10 $ ./configure
Creating links to Makefiles.
Makefile -> linux/Makefile.top
pppd/Makefile -> Makefile.linux
pppstats/Makefile -> Makefile.linux
chat/Makefile -> Makefile.linux
pppdump/Makefile -> Makefile.linux
dominum@Dominum---Tlokweng ~/ppp/ppp-2.3.10 $ make
cd chat; make all
make[1]: Entering directory `/home/dominum/ppp/ppp-2.3.10/chat'
cc -c -O2 -g -pipe -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c
chat.c:215: warning: conflicting types for built-in function ‘logf’
chat.c: In function ‘chat_send’:
chat.c:1015: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
chat.c:1275:22: warning: trigraph ??) ignored, use -trigraphs to enable
chat.c: In function ‘echo_stderr’:
chat.c:1336: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
chat.c:1341: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
cc -o chat chat.o
make[1]: Leaving directory `/home/dominum/ppp/ppp-2.3.10/chat'
cd pppd; make all
make[1]: Entering directory `/home/dominum/ppp/ppp-2.3.10/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 -DPLUGIN -c -o main.o main.c
main.c: In function ‘detach’:
main.c:970: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
main.c: In function ‘run_program’:
main.c:1627: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
main.c: In function ‘charshunt’:
main.c:2013: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
main.c: In function ‘record_write’:
main.c:2114: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
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 -DPLUGIN -c -o magic.o magic.c
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 -DPLUGIN -c -o fsm.o fsm.c
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 -DPLUGIN -c -o lcp.o lcp.c
lcp.c: In function ‘lcp_printpkt’:
lcp.c:1770: warning: pointer targets in passing argument 1 of ‘print_string’ differ in signedness
pppd.h:308: note: expected ‘char *’ but argument is of type ‘u_char *’
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 -DPLUGIN -c -o ipcp.o ipcp.c
ipcp.c: In function ‘ipcp_printpkt’:
ipcp.c:1785: warning: pointer targets in passing argument 1 of ‘print_string’ differ in signedness
pppd.h:308: note: expected ‘char *’ but argument is of type ‘u_char *’
ipcp.c:1808:1: warning: "IPPROTO_TCP" redefined
In file included from /usr/include/netdb.h:28,
from ipcp.c:28:
/usr/include/netinet/in.h:45:1: warning: this is the location of the previous definition
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 -DPLUGIN -c -o upap.o upap.c
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 -DPLUGIN -c -o chap.o chap.c
chap.c: In function ‘ChapReceiveChallenge’:
chap.c:474: warning: pointer targets in passing argument 2 of ‘ChapMS’ differ in signedness
chap_ms.h:30: note: expected ‘char *’ but argument is of type ‘u_char *’
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 -DPLUGIN -c -o md5.o md5.c
md5.c: In function ‘MD5Final’:
md5.c:197: warning: implicit declaration of function ‘memcpy’
md5.c:197: warning: incompatible implicit declaration of built-in function ‘memcpy’
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 -DPLUGIN -c -o ccp.o ccp.c
ccp.c: In function ‘ccp_printpkt’:
ccp.c:1153: warning: pointer targets in passing argument 1 of ‘print_string’ differ in signedness
pppd.h:308: note: expected ‘char *’ but argument is of type ‘u_char *’
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 -DPLUGIN -c -o auth.o auth.c
auth.c: In function ‘plogin’:
auth.c:1084: warning: implicit declaration of function ‘time’
auth.c:1125: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
auth.c: In function ‘set_allowed_addrs’:
auth.c:1481: warning: cast to pointer from integer of different size
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 -DPLUGIN -c -o options.o options.c
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 -DPLUGIN -c -o demand.o demand.c
demand.c: In function ‘loop_chars’:
demand.c:219: warning: pointer targets in passing argument 1 of ‘loop_frame’ differ in signedness
pppd.h:357: note: expected ‘unsigned char *’ but argument is of type ‘char *’
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 -DPLUGIN -c -o utils.o utils.c
utils.c: In function ‘vslprintf’:
utils.c:253: error: invalid use of non-lvalue array
utils.c:262: warning: implicit declaration of function ‘time’
utils.c:263: warning: implicit declaration of function ‘ctime’
utils.c:263: warning: assignment makes pointer from integer without a cast
utils.c: In function ‘lock’:
utils.c:809: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
utils.c: In function ‘relock’:
utils.c:851: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/home/dominum/ppp/ppp-2.3.10/pppd'
make: *** [all] Error 2
dominum@Dominum---Tlokweng ~/ppp/ppp-2.3.10 $ su
Password:
Dominum---Tlokweng ppp-2.3.10 # make install
cd chat; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/home/dominum/ppp/ppp-2.3.10/chat'
mkdir -p /usr/sbin
install -s -c chat /usr/sbin
install -c -m 644 chat.8 /usr/man/man8
make[1]: Leaving directory `/home/dominum/ppp/ppp-2.3.10/chat'
cd pppd; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/home/dominum/ppp/ppp-2.3.10/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 -DPLUGIN -c -o utils.o utils.c
utils.c: In function ‘vslprintf’:
utils.c:253: error: invalid use of non-lvalue array
utils.c:262: warning: implicit declaration of function ‘time’
utils.c:263: warning: implicit declaration of function ‘ctime’
utils.c:263: warning: assignment makes pointer from integer without a cast
utils.c: In function ‘lock’:
utils.c:809: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
utils.c: In function ‘relock’:
utils.c:851: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/home/dominum/ppp/ppp-2.3.10/pppd'
make: *** [install-progs] Error 2
Dominum---Tlokweng ppp-2.3.10 #
Pagina 1
ppp / Fine install
[/quote]
Ciao