Hi Guys

I am trying to get my Speedtouch 330 connected and I've
been following the instructions from the speedtouch project.
I'm running RH 7.1 with kernel 2.4.21, which includes the
necessary support, so I don't need to install the entire
speedbundle, I only need to install PPPoA.  So, my question is,
from where can I optain an atm aware pppd which I can compile?
Should I use the version supplied with speedbundle, or should I
use another?  I've tried to compile the speedbundle version
without success.

Here's what I did:
extracted the speedbundle
cd speedbundle-1.0/ppp
./configure
make

and the result is:
# make
cd chat; make  all
make[1]: Entering directory `/spare2/speedbundle-1.0/ppp/chat'
cc -c -O2 -g -pipe -DTERMIOS                     -DSIGTYPE=void
-UNO_SLEEP                       -DFNDELAY=O_NDELAY              -o
chat.o chat.c
cc -o chat chat.o
make[1]: Leaving directory `/spare2/speedbundle-1.0/ppp/chat'
cd pppd/plugins; make  all
make[1]: Entering directory `/spare2/speedbundle-1.0/ppp/pppd/plugins'
gcc -o minconn.so -shared -g -O2 -I.. -I../../include -fPIC minconn.c
gcc -o passprompt.so -shared -g -O2 -I.. -I../../include -fPIC
passprompt.c
gcc -o passwordfd.so -shared -g -O2 -I.. -I../../include -fPIC
passwordfd.c
gcc -o pppoatm.so -shared -g -O2 -I.. -I../../include -fPIC pppoatm.c
-latm
pppoatm.c:19:17: atm.h: No such file or directory
pppoatm.c:21:26: linux/atmppp.h: No such file or directory
make[1]: *** [pppoatm.so] Error 1
make[1]: Leaving directory `/spare2/speedbundle-1.0/ppp/pppd/plugins'
make: *** [all] Error 2


so I copied atmppp.h from my kernel source into ppp/include/linux and
repeated the compilation as above, and the results are:
# make
cd chat; make  all
make[1]: Entering directory `/spare2/speedbundle-1.0/ppp/chat'
cc -c -O2 -g -pipe -DTERMIOS                     -DSIGTYPE=void
-UNO_SLEEP                       -DFNDELAY=O_NDELAY              -o
chat.o chat.c
cc -o chat chat.o
make[1]: Leaving directory `/spare2/speedbundle-1.0/ppp/chat'
cd pppd/plugins; make  all
make[1]: Entering directory `/spare2/speedbundle-1.0/ppp/pppd/plugins'
gcc -o minconn.so -shared -g -O2 -I.. -I../../include -fPIC minconn.c
gcc -o passprompt.so -shared -g -O2 -I.. -I../../include -fPIC
passprompt.c
gcc -o passwordfd.so -shared -g -O2 -I.. -I../../include -fPIC
passwordfd.c
gcc -o pppoatm.so -shared -g -O2 -I.. -I../../include -fPIC pppoatm.c
-latm
pppoatm.c:19:17: atm.h: No such file or directory
make[1]: *** [pppoatm.so] Error 1
make[1]: Leaving directory `/spare2/speedbundle-1.0/ppp/pppd/plugins'
make: *** [all] Error 2

so I copied atm.h from speedbundle-1.0/firmware_loader/src to
ppp/include and ppp/include/linux (as I'm unsure were it is going to
look), and repeated the above compilation steps.  The results are:
# make
cd chat; make  all
make[1]: Entering directory `/spare2/speedbundle-1.0/ppp/chat'
cc -c -O2 -g -pipe -DTERMIOS                     -DSIGTYPE=void
-UNO_SLEEP                       -DFNDELAY=O_NDELAY              -o
chat.o chat.c
cc -o chat chat.o
make[1]: Leaving directory `/spare2/speedbundle-1.0/ppp/chat'
cd pppd/plugins; make  all
make[1]: Entering directory `/spare2/speedbundle-1.0/ppp/pppd/plugins'
gcc -o minconn.so -shared -g -O2 -I.. -I../../include -fPIC minconn.c
gcc -o passprompt.so -shared -g -O2 -I.. -I../../include -fPIC
passprompt.c
gcc -o passwordfd.so -shared -g -O2 -I.. -I../../include -fPIC
passwordfd.c
gcc -o pppoatm.so -shared -g -O2 -I.. -I../../include -fPIC pppoatm.c
-latm
In file included from pppoatm.c:21:
../../include/linux/atmppp.h:20: parse error before `atm_backend_t'
../../include/linux/atmppp.h:20: warning: no semicolon at end of struct
or union../../include/linux/atmppp.h:22: parse error before `}'
pppoatm.c: In function `setdevname_pppoatm':
pppoatm.c:71: storage size of `addr' isn't known
pppoatm.c:78: `T2A_PVC' undeclared (first use in this function)
pppoatm.c:78: (Each undeclared identifier is reported only once
pppoatm.c:78: for each function it appears in.)
pppoatm.c:78: `T2A_NAME' undeclared (first use in this function)
pppoatm.c:85: sizeof applied to an incomplete type
pppoatm.c: In function `set_line_discipline_pppoatm':
pppoatm.c:124: storage size of `be' isn't known
pppoatm.c:125: `ATM_BACKEND_PPP' undeclared (first use in this function)
pppoatm.c:132: `ATM_SETBACKEND' undeclared (first use in this function)
pppoatm.c: In function `connect_pppoatm':
pppoatm.c:148: storage size of `qos' isn't known
pppoatm.c:158: `ATM_UBR' undeclared (first use in this function)
pppoatm.c:165: `ATM_AAL5' undeclared (first use in this function)
pppoatm.c:166: `SO_ATMQOS' undeclared (first use in this function)
pppoatm.c:170: sizeof applied to an incomplete type
pppoatm.c: At top level:
pppoatm.c:28: storage size of `pvcaddr' isn't known
make[1]: *** [pppoatm.so] Error 1
make[1]: Leaving directory `/spare2/speedbundle-1.0/ppp/pppd/plugins'
make: *** [all] Error 2

If I copy atm.h from  speedbundle-1.0/linux-atm/src/include/atm.h 
into the above two places, I get even more error messages.

I am now completely lost.  Any help that anyone can
provide would be much appreciated.

Thanks heaps!
Trog

-- 
Trog Woolley  |  trog at trogwoolley dot com
(A Croweater back residing in Pommie Land with Linux)
Isis Astarte Diana Hecate Demeter Kali Inanna



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to