Hi Eduard!

Thank you for your quick reply.

Eduard Bloch Eduard Bloch <[EMAIL PROTECTED]>:
> Erik Schanze schrieb am Donnerstag, den 06. Oktober 2005:
> > Could you please do something on this bug, at least forward it
> > upstream?
> >
> > It sucks really to have a modem, that cuts the internet connection
> > randomly and silently. It could also be a hardware issue, but
> > please give my some hints to debug it. (My warranty will expire in
> > March 2006).
>
> Well, wait a second. If you have a real SmartLink modem, could you
> try the latest upstream version available on http://www.smlink.com/?
>

I was not able to compile it with gcc-4.0:
----------8<------------------------------------------------------
[EMAIL PROTECTED]:~/projekte/slmodem-2.9.10$ make
make -C modem all
make[1]: Entering directory `/home/es/projekte/slmodem-2.9.10/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c 
modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c 
modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
modem.c: In function 'modem_reset':
modem.c:1701: error: invalid storage class for function 'sregs_init'
modem.c:1713: warning: implicit declaration of function 'sregs_init'
modem.c: At top level:
modem.c:1727: error: static declaration of 'sregs_init' follows 
non-static declaration
modem.c:1713: error: previous implicit declaration of 'sregs_init' was 
here
make[1]: *** [modem.o] Error 1
make[1]: Leaving directory `/home/es/projekte/slmodem-2.9.10/modem'
make: *** [modem] Error 2
----------8<------------------------------------------------------


It is compilable with gcc-3.4, but the modules will not be loaded, 
because my kernel was build with gcc-4.0? It complains:
----------8<------------------------------------------------------
neo:~# insmod ~es/projekte/slmodem-2.9.10/drivers/slamr.ko
insmod: error inserting 
'/home/es/projekte/slmodem-2.9.10/drivers/slamr.ko': -1 Invalid module 
format
----------8<------------------------------------------------------


If I build with gcc-4.0 modules only, they will also not be loaded:
----------8<------------------------------------------------------
neo:~# insmod ~es/projekte/slmodem-2.9.10/drivers/slamr.ko
insmod: error inserting 
'/home/es/projekte/slmodem-2.9.10/drivers/slamr.ko': -1 Unknown symbol 
in module
----------8<------------------------------------------------------


What's the trick?


Kindly regards,
Erik


-- 
 www.ErikSchanze.de *********************************************
 Bitte keine HTML-E-Mails! No HTML mails, please! Limit: 100 kB *
      * Linux-Info-Tag in Dresden, am 29. Oktober 2005          *
             Info: http://www.linux-info-tag.de                 *


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to