bug-commoncpp
[Top][All Lists]
Advanced

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

CommonC++ compilation problem


From: Dagfinn Aarvaag
Subject: CommonC++ compilation problem
Date: Mon, 5 Nov 2001 15:44:34 +0100

Hi,

I am having problems with Ccompiling CommonC++ on a Solaris system. Looking
through configure.log I see the following message that I am not sure how to
interpret. Can you give me some hints how to continue?

Kind Regards Dagfinn

from configure.log
snip --- snip
==

configure:3900: checking for sys/atomic.h
configure:3959: checking for atomic operations
configure:3969: c++ -c  -g -O2 -D_GNU_SOURCE  conftest.C 1>&5
configure:3963: asm/atomic.h: No such file or directory
configure: failed program was:
#line 3962 "configure"
#include "confdefs.h"
#include <asm/atomic.h>
int main() {
atomic_t at; at.counter = 1;
; return 0; }
configure:3988: c++ -c  -g -O2 -D_GNU_SOURCE  conftest.C 1>&5
configure:3982: asm/atomic.h: No such file or directory
configure: failed program was:
#line 3981 "configure"
#include "confdefs.h"
#include <asm/atomic.h>
int main() {
atomic at; at = 1;
; return 0; }
configure:4022: checking for thread.h
configure:4076: checking whether gcc accepts -pthread
configure:4093: checking for pthread_self in -lc_r
configure:4134: checking for pthread_self in -lpthread
configure:4501: checking for nanosleep in -lpthread
configure:4546: checking for nanosleep in -lposix4
configure:4661: checking for pthread_np.h
configure:4701: checking for semaphore.h
configure:4741: checking for sched.h

===

Make



www14:ccedev> make
Making all in src
make[1]: Entering directory
`/export/home/ccedev/openSource/CommonC++-1.9.0/src'
/bin/sh ../libtool --mode=compile
-DHAVE_CONFIG_H -I. -I. -I. -I../src     -
I../src  -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c thread.cpp
rm -f .libs/thread.lo
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I../src -g -O2 -D_GNU_SOURCE -D_RE
ENTR
ANT -D_THREAD_SAFE -c thread.cpp  -fPIC -DPIC -o .libs/thread.lo
In file included from /usr/include/fcntl.h:18,
                 from config.h:310,
                 from thread.cpp:41:
/usr/include/sys/feature_tests.h:143: warning: `_POSIX_PTHREAD_SEMANTICS'
redefi
ned
config.h:275: warning: this is the location of the previous definition
In file included from thread.cpp:45:
thread.h:457: syntax error before `;'
thread.cpp: In function `void ost::execHandler(ost::Thread *)':
thread.cpp:449: `_timer' is not a member of type `ost::Thread'
thread.cpp:450: `_arm' is not a member of type `ost::Thread'
thread.cpp: In function `void ost::sigHandler(int)':
thread.cpp:614: `_timer' is not a member of type `ost::Thread'
thread.cpp:616: `_timer' is not a member of type `ost::Thread'
thread.cpp:617: `_timer' is not a member of type `ost::Thread'
make[1]: *** [thread.lo] Error 1
make[1]: Leaving directory
`/export/home/ccedev/openSource/CommonC++-1.9.0/src'
make: *** [all-recursive] Error 1
www14:ccedev>
www14:ccedev>




___________________________________________
Dagfinn Aarvaag
Beep Science AS

Mob +47 926 36 155     Karenslyst Alle 16d
Tel +47 23 89 73 10    0278  OSLO, Norway
Fax +47 23 89 73 11
Email address@hidden
Web     www.beepscience.com
____________________________________________




reply via email to

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