|
From: Mike A. <mik...@gm...> - 2006-02-05 17:22:56
|
Hi,
I'm trying to create a gentoo ebuild so that I can test out oreka
easily, however I'm having a few build problems. I've managed to get
autoconf and automake etc to create a configure script which runs and
seems all successful. The problem however arrives once I start to
compile orkbasecxx using make. I get the folloing error back, and I'm
not sure what to do to fix it. Any ideas, comments or suggestions for
things I can try would be greatly appreciated. If there's any further
information I can provide to help diagnose the problem, just ask and
I'll be happy to provide it. Thanks,
Mike 5:)
make all-recursive
make[1]: Entering directory `/home/mike/tmp/oreka-0.3/orkbasecxx'
Making all in messages
make[2]: Entering directory `/home/mike/tmp/oreka-0.3/orkbasecxx/messages'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -D_REENTRANT -g -O2 -MT AsyncMessage.lo -MD -MP -MF
".deps/AsyncMessage.Tpo" -c -o AsyncMessage.lo AsyncMessage.cpp; \
then mv -f ".deps/AsyncMessage.Tpo" ".deps/AsyncMessage.Plo"; else rm -f
".deps/AsyncMessage.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -D_REENTRANT -g -O2 -MT
AsyncMessage.lo -MD -MP -MF .deps/AsyncMessage.Tpo -c AsyncMessage.cpp
-fPIC -DPIC -o .libs/AsyncMessage.o
In file included from ../OrkBase.h:26,
from Message.h:22,
from AsyncMessage.h:18,
from AsyncMessage.cpp:14:
../StdString.h: In member function `CStdStr<CT>& CStdStr<CT>::ToUpper()':
../StdString.h:1959: error: there are no arguments to `empty' that
depend on a template parameter, so a declaration of `empty' must be
available
../StdString.h:1959: error: (if you use `-fpermissive', G++ will accept
your code, but allowing the use of an undeclared name is deprecated)
../StdString.h: In member function `CStdStr<CT>& CStdStr<CT>::ToLower()':
../StdString.h:1978: error: there are no arguments to `empty' that
depend on a template parameter, so a declaration of `empty' must be
available
../StdString.h: In member function `CT* CStdStr<CT>::GetBuf(int)':
../StdString.h:2001: error: there are no arguments to `size' that depend
on a template parameter, so a declaration of `size' must be available
../StdString.h: In member function `CStdStr<CT> CStdStr<CT>::Mid(int)
const':
../StdString.h:2908: error: there are no arguments to `size' that depend
on a template parameter, so a declaration of `size' must be available
../StdString.h: In member function `CStdStr<CT> CStdStr<CT>::Mid(int,
int) const':
../StdString.h:2921: error: there are no arguments to `size' that depend
on a template parameter, so a declaration of `size' must be available
../StdString.h:2922: error: there are no arguments to `size' that depend
on a template parameter, so a declaration of `size' must be available
../StdString.h:2924: error: there are no arguments to `size' that depend
on a template parameter, so a declaration of `size' must be available
../StdString.h:2928: error: there are no arguments to `size' that depend
on a template parameter, so a declaration of `size' must be available
make[2]: *** [AsyncMessage.lo] Error 1
make[2]: Leaving directory `/home/mike/tmp/oreka-0.3/orkbasecxx/messages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mike/tmp/oreka-0.3/orkbasecxx'
make: *** [all] Error 2
|