[PD] Autobuild failure on oss

Hans-Christoph Steiner hans at at.or.at
Wed Oct 17 02:10:56 CEST 2012


Strange, because building for Lucid on launchpad does not give this
error, maybe you're missing a package? Here's the log:

gcc -DPACKAGE_NAME=\"pd\" -DPACKAGE_TARNAME=\"pd\"
-DPACKAGE_VERSION=\"0.43.1\" -DPACKAGE_STRING=\"pd\ 0.43.1\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pd\"
-DVERSION=\"0.43.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_ALLOCA_H=1
-DHAVE_ALLOCA=1 -DHAVE_SYS_SOUNDCARD_H=1 -DHAVE_UNISTD_H=1 -I.    -DPD
-DINSTALL_PREFIX=\"/usr\" -DUSEAPI_ALSA -DUSEAPI_JACK -DJACK_XRUN
-DUSEAPI_OSS -DUSEAPI_PORTAUDIO  -I../portaudio/include    -O2 -g -MT
pd-s_audio_oss.o -MD -MP -MF .deps/pd-s_audio_oss.Tpo -c -o
pd-s_audio_oss.o `test -f 's_audio_oss.c' || echo './'`s_audio_oss.c
s_audio_oss.c: In function 'oss_open_audio':
s_audio_oss.c:465: warning: ignoring return value of 'read', declared
with attribute warn_unused_result
s_audio_oss.c:478: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
mv -f .deps/pd-s_audio_oss.Tpo .deps/pd-s_audio_oss.Po

https://launchpadlibrarian.net/119881751/buildlog_ubuntu-lucid-i386.pd-extended_0.43.4~20121016-1~lucid_FAILEDTOBUILD.txt.gz

.hc

On 10/16/2012 06:46 PM, András Murányi wrote:
> I've re-enabled the autobuild on my box, and it seems to connect and work
> except that the build fails with this:
> 
> Ubuntu 10.04.4
>
> gcc -DPACKAGE_NAME=\"pd\" -DPACKAGE_TARNAME=\"pd\"
>> -DPACKAGE_VERSION=\"0.43.1\" -DPACKAGE_STRING=\"pd\ 0.43.1\"
>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pd\"
>> -DVERSION=\"0.43.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1
>> -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SYS_SOUNDCARD_H=1
>> -DHAVE_UNISTD_H=1 -I.    -DPD -DINSTALL_PREFIX=\"/usr\" -DUSEAPI_ALSA
>> -DUSEAPI_JACK -DJACK_XRUN -DUSEAPI_OSS -DUSEAPI_PORTAUDIO
>> -I../portaudio/include    -O2 -g -MT pd-s_audio_oss.o -MD -MP -MF
>> .deps/pd-s_audio_oss.Tpo -c -o pd-s_audio_oss.o `test -f 's_audio_oss.c' ||
>> echo './'`s_audio_oss.c
>> s_audio_oss.c: In function ‘oss_configure’:
>> s_audio_oss.c:205: error:
>> ‘SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead’
>> undeclared (first use in this function)
>> s_audio_oss.c:205: error: (Each undeclared identifier is reported only once
>> s_audio_oss.c:205: error: for each function it appears in.)
>> s_audio_oss.c: In function ‘oss_open_audio’:
>> s_audio_oss.c:465: warning: ignoring return value of ‘read’, declared with
>> attribute warn_unused_result
>> s_audio_oss.c:478: warning: ignoring return value of ‘write’, declared
>> with attribute warn_unused_result
>> s_audio_oss.c: In function ‘oss_calcspace’:
>> s_audio_oss.c:517: error:
>> ‘SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead’
>> undeclared (first use in this function)
>> s_audio_oss.c:524: error:
>> ‘SOUND_PCM_GETISPACE_is_obsolete_use_SNDCTL_DSP_GETISPACE_instead’
>> undeclared (first use in this function)
>> s_audio_oss.c: In function ‘oss_doresync’:
>> s_audio_oss.c:572: error:
>> ‘SOUND_PCM_GETISPACE_is_obsolete_use_SNDCTL_DSP_GETISPACE_instead’
>> undeclared (first use in this function)
>> s_audio_oss.c:601: error:
>> ‘SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead’
>> undeclared (first use in this function)
>>
> 




More information about the Pd-list mailing list