Re: slmodemd compile failure with gcc-4.3

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

 



Thanks Antonio

Indeed the file names got screwed up, no matter where, as I store the files as they are downloaded without touching the name. The date string was completely wrong...

Please note that there are two files, one for gcc3 and one for gcc4.

Jacques

Antonio Olivares wrote:
Where's
slmodem-20080519.tar.gz as it cannot be found in

http://linmodems.technion.ac.il/packages/smartlink/

I only see slmodem-20080417.tar.gz

Regards,

Antonio

On Thu, Jun 12, 2008 at 10:18 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
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