Charles Trois wrote: > My setup is: G4 iMac, Gentoo Linux (2.6.10 kernel), USB Speedtouch modem > (the green one). > > I am trying to make Speedtouch work by installing Speedbundle, but I > immediately meet an error in compiling linux-atm: > > make[4]: Entering directory > `/root/travaux/speedbundle-1.0/linux-atm/src/lib' > /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. > -I../../src/include -g -O2 -Wall-Wshadow -Wpointer-arith > -Wwrite-strings -Wstrict-prototypes -c sapequal.c > rm -f .libs/sapequal.lo > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -g -O2 -Wall > -Wshadow -Wpointer-arith -Wwrite-strings-Wstrict-prototypes -c > sapequal.c -fPIC -DPIC -o .libs/sapequal.lo > sapequal.c: In function `match_blli': > sapequal.c:68: error: label at end of compound statement > sapequal.c:86: error: label at end of compound statement > make[4]: *** [sapequal.lo] Error 1 > make[4]: Leaving directory `/root/travaux/speedbundle-1.0/linux-atm/src/lib' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/travaux/speedbundle-1.0/linux-atm/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/root/travaux/speedbundle-1.0/linux-atm' > make[1]: *** [all-recursive-am] Error 2 > make[1]: Leaving directory `/root/travaux/speedbundle-1.0/linux-atm' > make: *** [build-stamp] Error 2 > > Looking at lines 68 and 86 in sapequal.c, I don't notice anything > particular, and I wonder if the error description really makes sense. > > I would be grateful for all suggestions.
gcc version 3.4 was more strict about the code than previous versions of gcc. You'll need to patch linux-atm if you want to compile it with gcc-3.4 (the patch is fairly minimal, it just adds a few semi-colons) http://www.linux-usb.org/SpeedTouch/LFS/linux-atm-gcc34.patch Or you could do it the Gentoo way, http://www.linux-usb.org/SpeedTouch/gentoo/index.html Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
