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@murija2:~/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