Csound Csound-dev Csound-tekno Search About

[Csnd] build failure from new git pull

Date2012-07-22 17:17
FromDave Phillips
Subject[Csnd] build failure from new git pull
Greetings,

I'm building Csound5 from git on a newly installed Arch64 system. The 
build fails here :

gcc -o Engine/csound_orc_compile.os -c -Wno-format -DGNU_GETTEXT -g 
-fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES 
-fvisibility=hidden -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA 
-DUSE_DOUBLE -DHAVE_SOCKETS -DHAVE_PTHREAD_SPIN_LOCK 
-DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H 
-DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H 
-DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H 
-D__BUILDING_LIBCSOUND -I. -IH -I/usr/lib/jvm/java/include 
-I/usr/lib/jvm/java/include/linux -I/usr/local/include -I/usr/include 
-I/usr/include -I/usr/X11R6/include -IEngine Engine/csound_orc_compile.c
In file included from H/csound_orc.h:16:0,
                  from Engine/csound_orc_compile.c:27:
Engine/csound_orcparse.h:153:22: error: unknown type name 'PARSE_PARM'
In file included from Engine/csound_orc_compile.c:27:0:
H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
In file included from H/csound_orc.h:16:0,
                  from Engine/csound_orc_compile.c:27:
Engine/csound_orcparse.h:37:0: note: this is the location of the 
previous definition
scons: *** [Engine/csound_orc_compile.os] Error 1
scons: building terminated because of errors.

Linux kernel 3.4.6, GCC 4.7.1

Suggestions ?

Best,

dp


Date2012-07-22 17:26
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] build failure from new git pull
Sounds like an older flex or ...

It is defined in Engine/parse_param.h on lines 30-43
\Do you have the file?

==John

> Greetings,
>
> I'm building Csound5 from git on a newly installed Arch64 system. The
> build fails here :
>
> gcc -o Engine/csound_orc_compile.os -c -Wno-format -DGNU_GETTEXT -g
> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES
> -fvisibility=hidden -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA
> -DUSE_DOUBLE -DHAVE_SOCKETS -DHAVE_PTHREAD_SPIN_LOCK
> -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H
> -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H
> -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H
> -D__BUILDING_LIBCSOUND -I. -IH -I/usr/lib/jvm/java/include
> -I/usr/lib/jvm/java/include/linux -I/usr/local/include -I/usr/include
> -I/usr/include -I/usr/X11R6/include -IEngine Engine/csound_orc_compile.c
> In file included from H/csound_orc.h:16:0,
>                   from Engine/csound_orc_compile.c:27:
> Engine/csound_orcparse.h:153:22: error: unknown type name 'PARSE_PARM'
> In file included from Engine/csound_orc_compile.c:27:0:
> H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
> In file included from H/csound_orc.h:16:0,
>                   from Engine/csound_orc_compile.c:27:
> Engine/csound_orcparse.h:37:0: note: this is the location of the
> previous definition
> scons: *** [Engine/csound_orc_compile.os] Error 1
> scons: building terminated because of errors.
>
> Linux kernel 3.4.6, GCC 4.7.1
>
> Suggestions ?
>
> Best,
>
> dp
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>







Date2012-07-22 17:39
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] build failure from new git pull
PS I am on irc now if that helps.


> Sounds like an older flex or ...
>
> It is defined in Engine/parse_param.h on lines 30-43
> \Do you have the file?
>
> ==John
>