On Sun, Jul 5, 2009 at 10:06 AM, Oliver Tappe <zooey@xxxxxxxxxxxxxxx> wrote: > Hi Scott, > > On 2009-07-03 at 21:32:51 [+0200], scott mc <scottmc2@xxxxxxxxx> wrote: > > On Fri, Jul 3, 2009 at 7:18 AM, Oliver Tappe <zooey@xxxxxxxxxxxxxxx> > wrote: > > > [ ... ] > > > > Building on ubuntu i get this error when trying to build the buildtools: > > > > gcc -c -DCROSS_COMPILE -DIN_GCC -O2 -U_FORTIFY_SOURCE -I. -I.. > > -I/home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp > > -I/home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp/.. > > -I/home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp/../config > > -I/home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp/../../include > > /home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp/pt.c > > In file included from > > /home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp/pt.c:36: > > /home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp/parse.h:43: > error: > > redeclaration of enumerator ‘TYPENAME’ > > /home/scottmc/develop/haiku/buildtools/legacy/gcc/gcc/cp/decl.h:29: > error: > > previous definition of ‘TYPENAME’ was here > > make[2]: *** [pt.o] Error 1 > > I tried to reproduce this by building on Ubuntu-9.04 yesterday but it > worked > without problems. What version of Ubuntu are you using? > > cheers, > Oliver > > I believe I tried it on 8.04 or 8.10. I'm going to try it on my 9.04 laptop tomorrow and see how it goes. I just posted 7 more rebuilt packages: http://ports.haiku-files.org/wiki/Downloads?action=diff&version=96 For ncurses there is a build option "--enable-widec" that enables the wchar stuff, so I suspect the ncurses that's included in the Haiku tree may need to be adjusted. Some of the packages may need to be rebuilt more than once depending on their dependencies and if those dependencies were fixed prior to building the packages that depended on it. The bison-2.4.1 build now only fails 1 unexpectedly, previously it had failed 7. http://ports.haiku-files.org/wiki/sys-devel/bison/2.4.1/1 http://ports.haiku-files.org/wiki/sys-devel/bison/2.4.1/2 -scottmc