Done, sorry for the delay.
Possible patch problem reminded in README.FIRST
Jacques
Antonio Olivares wrote:
Marv & Jacques,
I do not see a SLMODEMD-gcc-4.3.tar.gz in
http://linmodems.technion.ac.il/packages/smartlink/
Sooner or later, it will be needed. Maybe this message got lost in
the discussion.
I just hope that is has the period size 48? patch already in. I just
used slmodem-20080417.tar.gz as the sources.
Regards,
Antonio
On 6/14/08, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
Antonio,
Great.
$ gzip slmodemd
and send it to Jacques.
Jacques,
Please unpack the SLMODEMD-gcc-4,2 tarball,
Replace the slmodemd therein with Antonio's
Rename to SLMODEMD-gcc-4.3 and repack as SLMODEMD-gcc-4.3.tar.gz
MarvS
On Sat, Jun 14, 2008 at 1:49 AM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
Sucess !!!
I have suceeded in creating a SLMODEMD for gcc 4.3.
[olivares@localhost slmodem-2.9.11-20080417]$ cd modem/
[olivares@localhost modem]$ make SUPPORT_ALSA=1
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_main.o -c modem_main.c
modem_main.c: In function 'setup_stream':
modem_main.c:429: warning: 'snd_pcm_sw_params_set_xfer_align' is
deprecated (declared at /usr/include/alsa/pcm.h:1104)
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_cmdline.o -c modem_cmdline.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem.o -c modem.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_datafile.o -c modem_datafile.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_at.o -c modem_at.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_timer.o -c modem_timer.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_pack.o -c modem_pack.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_ec.o -c modem_ec.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_comp.o -c modem_comp.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_param.o -c modem_param.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_debug.o -c modem_debug.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
homolog_data.o -c homolog_data.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
dp_sinus.o -c dp_sinus.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
dp_dummy.o -c dp_dummy.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
sysdep_common.o -c sysdep_common.c
gcc -m32 -o slmodemd modem_main.o modem_cmdline.o modem.o
modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o
dp_dummy.o dsplibs.o sysdep_common.o -lasound
/usr/bin/ld: skipping incompatible /usr/lib64/libasound.so when
searching for -lasound
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make: *** [slmodemd] Error 1
[olivares@localhost modem]$ make clean
rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o
modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o
modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o
dp_sinus.o dp_dummy.o sysdep_common.o
rm -f *~ *.orig *.rej
[olivares@localhost modem]$ make SUPPORT_ALSA=1
rebuild profile...
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_main.o -c modem_main.c
modem_main.c: In function 'setup_stream':
modem_main.c:429: warning: 'snd_pcm_sw_params_set_xfer_align' is
deprecated (declared at /usr/include/alsa/pcm.h:1104)
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_cmdline.o -c modem_cmdline.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem.o -c modem.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_datafile.o -c modem_datafile.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_at.o -c modem_at.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_timer.o -c modem_timer.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_pack.o -c modem_pack.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_ec.o -c modem_ec.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_comp.o -c modem_comp.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_param.o -c modem_param.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_debug.o -c modem_debug.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
homolog_data.o -c homolog_data.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
dp_sinus.o -c dp_sinus.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
dp_dummy.o -c dp_dummy.c
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
sysdep_common.o -c sysdep_common.c
gcc -m32 -o slmodemd modem_main.o modem_cmdline.o modem.o
modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o
dp_dummy.o dsplibs.o sysdep_common.o -lasound
gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o
modem_test.o -c modem_test.c
gcc -m32 -o modem_test modem_test.o modem_cmdline.o modem.o
modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o
dp_dummy.o dsplibs.o sysdep_common.o -lasound
[olivares@localhost modem]$ ls
dp_dummy.c modem.c modem_dp.h modem_param.h
dp_dummy.o modem_cmdline.c modem_ec.c modem_param.o
dp_sinus.c modem_cmdline.o modem_ec.o modem_test
dp_sinus.o modem_comp.c modem.h modem_test.c
dsplibs.o modem_comp.o modem_homolog.h modem_test.o
homolog_data.c modem_datafile.c modem_main.c modem_timer.c
homolog_data.o modem_datafile.o modem_main.o modem_timer.h
Makefile modem_debug.c modem.o modem_timer.o
Makefile.20080401 modem_debug.h modem_pack.c slmodemd
modem_at.c modem_debug.o modem_pack.o sysdep_common.c
modem_at.o modem_defs.h modem_param.c sysdep_common.o
[olivares@localhost modem]$
I needed the following packages:
glibc-devel-2.8-3.i386.rpm
and
alsa-lib-devel.i386
since I am on x86_64 bit machine.
Only thing that might be needed is the patch for period size 48 error
if it is not included.
Can send slmodemd.gz whenever needed.
Regards,
Antonio
On Fri, Jun 13, 2008 at 6:01 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
Antonio,
There is the same compile failure with version 1.01.6 ALSA
libraries installed
Jacques
Sorry for the confusion,
slmodem-20080519 hasn't been sent to you
It is just the working name for the folder in which I doing minor
updates, with more to come. None of them are relevant to the slmodemd
compile problem mentioned.
MarvS
On Thu, Jun 12, 2008 at 11:38 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
No problem. I just wondered why there was a newer version that I did
not know of.
Do you have alsa-1.0.16 on your system, with devel files and all, this
is necessary to have to create a working SLMODEMD.gcc4.3.tar.gz
Maybe this is why it fails?
Regards,
Antonio
On Thu, Jun 12, 2008 at 10:32 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
RE: > I only see slmodem-20080417.tar.gz
slmodem-20080519.tar.gz is a very minor update I am working on,
without effect on the gcc-4.3 compiling issue.
With slmodem-20080417, there is the same error.
MarvS
On Thu, Jun 12, 2008 at 11:26 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> 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