Re:Re: Driver compilation fails with Ubuntu 8.10

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

 



The joy was short.
When modprobe try to install modules ungrab-winmodem and slamr appear this:
FATAL: Error inserting ungrab_winmodem
(/lib/modules/2.6.27-11-generic/extra/ungrab-winmodem.ko): Invalid
module format
FATAL: Error inserting slamr
(/lib/modules/2.6.27-11-generic/extra/slamr.ko): Invalid module format
Regards
Arturo

2009/1/28 Antonio Olivares <olivares14031@xxxxxxxxx>:
> Arturo,
>
> Please try the precompiled one for your kernel.  There are compilation
> problems under Ubuntu :(
>
> http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/slamr-2.6.27-9-generic.tar.gz
>
> This way you avoid the compilation problems you have encountered :)
>
> Regards,
>
> Antonio
>
> On Wed, Jan 28, 2009 at 10:39 AM, Arturo Neri <ciornjeja@xxxxxxxxx> wrote:
>> Hi! For along time I have used yours driver for my modem with Ubuntu 7.10.
>> Now I have installed Ubuntu 8.10 and during the compilation they give
>> me the following error:
>> Quote
>> ciornj@Ciornj-Ubu:~/Download/slmodem-2.9.11-20080817$ make
>> make -C modem all
>> make[1]: Entering directory`/home/ciornj/Download/slmodem-2.9.11-20080817/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
>> In function 'open',
>>   inlined from 'datafile_save_info' at modem_datafile.c:114:
>> /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
>> declared with attribute error: open with O_CREAT in second argument
>> needs 3 arguments
>> make[1]: *** [modem_datafile.o] Error 1
>> make[1]: Leaving directory `/home/ciornj/Download/slmodem-2.9.11-20080817/modem'
>> make: *** [modem] Error 2
>> End quote
>> In Ubuntu 7.10 there is only fcntl.h As from your indication in
>> ModemData.txt The package linux-libc-dev is installed.
>> Kernel version is 2.6.27-9 generic
>> I have compiled ungrub and all go fine
>> Thanks in advance for your help
>>
>

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

  Powered by Linux