[PD] ppc/linux build issues..
errordeveloper at gmail.com
errordeveloper at gmail.com
Wed Jan 20 17:58:16 CET 2010
hm ..
it looks like you should try with GCC 4.3 or .2,
4.4.x is to recent ;)
also, if no chances with getting different gcc version -
try --without-alsa so it can skip that bit ;)
if everything goes ok after make clean && ./configure --without-alsa then there could be two things to fix it:
a) may be recompile alsa with the new gcc first
b) if still get this error - look into s_audio_alsa.c
good luck ..))
On Wed, Jan 20, 2010 at 03:48:47AM +1000, dmotd wrote:
> hi there..
>
> running linux on a powerpc (old powerbook g4),
> pd-0.42-5 fails to compile (success with older
> pd-0.41-1, failure with pd-gui-rewrite).
>
> any clues?
>
> error follows:
>
> ---
> $ make
> cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX -DUNISTD -DUSEAPI_OSS -fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops -fomit-frame-pointer -D_LARGEFILE64_SOURCE -DINSTALL_PREFIX=\"/usr/local\" -c -o ../obj/s_audio_alsa.o s_audio_alsa.c
> s_audio_alsa.c: In function ‘alsa_send_dacs’:
> s_audio_alsa.c:472: error: called object ‘stderr’ is not a function
> s_audio_alsa.c:472: error: expected ‘)’ before ‘;’ token
> s_audio_alsa.c:474: error: too few arguments to function ‘fprintf’
> s_audio_alsa.c:474: error: expected ‘;’ before ‘}’ token
> s_audio_alsa.c:584: error: called object ‘stderr’ is not a function
> s_audio_alsa.c:584: error: expected ‘)’ before ‘;’ token
> s_audio_alsa.c:586: error: too few arguments to function ‘fprintf’
> s_audio_alsa.c:586: error: expected ‘;’ before ‘}’ token
> make: *** [s_audio_alsa.o] Error 1
> ---
> $ gcc -v
> Using built-in specs.
> Target: powerpc-unknown-linux-gnu
> Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=powerpc --with-cpu=powerpc --disable-altivec --without-altivec
> Thread model: posix
> gcc version 4.4.2 (GCC)
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list