Driver compilation fails with Ubuntu 8.10

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

 



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