bug-commoncpp
[Top][All Lists]
Advanced

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

Re: CVS will not build


From: Daniel E Baumann
Subject: Re: CVS will not build
Date: Tue, 29 Jan 2002 16:11:35 -0600
User-agent: Mutt/1.3.26i

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
-- 
Daniel E Baumann      address@hidden 

***Free Dmitry Sklyarov! Boycott Adobe! Repeal DMCA!***

And if cynics ridicule freedom, ridicule community...if ``hard nosed 
realists'' say that profit is the only ideal...just ignore them, and use 
copyleft all the same.
      -- RMS



reply via email to

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