[linux-audio-user] csound5.05.0 wont compile with alsa1.0.14rc3

From: Dragan Noveski <perodog@email-addr-hidden>
Date: Sat Mar 24 2007 - 04:25:15 EET

hi list,
i am just about trying to compile csound5.05.0 in order to use csLADSPA,
but as long i try to run scons with 'useALSA=1' i get following error:

scons: Building targets ...
gcc -o InOut/rtalsa.os -c -Wall -O3 -fno-inline-functions
-fomit-frame-pointer -ffast-math -DLINUX -DPIPES -fPIC
-DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DHAVE_SOCKETS -DHAVE_FCNTL_H
-DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H
-DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
-I/usr/lib/jvm/java-1.5.0/include
-I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
-I/usr/include -I/usr/X11R6/include InOut/rtalsa.c
In file included from /usr/include/alsa/asoundlib.h:44,
                 from InOut/rtalsa.c:44:
/usr/include/alsa/global.h:134: error: redefinition of 'struct timeval'
/usr/include/alsa/global.h:139: error: redefinition of 'struct timespec'
scons: *** [InOut/rtalsa.os] Error 1
scons: building terminated because of errors.
nowhiskey@email-addr-hidden:~/software/nove/csladspa/Csound5.05.0$

i tried looking at sourceforge but no success, so perhaps someone here
is familiar with the issue.
i already tried to compile the v5.04 and the cvs too, but always the
same error.

i would appreciate any help.

cheers,
doc
Received on Sat Mar 24 08:15:01 2007

This archive was generated by hypermail 2.1.8 : Sat Mar 24 2007 - 08:15:02 EET