Greg Swinford wrote:
> Hi, i'm completely new to linux but i've had some (limited!)
> programming experience, but I've managed to install Fedora Core 3,
> and I'm trying to get my modem to work now.
>
> I've followed all the instructions on the howto page, but when I go to
> the terminal and run 'make' (as root) it gives several error messages
> as follows:
>
> 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
> sapequal.c: In function `blli_compat':
> sapequal.c:101: warning: implicit declaration of function
> `blli_in_use'
> make[4]: *** [sapequal.lo] Error 1
> make[4]: Leaving directory `/root/speedbundle-1.0/linux-atm/src/lib'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/root/speedbundle-1.0/linux-atm/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/speedbundle-1.0/linux-atm'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/root/speedbundle-1.0/linux-atm'
> make: *** [build-stamp] Error 2
>
> Any help would be greatly appreciated - thanks in advance!
>
>
> Greg.
>
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se d�sinscrire : mailto:[EMAIL PROTECTED]
>
>
>
The linux-atm-2.4.1 source has some code that gcc-3.4 doesn't like.
Apply this patch
--- linux-atm/src/sigd/proto.c.orig 2004-04-21 20:33:39.327959120 -0400
+++ linux-atm/src/sigd/proto.c 2004-04-21 20:33:55.979427712 -0400
@@ -259,6 +259,7 @@
break;
}
default:
+ ;
}
va_end(ap);
if ((size = q_close(&dsc)) >= 0)
to_signaling(sock->sig,q_buffer,size);
@@ -288,6 +289,7 @@
}
break;
default:
+ ;
}
va_end(ap);
}
--- linux-atm/src/lib/sapequal.c.orig 2004-04-21 20:18:48.773344000 -0400
+++ linux-atm/src/lib/sapequal.c 2004-04-21 20:19:15.103341232 -0400
@@ -65,6 +65,7 @@
CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window);
break;
default:
+ ;
}
switch (a.l3_proto) {
case ATM_L3_X25:
@@ -83,6 +84,7 @@
if (a.l3.user != b.l3.user) return 0;
break;
default:
+ ;
}
return 1;
}
--- linux-atm/src/maint/enitune.c.orig 2004-04-21 21:14:53.994752584 -0400
+++ linux-atm/src/maint/enitune.c 2004-04-21 21:15:03.371327128 -0400
@@ -44,6 +44,7 @@
if (*end || mult.rx <= 100) usage(name);
break;
default:
+ ;
}
if (argc != optind+1) usage(name);
sioc.number = strtol(argv[optind],&end,0);
I've not tried Fedora Core 3 myself but I couldn't get linux-atm to
compile on Core 2. I would suggest that you give up on the kernel driver
and try the userspace driver with the Speedtouchconf
http://speedtouchconf.sourceforge.net/
-- Binary/unsupported file stripped by Listar --
-- Type: text/x-patch
-- File: linux-atm-gcc34.patch
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]