[speedtouch] Re: Compilation problems

2004-09-25 Thread Duncan Sands

> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/qgen -I../../src/saal
> -I.-I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith
> -Wwrite-strings -Wstrict-prototypes -c sonetdiag.c
> In file included from /usr/include/linux/sonet.h:61,
>  from sonetdiag.c:18:
> /usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in
> userland program. BAD!
> In file included from sonetdiag.c:18:
> /usr/include/linux/sonet.h:65: parse error before "__SONET_ITEMS"
> In file included from sonetdiag.c:18:
> /usr/include/linux/sonet.h:75:2: #endif without #if
> make[4]: *** [sonetdiag.o] Error 1
> make[4]: Leaving directory `speedbundle-is-1.0/linux-atm/src/maint'

Redhat, right?  Try the attached Makefile.

Duncan.


-- Binary/unsupported file stripped by Listar --
-- Type: text/x-makefile
-- File: Makefile.redhat


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Compilation problems

2004-09-24 Thread Andrew Benton


Rodrigo Madera wrote:
> Hello to all.
> 
> I have been trying to compile the bundle on my system but had no
> success.
> 
> 
> The error output is:

Are you using gcc-3.4? If so, apply this patch to the linux-atm folder 
in the speedbundle 
http://cpan.cybercomm.nl/pub/gentoo-portage/net-dialup/linux-atm/files/2.4.1-gcc34.patch

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]