[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling on hppa



On Tue, Oct 09 2001, Peter S Galbraith wrote:
> 
> Stijn de Bekker wrote:
> 
> > Hi,
> > 
> > 
> > Apparently, the building of my htdig package fails on the hppa
> > architecture (as is also noted by bug #105045):
> > 
> > http://buildd.debian.org/fetch.php?&pkg=htdig&ver=3.1.5-3&arch=hppa&stamp=100
> > 2598209&file=log&as=raw
> > 
> > 
> > My question is pretty simple; how can I create a chroot environment on
> > sarti (the hppa machine) to fix this? I cannot compile regularly,
> > because db2-dev is not installed.
> 
> The problem is not really with hppa, but with g++-3.0.
> Here's what I do to test build (another package) using g++-3.0 :
> 
>  CC=gcc-3.0 CXX=g++-3.0 ./configure --prefix=/usr
> 
> Do that on your regular machine.  No chroot needed.

Unfortunately, that does not work either. I get the same error:


make[1]: Entering directory `/home/stijn/htdig-3.1.5/htlib'
g++-3.0 -c  -DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib
-I../htcommon -I../include -g -O2 String.cc
In file included from /usr/include/g++-v3/backward/stream.h:32,
                 from String.cc:14:
/usr/include/g++-v3/backward/iostream.h:35: using directive `ostream'
   introduced ambiguous type `ostream'
htString.h: In function `std::ostream& operator<<(std::ostream&, String&)':
htString.h:159: `char*String::Data' is private
String.cc:544: within this context
String.cc: At global scope:
String.cc:619: prototype for `void String::debug(std::ostream&)' does not match
   any in class `String'
htString.h:127: candidate is: void String::debug(ostream&)
make[1]: *** [String.o] Error 1
make[1]: Leaving directory `/home/stijn/htdig-3.1.5/htlib'
make: *** [all] Error 1



Stijn.



Reply to: