Re: USB-Modem, slusb and kernels later than 2.6.24

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Antonio,

thanks a lot. This option carried me a step further - to the next error.
Please find enclosed the compilation and the error-log as well.
In the tar-ball enclosed are different patch-file. But there is no
documentation to what file or files these shold be applied and in which
cases.

Regards

Bernd

Antonio Olivares schrieb:
> Bernd,
>
> Try to use a special command make USB=1
>
> $ sudo make USB=1
> or
> $ make USB=1
> the slusb as well as the slamr driver will be compiled.  Try that and
> report back.
>
> Regards,
>
> Antonio
>
>
>
> On Thu, May 19, 2011 at 10:22 AM, Bernd Weber <weber.bernd@xxxxxxxx> wrote:
>   
>> Jacques,
>>
>> I am using a 32-bits machine.
>>
>> the URL:
>> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20110321.tar.gz
>>
>> My steps:
>>
>> tar xzvf slmodem-2.9.11-20110321.tar.gz
>>
>> make
>> make install
>>
>> And then I learned that slusb.ko wasn't compiled. I couldn't find the
>> reason. On some pages I got hints that there might be problems with
>> kernels later than 2.6.24.
>> May be I should have done further configuration efforts for slusb. But I
>> didn't find hints what I should do. So I have the choice to experiment a
>> few days or ask questions ;)
>>
>> Greetings Bernd
>>
>> Jacques Goldberg schrieb:
>>     
>>> Bernd,
>>>
>>> Please give us the URL of the file which compiled slamr and failed
>>> slusb - I just would like to give it a try on my machine
>>> (because I had the necessary hardware in my office, I happend to watch
>>> Sacha, the author of the drivers, compiling and testing them , and I
>>> am curious to see what fails and where)
>>> Also, are you using a 32 bits or a 64 bits machine?
>>>
>>> Jacques
>>>
>>> On 05/19/2011 05:50 PM, Bernd Weber wrote:
>>>       
>>>> Hi,
>>>>
>>>> the last kernel slusb worked with was 2.6.18.2-34-default, Suse 10.2
>>>> with slmodem-2.9.10.
>>>>
>>>> I compiled the latest version on SuSe 11.4. But slusb wasn't compiled,
>>>> only slamr. I tediously searched the site of linmodem, but didn't find
>>>> an answer whats to do. SuSe 11.4 comes with kernel 2.6.37
>>>>
>>>> The Modem in question is a Fujitsu Siemens USB-Modem.
>>>> As I said, it works fine with older kernels and older Versions of
>>>> slmodem.
>>>>
>>>> If there is some programming to be done, please let me know. Though I am
>>>> much better in Perl than in C/C++, if necessary I would try to solve the
>>>> problems.
>>>>
>>>> Could somebody give me a short briefing?
>>>>
>>>> Greetings
>>>>
>>>> Bernd
>>>>         
>>     
>
>   


/home/bernd/src/slmodem-2.9.11-20110321/drivers/amrmo_init.c: In function â??amrmo_unlocked_ioctlâ??:
/home/bernd/src/slmodem-2.9.11-20110321/drivers/amrmo_init.c:450:17: warning: ignoring return value of â??copy_from_userâ??, declared with attribute warn_unused_result
/home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.c:1206:2: error: unknown field â??ownerâ?? specified in initializer
/home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.c:1206:2: warning: initialization from incompatible pointer type
/home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.c: In function â??st7554_probeâ??:
/home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.c:1342:2: warning: passing argument 2 of â??device_createâ?? makes pointer from integer without a cast
/usr/src/linux-2.6.37.1-1.2/include/linux/device.h:598:23: note: expected â??struct device *â?? but argument is of type â??intâ??
/home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.c:1342:2: warning: passing argument 3 of â??device_createâ?? makes integer from pointer without a cast
/usr/src/linux-2.6.37.1-1.2/include/linux/device.h:598:23: note: expected â??dev_tâ?? but argument is of type â??void *â??
/home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.c:1342:2: warning: passing argument 5 of â??device_createâ?? makes pointer from integer without a cast
/usr/src/linux-2.6.37.1-1.2/include/linux/device.h:598:23: note: expected â??const char *â?? but argument is of type â??intâ??
make[6]: *** [/home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.o] Fehler 1
make[5]: *** [_module_/home/bernd/src/slmodem-2.9.11-20110321/drivers] Fehler 2
make[4]: *** [sub-make] Fehler 2
make[3]: *** [all] Fehler 2
make[2]: *** [all] Fehler 2
make[1]: *** [all] Fehler 2
make: *** [drivers] Fehler 2

make -C modem all
make[1]: Entering directory `/home/bernd/src/slmodem-2.9.11-20110321/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
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o  
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o  
make[1]: Leaving directory `/home/bernd/src/slmodem-2.9.11-20110321/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.37.1-1.2-default/build
make[1]: Entering directory `/home/bernd/src/slmodem-2.9.11-20110321/drivers'
doing kernel-ver::
cc -I/lib/modules/2.6.37.1-1.2-default/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.37.1-1.2-default
make[2]: Entering directory `/home/bernd/src/slmodem-2.9.11-20110321/drivers'
	obj-m=slamr.o  slusb.o 
	slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
make modules -C /lib/modules/2.6.37.1-1.2-default/build SUBDIRS=/home/bernd/src/slmodem-2.9.11-20110321/drivers
make[3]: Entering directory `/usr/src/linux-2.6.37.1-1.2-obj/i386/default'
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/i386/default/. modules
  CC [M]  /home/bernd/src/slmodem-2.9.11-20110321/drivers/amrmo_init.o
  CC [M]  /home/bernd/src/slmodem-2.9.11-20110321/drivers/sysdep_amr.o
  CC [M]  /home/bernd/src/slmodem-2.9.11-20110321/drivers/st7554.o
make[3]: Leaving directory `/usr/src/linux-2.6.37.1-1.2-obj/i386/default'
make[2]: Leaving directory `/home/bernd/src/slmodem-2.9.11-20110321/drivers'
make[1]: Leaving directory `/home/bernd/src/slmodem-2.9.11-20110321/drivers'


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux