[ardour-dev] compile error with gcc-3.4.0

Kevin Dahan kevin.dahan at wanadoo.fr
Mon Jun 7 09:42:40 PDT 2004


Well, believe me, you're going into nice troubles with gcc 3.4 and
ardour...

Even if the fix for this problem is trivial (adding _GLIBCXX_VECTOR to
the vector_delete declaration #if clauses and  _GLIBCXX_SET to the
set_delete one), you will get tons of problems related to sigc++. 

And, if you finally fix everything, you will probably end up with ardour
segfaulting. I got it to build, meaning a lot of ugly hacks. Perhaps if
I do it cleaner, it will launch properly - anyway, I'll let you know if
I manage to get a good patch for ardour to compile (and run) with gcc
3.4.

Kevin Dahan

On Tue, 2004-06-08 at 01:18 +0900, Patrick Shirkey wrote:
> Can anyone tell me why I'm seeing this error?
> 
> I'm using gcc-3.4.0 and have recompiled most (but not all) other deps. 
> including autoconf and automake.
> 
> ---------
> make[4]: Entering directory `/usr/local/src/1music/ardour/libs/pbd'
> if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -D_REENTRANT -Wall 
> -fno-merge-constants -I/usr/local/src/1music/ardour/libs/sigc++ 
> -I/usr/local/src/1music/ardour/libs/sigc++/sigc++/config 
> -I/usr/local/src/1music/ardour/libs/pbd 
> -I/usr/local/src/1music/ardour/libs/midi++ 
> -I/usr/local/src/1music/ardour/libs/ardour 
> -I/usr/local/src/1music/ardour/libs/soundtouch -I/usr//include/libxml2 
>   -MT pathscanner.o -MD -MP -MF ".deps/pathscanner.Tpo" -c -o 
> pathscanner.o pathscanner.cc; \
> then mv -f ".deps/pathscanner.Tpo" ".deps/pathscanner.Po"; else rm -f 
> ".deps/pathscanner.Tpo"; exit 1; fi
> pathscanner.cc: In member function `std::string* 
> PathScanner::find_first(const std::string&, const std::string&, bool, 
> bool)':
> pathscanner.cc:171: error: `vector_delete' undeclared (first use this 
> function)
> pathscanner.cc:171: error: (Each undeclared identifier is reported only 
> once for each function it appears in.)
> pathscanner.cc: In member function `std::string* 
> PathScanner::find_first(const std::string&, bool (*)(const std::string&, 
> void*), void*, bool, bool)':
> pathscanner.cc:198: error: `vector_delete' undeclared (first use this 
> function)
> make[4]: *** [pathscanner.o] Error 1
> make[4]: Leaving directory `/usr/local/src/1music/ardour/libs/pbd'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/1music/ardour/libs/pbd'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/1music/ardour/libs/pbd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/1music/ardour/libs'
> make: *** [all-recursive] Error 1
> ------------
> 
> 




More information about the Ardour-Dev mailing list