andres, Chances are you should be requesting support from Dialogic, but I can give you a few pointers.
The error is caused by modutils. When modutils goes to load the driver into the kernel it detects that the kernel was gcc3 compiled and the module was gcc2 compiled. If you have source for the driver, simply recompile it with gcc3. If you do not, you probably need Dialogic support. Several other things. LiS 2.17A is probably not compatible with an LiS driver binary compiled for an earlier version. It is probably best to use the version of LiS recommended by Dialogic. You can re-compile your kernel with gcc2. On a RH9.0 system, this can be invoked gcc296 instead of just gcc. Configure your kernel and when you say 'make' type 'make CC=gcc296' instead. This will cause the kernel to be rebuilt with gcc2. Install the kernel 'make CC=gcc296 install' and rebuild LiS against the kernel. LiS has no module symbol versioning. Therefore if you build LiS 2.17A against your new gcc2 kernel, the Dialog driver will load, but will probably break spectacularly because the binary is only compatible with an earlier version of LiS. So, if you're stuck with Dialogic binaries, recompile your kernel with gcc296, rebuild a version of LiS (again using gcc296) compatible with the Dialogic binary, and then the driver should load and operate correctly. Perhaps the distributors of the binary have a gcc3 version? I hope that helps. --brian On Thu, 19 Feb 2004, andres wrote: > Hi, brian thanks for your help > > my kernel's version is 2.4.20-8smp > Lis 2.17A > > I try to compile with Dialogic System Release 5.1 for Linux > > the kernel's message is: > > Using /lib/modules/2.4.20-8smp/misc/streams-dlgnDriver.o > Warning: The module you are trying to load > (/lib/modules/2.4.20-8smp/misc/streams-dlgnDriver.o) is compiled with a > gcc version 2 compiler, while the kernel you are running is compiled > with a gcc version 3 compiler. This is known to not work. > > > > -- > andres <[EMAIL PROTECTED]> -- Brian F. G. Bidulock � The reasonable man adapts himself to the � [EMAIL PROTECTED] � world; the unreasonable one persists in � http://www.openss7.org/ � trying to adapt the world to himself. � � Therefore all progress depends on the � � unreasonable man. -- George Bernard Shaw � _______________________________________________ Linux-streams mailing list [EMAIL PROTECTED] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
