bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Problems compiling on Red Hat latest beta


From: Federico Montesino Pouzols
Subject: Re: Problems compiling on Red Hat latest beta
Date: Sun, 6 Oct 2002 21:11:39 +0200
User-agent: Mutt/1.4i

        Yes, we have received other bug reports regarding
asm/atomic.h. This will be fixed soon. In the meantime, as a quick and
very dirty hack, you can simply comment all the
HAVE_ASM_ATOMIC... defines in the common c++ config.h.

        As for the automake/aclocal problem, with some of the last
releases of the autotools you may see some warnings because of the
combination of different releases of different tools. Many times, it
simply works regardless of the warnings. If you can, upgrade to the
latest release of Common C++ (Common C++ 2 1.0.4) and try it.

On Fri, Sep 06, 2002 at 12:20:07PM -0400, COFFMAN Steven wrote:
> Hi,
> 
>       My apologies if this problem has been dealt with before, but my
> google skills failed to turn up anything similar.
> 
>       I had trouble compiling CommonC++ 1.9.7 on the latest Red Hat beta
> (null) which means I use gcc 3.2, a modified 2.4.18 kernel, and automake
> 1.6.3. I "./configure" just fine. When I "make", I get everything fine until
> this:
> 
> mutex.cpp: In member function `int ost::AtomicCounter::operator++()':
> mutex.cpp:341: `atomic_inc' undeclared (first use this function)
> mutex.cpp:341: (Each undeclared identifier is reported only once for each
> function it appears in.)
> mutex.cpp: In member function `int ost::AtomicCounter::operator--()':
> mutex.cpp:347: `atomic_dec_and_test' undeclared (first use this function)
> mutex.cpp: In member function `int ost::atomicCounter::operator-=(int)':
> mutex.cpp:364: `atomic_sub' undeclared (first use this function)
> make[1]: *** [mutex.o] Error 1
> make[1]: Leaving directory `home/gears/building/CommonC++-1.9.7/src'
> make: *** [all-recursive] Error 1
> 
> Since you use a kernel header in a userland program, I don't know if the
> kernel version is not compatible with this release of CommonC++ or what. Is
> there a patch or something obvious to change?
> 
> As an alternative, I attempted to install the Mandrake cooker Source RPM for
> CommonC++ 1.6.0, but when I "rpmbuild -rebuild CommonC++-1.6.0-1mdk.src.rpm"
> on the latest Red Hat beta, I get past the Patch #1 (libxml2 patch), to the 
> Automake Makefile and get get:
> Configure.in:19: your implementation of AM_INIT_AUTOMAKE comes from an old
> Automake version. You should recreate aclocal.m4 with aclocal and run
> automake again.
> 
> Since I have automake 1.6.3 installed, and I have no idea what the heck that
> aclocal stuff is all about, that only confused me more.
> 
> I realize this is probably something incredibly simple I've missed, but I
> would be very grateful to anyone who could help out. To further compound my
> ignorance, I didn't notice where to subscribe to this list. Could you
> possibly cc me with any replies?
> 
> -Steve
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




reply via email to

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