[Ardour-users] Does ardour require a new version of glibc?

From: Stefan Gröning (stefan.groening_at_gmx.net)
Date: 11/25/03 12:32 EST


From: Stefan Gröning <stefan.groening@gmx.net>
Message-Id: <200311251832.59244.stefan.groening@gmx.net>
Subject: [Ardour-users] Does ardour require a new version of glibc?
Date: Tue, 25 Nov 2003 18:32:59 +0100

Hello!
I get this error message when I want to compile ardour:

g++ -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. -I. -D_REENTRANT -O3 
-march=i686 -fomit-frame-pointer -ffast-math -fstrength-reduce 
-fmove-all-movables -Wall 
-I/usr/src/packages/SOURCES/ardour-0.9beta8/libs/sigc++ 
-I/usr/src/packages/SOURCES/ardour-0.9beta8/libs/sigc++/sigc++/config 
-I/usr/src/packages/SOURCES/ardour-0.9beta8/libs/pbd 
-I/usr/src/packages/SOURCES/ardour-0.9beta8/libs/midi++ 
-I/usr/src/packages/SOURCES/ardour-0.9beta8/libs/ardour 
-I/usr/src/packages/SOURCES/ardour-0.9beta8/libs/soundtouch 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include 
-I/usr/include/libxml2 -DCONFIG_DIR=\"/usr/local/etc\" 
-DDATA_DIR=\"/usr/local/share\" -c audioengine.cc -MT audioengine.lo -MD -MP 
-MF .deps/audioengine.TPlo -o audioengine.o
In file included from /usr/local/include/jack/types.h:24,
                 from ardour/types.h:24,
                 from ardour/ardour.h:32,
                 from ardour/audioengine.h:28,
                 from audioengine.cc:21:
/usr/include/inttypes.h: In function `intmax_t wcstoimax(const __gwchar_t*,
   __gwchar_t**, int)':
/usr/include/inttypes.h:432: error: invalid conversion from `const __gwchar_t*
   __restrict' to `const wchar_t*'
/usr/include/inttypes.h:432: error: invalid conversion from `__gwchar_t**
   __restrict' to `wchar_t**'
/usr/include/inttypes.h: In function `uintmax_t wcstoumax(const __gwchar_t*,
   __gwchar_t**, int)':
/usr/include/inttypes.h:451: error: invalid conversion from `const __gwchar_t*
   __restrict' to `const wchar_t*'
/usr/include/inttypes.h:451: error: invalid conversion from `__gwchar_t**
   __restrict' to `wchar_t**'
make[4]: *** [audioengine.lo] Error 1
make[4]: Leaving directory 
`/usr/src/packages/SOURCES/ardour-0.9beta8/libs/ardour'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/usr/src/packages/SOURCES/ardour-0.9beta8/libs/ardour'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/usr/src/packages/SOURCES/ardour-0.9beta8/libs/ardour'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/ardour-0.9beta8/libs'
make: *** [all-recursive] Error 1

I have the following versions:
ardour: 0.9beta8
gcc: 3.3.1
autoconf: 2.5.8
automake: 1.4.2
gettext: 0.12.1
pkgconfig: 0.15.0
flex: 2.5.4
yacc: 91.7.30
bison: 1.875
alsa: 0.9.rc5
jack: 0.90.0
libxml2: 2.6.2
libart_lgpl: 2.3.11
glib: 1.2.10
gtk+: 1.2.10
libsndfile: 1.0.5
libsamplerate: 0.0.15
raptor: 1.0.0
lrdf: 0.3.2

So I have all the needed tools and libraries, according to BUILD in the ardour 
source tree.
But the error is caused by the /usr/include/inttypes.h, which belongs to the 
glibc-library. My version of glibc is 2.2.4. May it be, that my glibc-library 
is too old?



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Ardour-users mailing list
Ardour-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ardour-users

This archive was generated by hypermail 2.1.7 : 11/25/03 11:15 EST