bug-commoncpp
[Top][All Lists]
Advanced

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

Problems compiling on Red Hat latest beta


From: COFFMAN Steven
Subject: Problems compiling on Red Hat latest beta
Date: Fri, 6 Sep 2002 12:20:07 -0400

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




reply via email to

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