slmodemd compile failure with gcc-4.3

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

 



Folks,

We have an impending problem for slmodemd,
There is a compilation using the gcc-4.3,   used in some 2.6.25
releases already.
When using the current gcc-4.2 , there compile remains successful..

The compile error with gcc-4.3 is the same, whether or not there is
specified SUPPORT_ALSA=1
For anyone with good C code skills,  addressing this problem would be useful.

Why source of gcc-4.3 was from the next Ubuntu release (Intrepid) resources.

The data is below.

MarvS
===============

$ ls -l /usr/bin/gcc*
lrwxrwxrwx 1 root root     16 2008-06-12 23:01 /usr/bin/gcc -> /usr/bin/gcc-4.3


slmodem-2.9.11-20080519/modem$ make SUPPORT_ALSA=1
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem.o
-c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -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: *** [modem_datafile.o] Error 1

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

  Powered by Linux