bug-commoncpp
[Top][All Lists]
Advanced

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

Re: CVS will not build


From: David Sugar
Subject: Re: CVS will not build
Date: Wed, 30 Jan 2002 01:34:51 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914

I had actually been busy setting up for LinuxWorld this week, but I will look at your suggestion as soon as I can....

Daniel E Baumann wrote:

On Wed, Jan 23, 2002 at 06:29:55AM -0600, Daniel E Baumann wrote:

I get this error when trying to build commoncpp from cvs:

make[2]: Entering directory `/usr/local/src/commoncpp/src'
source='exception.cpp' object='exception.lo' libtool=yes \
depfile='.deps/exception.Plo' tmpdepfile='.deps/exception.TPlo' \
depmode=gcc3 /bin/sh ../config/depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I. -I../src -I/usr/include/libxml2/libxml
-I/usr/include/libxml2    -I../src  -g -O2 -D_GNU_SOURCE -D_REENTRANT
-D_THREAD_SAFE -c -o exception.lo `test -f exception.cpp || echo
'./'`exception.cpp
rm -f .libs/exception.lo
g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I/usr/include/libxml2/libxml
-I/usr/include/libxml2 -I../src -g -O2 -D_GNU_SOURCE -D_REENTRANT
-D_THREAD_SAFE -c exception.cpp -MT exception.lo -MD -MP -MF
.deps/exception.TPlo  -fPIC -DPIC -o .libs/exception.lo
exception.cpp:50: syntax error before `::' token
exception.cpp:54: syntax error before `::' token
exception.cpp:57: syntax error before `::' token
exception.cpp:64: syntax error before `::' token
exception.cpp:68: syntax error before `::' token
make[2]: *** [exception.lo] Error 1
make[2]: Leaving directory `/usr/local/src/commoncpp/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/commoncpp/src'
make: *** [all-recursive] Error 1

I don't have time to investigate it myself, but I figured I might as
well send a mail about it. I am using g++ 3.0.3 on Debian GNU/Linux
unstable.


Replying to my own message because it seems that ppl are ignoring
them. Anyway, I fixed this error by changing this line in exception.h:

#if defined(HAVE_EXCEPTION) to

#if defined(HAVE_EXCEPTION_HANDLING)

Just thought you may wanted to know.

Dan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]