Fwd: I see problems now that you saw with slmodem-2.9.11-20080817.tar.gz wrt to SLMODEMD.gcc4.3.tar.gz

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

 



Re: I wonder how the following was created?
http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/slamr-2.6.27-7-generic.tar.gz

I did the slmodemd compile with gcc-4.2 (but not ALSA competent) in
the modem/ folder, which only calls on the version 1.0.17 alsa-lib
code.
 The slamr.ko compile in the drivers/  folder was done with the
gcc-4.3  compiler, thus match the 2.6.27-7-generic
kernel+other_drivers compiled with gcc-4.3

There have been success reports.

Marv

On Sat, Dec 13, 2008 at 6:18 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Marv,
>
> The compilations stop at about the same place :(
>
> ubuntu@ubuntu:~/Desktop$ cd slmodem-2.9.11-20080811/
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080811$ cd modem/
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080811/modem$ make ALSA_SUPPORT=1
> 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: *** [modem_datafile.o] Error 1
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080811/modem$
>
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080811$ make
> KERNEL_VER=/lib/modules/2.6.27-7-generic/build
> make -C modem all
> make[1]: Entering directory `/home/ubuntu/Desktop/slmodem-2.9.11-20080811/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/ubuntu/Desktop/slmodem-2.9.11-20080811/modem'
> make: *** [modem] Error 2
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080811$
>
> ubuntu@ubuntu:~/Desktop$ cd slmodem-2.9.11-20080417/
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080417$ make
> KERNEL_VER=/lib/modules/2.6.27-7-generic/build
> make -C modem all
> make[1]: Entering directory `/home/ubuntu/Desktop/slmodem-2.9.11-20080417/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/ubuntu/Desktop/slmodem-2.9.11-20080417/modem'
> make: *** [modem] Error 2
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080417$ make clean
> make -C modem clean &&  make -C drivers clean &&  echo "done."
> make[1]: Entering directory `/home/ubuntu/Desktop/slmodem-2.9.11-20080417/modem'
> 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
> make[1]: Leaving directory `/home/ubuntu/Desktop/slmodem-2.9.11-20080417/modem'
> make[1]: Entering directory
> `/home/ubuntu/Desktop/slmodem-2.9.11-20080417/drivers'
> rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o
> amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
> rm -f -r .tmp_versions
> make[1]: Leaving directory
> `/home/ubuntu/Desktop/slmodem-2.9.11-20080417/drivers'
> done.
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080417$ cd modem/
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080417/modem$ make ALSA_SUPPORT=1
> 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: *** [modem_datafile.o] Error 1
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080417/modem$
>
>
> ubuntu@ubuntu:~/Desktop$ cd slmodem-2.9.11-20080629/
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080629$ make
> KERNEL_VER=/lib/modules/2.6.27-7-generic/build
> make -C modem all
> make[1]: Entering directory `/home/ubuntu/Desktop/slmodem-2.9.11-20080629/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/ubuntu/Desktop/slmodem-2.9.11-20080629/modem'
> make: *** [modem] Error 2
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080629$ make clean
> make -C modem clean &&  make -C drivers clean &&  echo "done."
> make[1]: Entering directory `/home/ubuntu/Desktop/slmodem-2.9.11-20080629/modem'
> 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
> make[1]: Leaving directory `/home/ubuntu/Desktop/slmodem-2.9.11-20080629/modem'
> make[1]: Entering directory
> `/home/ubuntu/Desktop/slmodem-2.9.11-20080629/drivers'
> rm -f kernel-ver slamr.o  slamr.ko *st7554.o amrmo_init.o sysdep_amr.o
> *.mod.* .*.cmd *~
> rm -f -r .tmp_versions
> make[1]: Leaving directory
> `/home/ubuntu/Desktop/slmodem-2.9.11-20080629/drivers'
> done.
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080629$ cd modem/
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080629/modem$ make ALSA_SUPPORT=1
> 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: *** [modem_datafile.o] Error 1
> ubuntu@ubuntu:~/Desktop/slmodem-2.9.11-20080629/modem$
>
>
> I wonder how the following was created?
>
> http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/slamr-2.6.27-7-generic.tar.gz
>
> except for updates to the base system.  Since I am running live.
>
> Regards,
>
> Antonio
>
>
> On Sun, Dec 14, 2008 at 2:10 AM, Antonio Olivares
> <olivares14031@xxxxxxxxx> wrote:
>> It is  bug with Ubuntu's gcc 4.3 :(
>>
>> https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/286565
>>
>> /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared
>>
>> http://www.mail-archive.com/ubuntu-bugs@xxxxxxxxxxxxxxxx/msg1100571.html
>>
>> I will try to check the other versions and if I catch something, I'll
>> reply back.
>>
>> Regards,
>>
>> Antonio
>>
>> On Sun, Dec 14, 2008 at 2:06 AM, Marvin Stodolsky
>> <marvin.stodolsky@xxxxxxxxx> wrote:
>>> Antonio,
>>>
>>> As I reported earlier, the problem seems to be the gcc-4.3 compiler,
>>> as the compile is OK using 2.6.27 resources and the gcc-4.2 compiler.
>>>
>>> I'm on a Mac now and cannot recheck.   But my memory is that the
>>> failure point is only during the slmodemd compile in the modem/
>>> folder.
>>>
>>> Starting in the drivers/ folder,
>>> $ make
>>> may generate slamr.ko  perhaps even with the gcc-4.3 compiler and
>>> certainly the gcc-4.2 compiler, at least on my Ubuntu system.
>>>
>>> I suspect that slmodemd compiled with gcc-4.2 will with drivers
>>> compiled with gcc-4.3 , but I don't have the hardware to check.
>>>
>>> MarvS
>>>
>>>
>>> On Sat, Dec 13, 2008 at 5:55 PM, Antonio Olivares
>>> <olivares14031@xxxxxxxxx> wrote:
>>>> Dear Marv,
>>>>
>>>> I am seeing now where you see problems creating a
>>>> SLMODEMD.gcc4.3.tar.gz for Ubuntu.  The code indeed fails :(
>>>>
>>>> What could be wrong?
>>>>
>>>> ubuntu@ubuntu:~/Documents/slmodem-2.9.11-20080817$ cd modem/
>>>> ubuntu@ubuntu:~/Documents/slmodem-2.9.11-20080817/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
>>>> modem_main.c:64:28: error: alsa/asoundlib.h: No such file or directory
>>>> modem_main.c:106: error: expected specifier-qualifier-list before 'snd_pcm_t'
>>>> modem_main.c:134: error: expected '=', ',', ';', 'asm' or
>>>> '__attribute__' before '*' token
>>>> modem_main.c: In function 'alsa_mixer_setup':
>>>> modem_main.c:141: error: 'snd_mixer_elem_t' undeclared (first use in
>>>> this function)
>>>> modem_main.c:141: error: (Each undeclared identifier is reported only once
>>>> modem_main.c:141: error: for each function it appears in.)
>>>> modem_main.c:141: error: 'elem' undeclared (first use in this function)
>>>> modem_main.c:148: warning: implicit declaration of function 'snd_mixer_open'
>>>> modem_main.c:148: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c:150: warning: implicit declaration of function 'snd_strerror'
>>>> modem_main.c:150: warning: format '%s' expects type 'char *', but
>>>> argument 2 has type 'int'
>>>> modem_main.c:153: warning: implicit declaration of function 'snd_mixer_attach'
>>>> modem_main.c:153: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c:155: warning: format '%s' expects type 'char *', but
>>>> argument 4 has type 'int'
>>>> modem_main.c:158: warning: implicit declaration of function
>>>> 'snd_mixer_selem_register'
>>>> modem_main.c:158: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c:160: warning: format '%s' expects type 'char *', but
>>>> argument 4 has type 'int'
>>>> modem_main.c:163: warning: implicit declaration of function 'snd_mixer_load'
>>>> modem_main.c:163: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c:165: warning: format '%s' expects type 'char *', but
>>>> argument 4 has type 'int'
>>>> modem_main.c:169: warning: implicit declaration of function
>>>> 'snd_mixer_first_elem'
>>>> modem_main.c:169: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c:169: warning: implicit declaration of function
>>>> 'snd_mixer_elem_next'
>>>> modem_main.c:170: warning: implicit declaration of function
>>>> 'snd_mixer_selem_get_name'
>>>> modem_main.c:170: warning: passing argument 1 of 'strlen' makes
>>>> pointer from integer without a cast
>>>> modem_main.c:170: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:170: warning: passing argument 1 of 'strlen' makes
>>>> pointer from integer without a cast
>>>> modem_main.c:170: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:170: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:170: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:171: error: 'struct device_struct' has no member named
>>>> 'hook_off_elem'
>>>> modem_main.c:172: warning: passing argument 1 of 'strlen' makes
>>>> pointer from integer without a cast
>>>> modem_main.c:172: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:172: warning: passing argument 1 of 'strlen' makes
>>>> pointer from integer without a cast
>>>> modem_main.c:172: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:172: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:172: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:173: error: 'struct device_struct' has no member named 'cid_elem'
>>>> modem_main.c:174: warning: passing argument 1 of 'strlen' makes
>>>> pointer from integer without a cast
>>>> modem_main.c:174: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:174: warning: passing argument 1 of 'strlen' makes
>>>> pointer from integer without a cast
>>>> modem_main.c:174: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:174: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:174: warning: passing argument 1 of '__builtin_strcmp'
>>>> makes pointer from integer without a cast
>>>> modem_main.c:175: error: 'struct device_struct' has no member named
>>>> 'speaker_elem'
>>>> modem_main.c:178: error: 'struct device_struct' has no member named
>>>> 'hook_off_elem'
>>>> modem_main.c:182: warning: implicit declaration of function 'snd_mixer_close'
>>>> modem_main.c:182: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c:183: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c: In function 'alsa_device_setup':
>>>> modem_main.c:193: error: storage size of 'pfd' isn't known
>>>> modem_main.c:199: warning: format '%s' expects type 'char *', but
>>>> argument 2 has type 'int'
>>>> modem_main.c:201: warning: implicit declaration of function 'snd_pcm_open'
>>>> modem_main.c:201: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:201: error: 'SND_PCM_STREAM_PLAYBACK' undeclared (first
>>>> use in this function)
>>>> modem_main.c:201: error: 'SND_PCM_NONBLOCK' undeclared (first use in
>>>> this function)
>>>> modem_main.c:203: warning: format '%s' expects type 'char *', but
>>>> argument 4 has type 'int'
>>>> modem_main.c:207: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:207: error: 'SND_PCM_STREAM_CAPTURE' undeclared (first
>>>> use in this function)
>>>> modem_main.c:209: warning: format '%s' expects type 'char *', but
>>>> argument 4 has type 'int'
>>>> modem_main.c:213: warning: implicit declaration of function
>>>> 'snd_pcm_poll_descriptors'
>>>> modem_main.c:213: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:215: warning: format '%s' expects type 'char *', but
>>>> argument 4 has type 'int'
>>>> modem_main.c:223: warning: implicit declaration of function
>>>> 'snd_output_stdio_attach'
>>>> modem_main.c:223: error: 'dbg_out' undeclared (first use in this function)
>>>> modem_main.c:193: warning: unused variable 'pfd'
>>>> modem_main.c: In function 'alsa_device_release':
>>>> modem_main.c:230: warning: implicit declaration of function 'snd_pcm_close'
>>>> modem_main.c:230: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:231: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:232: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c:233: error: 'struct device_struct' has no member named
>>>> 'hook_off_elem'
>>>> modem_main.c:234: warning: implicit declaration of function
>>>> 'snd_mixer_selem_set_playback_switch_all'
>>>> modem_main.c:234: error: 'struct device_struct' has no member named
>>>> 'hook_off_elem'
>>>> modem_main.c:235: error: 'struct device_struct' has no member named 'cid_elem'
>>>> modem_main.c:236: error: 'struct device_struct' has no member named 'cid_elem'
>>>> modem_main.c:237: error: 'struct device_struct' has no member named
>>>> 'speaker_elem'
>>>> modem_main.c:238: error: 'struct device_struct' has no member named
>>>> 'speaker_elem'
>>>> modem_main.c:239: error: 'struct device_struct' has no member named 'mhandle'
>>>> modem_main.c: In function 'alsa_xrun_recovery':
>>>> modem_main.c:250: warning: implicit declaration of function 'snd_pcm_prepare'
>>>> modem_main.c:250: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:252: warning: format '%s' expects type 'char *', but
>>>> argument 3 has type 'int'
>>>> modem_main.c:255: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:256: warning: implicit declaration of function
>>>> 'snd_pcm_format_set_silence'
>>>> modem_main.c:256: error: 'SND_PCM_FORMAT_S16_LE' undeclared (first use
>>>> in this function)
>>>> modem_main.c:257: warning: implicit declaration of function 'snd_pcm_writei'
>>>> modem_main.c:257: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:259: warning: format '%s' expects type 'char *', but
>>>> argument 3 has type 'int'
>>>> modem_main.c:262: warning: implicit declaration of function 'snd_pcm_start'
>>>> modem_main.c:262: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:264: warning: format '%s' expects type 'char *', but
>>>> argument 3 has type 'int'
>>>> modem_main.c: In function 'alsa_device_read':
>>>> modem_main.c:276: warning: implicit declaration of function 'snd_pcm_readi'
>>>> modem_main.c:276: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c: In function 'alsa_device_write':
>>>> modem_main.c:292: error: 'struct device_struct' has no member named 'started'
>>>> modem_main.c:295: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c: At top level:
>>>> modem_main.c:317: error: expected '=', ',', ';', 'asm' or
>>>> '__attribute__' before 'mdm2snd_format'
>>>> modem_main.c:325: error: expected ')' before '*' token
>>>> modem_main.c: In function 'alsa_start':
>>>> modem_main.c:451: error: 'struct device_struct' has no member named 'period'
>>>> modem_main.c:452: error: 'struct device_struct' has no member named
>>>> 'buf_periods'
>>>> modem_main.c:453: warning: implicit declaration of function 'setup_stream'
>>>> modem_main.c:453: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:456: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:459: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:460: error: 'struct device_struct' has no member named 'period'
>>>> modem_main.c:460: error: 'struct device_struct' has no member named
>>>> 'buf_periods'
>>>> modem_main.c:462: error: 'SND_PCM_FORMAT_S16_LE' undeclared (first use
>>>> in this function)
>>>> modem_main.c:468: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:473: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:474: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:475: warning: implicit declaration of function 'snd_pcm_link'
>>>> modem_main.c:475: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:475: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:477: warning: format '%s' expects type 'char *', but
>>>> argument 3 has type 'int'
>>>> modem_main.c:480: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:482: warning: format '%s' expects type 'char *', but
>>>> argument 3 has type 'int'
>>>> modem_main.c:485: error: 'struct device_struct' has no member named 'started'
>>>> modem_main.c: In function 'alsa_stop':
>>>> modem_main.c:493: error: 'struct device_struct' has no member named 'started'
>>>> modem_main.c:494: warning: implicit declaration of function 'snd_pcm_drop'
>>>> modem_main.c:494: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:495: warning: implicit declaration of function 'snd_pcm_nonblock'
>>>> modem_main.c:495: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:496: warning: implicit declaration of function 'snd_pcm_drain'
>>>> modem_main.c:496: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:497: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:498: warning: implicit declaration of function 'snd_pcm_unlink'
>>>> modem_main.c:498: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c:499: warning: implicit declaration of function 'snd_pcm_hw_free'
>>>> modem_main.c:499: error: 'struct device_struct' has no member named 'phandle'
>>>> modem_main.c:500: error: 'struct device_struct' has no member named 'chandle'
>>>> modem_main.c: In function 'alsa_ioctl':
>>>> modem_main.c:513: error: 'struct device_struct' has no member named
>>>> 'hook_off_elem'
>>>> modem_main.c:515: error: 'struct device_struct' has no member named
>>>> 'hook_off_elem'
>>>> modem_main.c:518: error: 'struct device_struct' has no member named
>>>> 'speaker_elem'
>>>> modem_main.c:519: warning: implicit declaration of function
>>>> 'snd_mixer_selem_set_playback_volume_all'
>>>> modem_main.c:520: error: 'struct device_struct' has no member named
>>>> 'speaker_elem'
>>>> modem_main.c:524: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:525: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c: In function 'modemap_start':
>>>> modem_main.c:554: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:565: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c: In function 'modemap_ioctl':
>>>> modem_main.c:586: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c: In function 'modem_run':
>>>> modem_main.c:836: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:843: error: 'struct device_struct' has no member named 'delay'
>>>> modem_main.c:870: error: 'struct device_struct' has no member named 'delay'
>>>> make: *** [modem_main.o] Error 1
>>>> ubuntu@ubuntu:~/Documents/slmodem-2.9.11-20080817/modem$
>>>>
>>>>
>>>> I am going to try to compile with ALSA_SUPPORT each of the available
>>>> slmodem-2.9.11-2008XXYY.tar.gz source files and report back if I find
>>>> one that compiles sucessfully.  Else I will try to find a solution if
>>>> one exists.
>>>>
>>>> I am running in Live mode and the livecd contains the compiler and all :)
>>>>
>>>> Regards,
>>>>
>>>> Antonio
>>>>
>>>> I even see the regular slamr compile fail :(
>>>>
>>>> ubuntu@ubuntu:~/Documents/slmodem-2.9.11-20080817$ make clean
>>>> make -C modem clean &&  make -C drivers clean &&  echo "done."
>>>> make[1]: Entering directory
>>>> `/home/ubuntu/Documents/slmodem-2.9.11-20080817/modem'
>>>> 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
>>>> make[1]: Leaving directory
>>>> `/home/ubuntu/Documents/slmodem-2.9.11-20080817/modem'
>>>> make[1]: Entering directory
>>>> `/home/ubuntu/Documents/slmodem-2.9.11-20080817/drivers'
>>>> rm -f kernel-ver slamr.o  slamr.ko *st7554.o amrmo_init.o sysdep_amr.o
>>>> *.mod.* .*.cmd *~
>>>> rm -f -r .tmp_versions
>>>> make[1]: Leaving directory
>>>> `/home/ubuntu/Documents/slmodem-2.9.11-20080817/drivers'
>>>> done.
>>>> ubuntu@ubuntu:~/Documents/slmodem-2.9.11-20080817$ make
>>>> KERNEL_DIR=/lib/modules/2.6.27-7-generic/build
>>>> make -C modem all
>>>> make[1]: Entering directory
>>>> `/home/ubuntu/Documents/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/ubuntu/Documents/slmodem-2.9.11-20080817/modem'
>>>> make: *** [modem] Error 2
>>>> ubuntu@ubuntu:~/Documents/slmodem-2.9.11-20080817$
>>>>
>>>
>>
>

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

  Powered by Linux