bug-commoncpp
[Top][All Lists]
Advanced

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

Trouble compiling 1.97


From: Mike MacCana
Subject: Trouble compiling 1.97
Date: 13 Nov 2002 17:25:21 +1100

Hello,

I'm getting the following error when trying to compile commonc++. I'm
not sure of what other detail to provide other than the system is
generic Red Hat 8.0. Anyway, if you have any suggestions to avoid the
error I'd be most grateful.

Thanks a lot,

Mike

/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.
-I../src -I/usr/include/libxml2    -I../src  -O2 -march=i386 -mcpu=i686
-D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c mutex.cpp
rm -f .libs/mutex.lo
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I/usr/include/libxml2 -I../src
-O2 -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c
mutex.cpp  -fPIC -DPIC -o .libs/mutex.lo
In file included from config.h:449,
                 from mutex.cpp:41:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in
userland program. BAD!
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:358: `atomic_add' 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.lo] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/CommonC++-1.9.7/src'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.18090 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.18090 (%install)

-- 
____________________________________________________________________________
Mike MacCana            Support Consultant            RHCE, MCSE, MCP+I
Cybersource: Providing Quality IT Professional Services for 11 Years
Specialists in Unix/Linux, TCP/IP and Web Application Development
Level 9, 140 Queen St, Melbourne.  Ph : 03 9642 5997 Fax: 03 9642 5998





reply via email to

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