I'm having problems building kernel driver on Mandrake 8.1

When I do a make I get the following errors :-

[root@nigel kernelmode]# make
gcc -I/usr/src/linux/include -c -g -O pppoatm.c
In file included from pppoatm.c:16:
/usr/src/linux/include/linux/atm.h:211: parse error before `uint32_t'
/usr/src/linux/include/linux/atm.h:211: warning: no semicolon at end of struct 
o                r union
/usr/src/linux/include/linux/atm.h:211: warning: no semicolon at end of struct 
o                r union
/usr/src/linux/include/linux/atm.h:212: warning: data definition has no type 
or                 storage class
/usr/src/linux/include/linux/atm.h:213: parse error before `}'
/usr/src/linux/include/linux/atm.h:217: parameter `addr' has incomplete type
In file included from pppoatm.c:18:
/usr/src/linux/include/linux/atmppp.h:20: parse error before `atm_backend_t'
/usr/src/linux/include/linux/atmppp.h:20: warning: no semicolon at end of 
struct                 or union
/usr/src/linux/include/linux/atmppp.h:22: parse error before `}'
pppoatm.c: In function `setdevname_pppoatm':
pppoatm.c:94: `T2A_PVC' undeclared (first use in this function)
pppoatm.c:94: (Each undeclared identifier is reported only once
pppoatm.c:94: for each function it appears in.)
pppoatm.c:94: `T2A_NAME' undeclared (first use in this function)
pppoatm.c: In function `set_line_discipline_pppoatm':
pppoatm.c:209: storage size of `be' isn't known
pppoatm.c:214: `ATM_BACKEND_PPP' undeclared (first use in this function)
pppoatm.c:223: `ATM_SETBACKEND' undeclared (first use in this function)
make: *** [pppoatm.o] Error 1
[root@nigel kernelmode]#


I have tried it on both the mandrake 2.4.8-26 kernel and the standard 2.4.18 
kernel from www.kernel.org with the same result.

Is is possible for someone to email me a binary copy of this driver to test to 
see if a problem I get with constant disconnection also occurs with this 
driver - or tell me what I'm doing wrong to prevent a good build.


Thanks,
Nigel


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Driver Linux pour modem ECI ADSL USB: http://flashcode.free.fr/linux
Archives de cette liste de diffusion: http://liste.eci.free.fr
Pour se desinscrire: mailto:[EMAIL PROTECTED]?subject=unsubscribe  
        
        
        
        
        

Répondre à