Re: Oleksis, Cuba kernel 2.6.36

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

 



Okesis,

Lazaro is being provided with a patch,
that is needed for compiling your needed slamr driver under 2.6.36 kernels
Lazaro has the rest of the software package, which is to large to send
you directly.

Should you be able to access our repository http://linmodems.technion.ac.il/,
please let us know.

MarvS
scanModem maintainer


On Mon, Oct 25, 2010 at 6:48 AM, Oleksis Fraga Menendez
<oleksis.fraga@xxxxxxx> wrote:
> To: discuss@xxxxxxxxxxxxx
>
> Subject: Oleksis, Cuba kernel 2.6.36
>
> Utility commands to display information on the Kernel and Modem
>
> universo:~# uname -a
> Linux universo 2.6.36 #1 SMP Sun Oct 24 19:37:54 CDT 2010 i686 GNU/Linux
>
> universo:~# uname -r
> 2.6.36
>der
> universo:~# lspci
> ...
> 01:0a.0 Modem: Motorola SM56 Data Fax Modem (rev 04)
>
>
> The problem is when I try to compile the driver gives the following error
> slamr shown below. Using the kernel source linux-6.2.1936. How to solve this
> problem? Thanks for the help!
>
> universo:~/MyDocument/slmodem-2.9.11-20100718# make
> make -C modem all
> make[1]: se ingresa al directorio
> `/root/MyDocument/slmodem-2.9.11-20100718/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]: se sale del directorio
> `/root/MyDocument/slmodem-2.9.11-20100718/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.36/build
> /bin/sh: line 0: [: 36/build: integer expression expected
> make[1]: se ingresa al directorio
> `/root/MyDocument/slmodem-2.9.11-20100718/drivers'
> doing kernel-ver::
> cc -I/lib/modules/2.6.36/build/include -o kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.36
> /bin/sh: line 0: [: 36/build: integer expression expected
> make[2]: se ingresa al directorio
> `/root/MyDocument/slmodem-2.9.11-20100718/drivers'
> Â Â Â Âobj-m=slamr.o Âslusb.o
> Â Â Â Âslamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
> make modules -C /lib/modules/2.6.36/build
> SUBDIRS=/root/MyDocument/slmodem-2.9.11-20100718/drivers
> make[3]: se ingresa al directorio `/usr/src/linux-2.6.36'
> /bin/sh: line 0: [: 36/build: integer expression expected
> ÂCC [M] /root/MyDocument/slmodem-2.9.11-20100718/drivers/amrmo_init.o
> /root/MyDocument/slmodem-2.9.11-20100718/drivers/amrmo_init.c: In function
> âamrmo_ioctlâ:
> /root/MyDocument/slmodem-2.9.11-20100718/drivers/amrmo_init.c:450: warning:
> ignoring return value of âcopy_from_userâ, declared with attribute
> warn_unused_result
> /root/MyDocument/slmodem-2.9.11-20100718/drivers/amrmo_init.c: At top level:
> /root/MyDocument/slmodem-2.9.11-20100718/drivers/amrmo_init.c:517: error:
> unknown field âioctlâ specified in initializer
> /root/MyDocument/slmodem-2.9.11-20100718/drivers/amrmo_init.c:517: warning:
> initialization from incompatible pointer type
> make[4]: *** [/root/MyDocument/slmodem-2.9.11-20100718/drivers/amrmo_init.o]
> Error 1
> make[3]: *** [_module_/root/MyDocument/slmodem-2.9.11-20100718/drivers]
> Error 2
> make[3]: se sale del directorio `/usr/src/linux-2.6.36'
> make[2]: *** [all] Error 2
> make[2]: se sale del directorio
> `/root/MyDocument/slmodem-2.9.11-20100718/drivers'
> make[1]: *** [all] Error 2
> make[1]: se sale del directorio
> `/root/MyDocument/slmodem-2.9.11-20100718/drivers'
> make: *** [drivers] Error 2
>
>



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

  Powered by Linux