Linmodems Mailing list Archives
Return-Path: <Jacques.Goldberg@cern.ch>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 19615 invoked from network); 25 Jun 2008 07:43:32 -0000
Received: from puck.lngs.infn.it (192.84.135.115)
by pdam.crynwr.com with SMTP; 25 Jun 2008 07:43:32 -0000
Received: from [192.168.0.222] (wifigw1.lngs.infn.it [172.16.11.118])
by puck.lngs.infn.it (8.13.8/8.13.8/Debian-3) with ESMTP id m5P7hGXi022870;
Wed, 25 Jun 2008 09:43:17 +0200
Message-ID: <4861F70F.1070403@cern.ch>
Date: Wed, 25 Jun 2008 10:43:11 +0300
From: Jacques Goldberg <Jacques.Goldberg@cern.ch>
Reply-To: discuss@linmodems.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20080403 Red Hat/1.5.0.12-10.el4 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: Antonio Olivares <olivares14031@gmail.com>
CC: Marvin Stodolsky <marvin.stodolsky@gmail.com>,
Linmodems <discuss@linmodems.org>
Subject: Re: slmodemd compile failure with gcc-4.3
References: <c27106ee0806122018r32e6428cheb56e5b11847cc8b@mail.gmail.com> <75107330806122026kceca8b1uab0a282f44287ed7@mail.gmail.com> <c27106ee0806122032h20f3f331sb7e6235bb77535f8@mail.gmail.com> <75107330806122038w2f9bd112g9ee3e169859f5367@mail.gmail.com> <c27106ee0806131601h744795a6xe21b10f47596ea30@mail.gmail.com> <75107330806132249w4c208679j308b7e4aa9e0457d@mail.gmail.com> <c27106ee0806140651w56515309ld3f03e42893508f1@mail.gmail.com> <75107330806241229p66a452b6y9aebd41e0757309c@mail.gmail.com>
In-Reply-To: <75107330806241229p66a452b6y9aebd41e0757309c@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Version: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.6.25.72124
X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_10000_PLUS 0, __BOUNCE_CHALLENGE_SUBJ 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_419_BODY_WEBMAIL 0, __FRAUD_419_WEBMAIL 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __SXL_URI_TIMEOUT , __USER_AGENT 0'
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@gmail.com> 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@gmail.com> 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@gmail.com> 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@gmail.com> 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@gmail.com> 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@gmail.com> 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@gmail.com> 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
>>>>>>>>
Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003