Re:Re: Driver compilation fails with Ubuntu 8.10

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

 



To use precompiled modules did not work.
Quote
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
End quote
Please Is there a way to compile  using the library gcc-4.2 without
uninstalling the gcc-4.3? I saw that if I uninstall the 4.3 should
uninstall a lot of programs
Thanks
Arturo

2009/1/28 Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
> Arturo,
>
>> 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
> ---------
> The slmodemd compile problem is due to  a bug in the new gcc-4.3 release.
> The compile succeeds if the prior gcc-4.2 is used.
> If the compile is started within the drivers/  folder  slamr.ko  is compiled.
>
> Components of the  slamr-2.6.27-9-generic.tar was thus assembled by me.
>
> Mar vS
>
> On Wed, Jan 28, 2009 at 11: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