[PD-dev] how to compile pdstring from moocow?
Martin Peach
martin.peach at sympatico.ca
Wed Aug 13 00:52:13 CEST 2008
Roman Haefeli wrote:
> hi all
>
> i followed the README.cvs file included and when doing 'make' i get:
>
> Making all in config
> make[1]: Entering directory
> `/home/roman/pd-svn/externals/moocow/pdstring/config'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/roman/pd-svn/externals/moocow/pdstring/config'
> Making all in src
> make[1]: Entering directory
> `/home/roman/pd-svn/externals/moocow/pdstring/src'
> make all-recursive
> make[2]: Entering directory
> `/home/roman/pd-svn/externals/moocow/pdstring/src'
> make[3]: Entering directory
> `/home/roman/pd-svn/externals/moocow/pdstring/src'
> gcc pdstring.c -o pdstring
> pdstring.c:41: error: expected ',' or ';' before 'PACKAGE_VERSION'
> In file included from pdstring.c:62:
> any2string.c:76: error: expected ',' or ';' before 'PACKAGE_VERSION'
> In file included from pdstring.c:63:
> string2any.c:59: error: expected ',' or ';' before 'PACKAGE_VERSION'
> make[3]: *** [pdstring] Error 1
> make[3]: Leaving directory
> `/home/roman/pd-svn/externals/moocow/pdstring/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/roman/pd-svn/externals/moocow/pdstring/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/roman/pd-svn/externals/moocow/pdstring/src'
> make: *** [all-recursive] Error 1
>
>
> i am on ubuntu hardy i686, which uses comes with gcc version 4.2.3
>
For some reason PACKAGE_VERSION is defined here:
externals\build\src\any2string.c(1):#define PACKAGE_VERSION "CVS"
I think it should properly be defined in a .h file that is #included by
the above files.
Martin
More information about the Pd-dev
mailing list