bug-commoncpp
[Top][All Lists]
Advanced

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

install of commomc++-1.0.2 on cygwin


From: Emmanuel Debanne
Subject: install of commomc++-1.0.2 on cygwin
Date: Fri, 20 Sep 2002 18:36:37 +0200
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1b) Gecko/20020721

Hi all,

I'm installing commonc++-1.0.2 on cygwin.
I've got the following error:
thread.cpp:357: invalid use of undefined type `struct ost::PosixThread'

Here is the whole output.

Emmanuel Debanne

$ make
Making all in include
make[1]: Entering directory `/home/emde/commoncpp2-1.0.2/include'
make[2]: Entering directory `/home/emde/commoncpp2-1.0.2/include'
cd .. \
  && CONFIG_FILES= CONFIG_HEADERS=include/config.h \
     /bin/bash ./config.status
config.status: creating include/config.h
config.status: executing default-1 commands
make[2]: Leaving directory `/home/emde/commoncpp2-1.0.2/include'
make  all-recursive
make[2]: Entering directory `/home/emde/commoncpp2-1.0.2/include'
Making all in cc++
make[3]: Entering directory `/home/emde/commoncpp2-1.0.2/include/cc++'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/emde/commoncpp2-1.0.2/include/cc++'
make[3]: Entering directory `/home/emde/commoncpp2-1.0.2/include'
make[3]: Leaving directory `/home/emde/commoncpp2-1.0.2/include'
make[2]: Leaving directory `/home/emde/commoncpp2-1.0.2/include'
make[1]: Leaving directory `/home/emde/commoncpp2-1.0.2/include'
Making all in src
make[1]: Entering directory `/home/emde/commoncpp2-1.0.2/src'
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include
-I../src -DCCXX_EXPORT_LIBRARY -g -O2 -D_GNU_SOURCE -I/usr/include/libxml2/li
bxml -I/usr/include/libxml2 -I../include -c thread.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -g -O2 - D_GNU_SOURCE -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I../include -
c thread.cpp  -DDLL_EXPORT -DPIC -o .libs/thread.lo
thread.cpp:357: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:357: assignment (not initialization) in declaration
thread.cpp:358: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp: In static member function `static void
   ost::ThreadImpl::PosixThreadSigHandler(int)':
thread.cpp:1202: cannot dynamic_cast `t' (of type `class ost::Thread*') to type

`struct ost::PosixThread*' (target is not pointer or reference to complete
   type)
thread.cpp:1209: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1213: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1217: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1221: incomplete type `ost::PosixThread' does not have member `
   _timer'
thread.cpp:1223: incomplete type `ost::PosixThread' does not have member `
   _timer'
thread.cpp:1224: incomplete type `ost::PosixThread' does not have member `
   _timer'
thread.cpp:1229: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1237: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1241: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp: At global scope:
thread.cpp:1249: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread' thread.cpp: In constructor `ost::PosixThread::PosixThread(int, unsigned int)':
thread.cpp:1250: type `class ost::Thread' is not a direct base of `
   ost::PosixThread'
thread.cpp:1252: `_alarm' undeclared (first use this function)
thread.cpp:1252: (Each undeclared identifier is reported only once for each
   function it appears in.)
thread.cpp: At global scope:
thread.cpp:1256: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread' thread.cpp: In member function `void ost::PosixThread::setTimer(long unsigned
   int)':
thread.cpp:1270: `_arm' undeclared (first use this function)
thread.cpp:1271: `_timer' undeclared (first use this function)
thread.cpp: At global scope:
thread.cpp:1285: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1305: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1330: `signo_t' was not declared in this scope
thread.cpp:1330: parse error before `)' token
thread.cpp:1331: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp: In member function `void ost::PosixThread::waitSignal(...)':
thread.cpp:1335: `signo' undeclared (first use this function)
thread.cpp:1339: `sigwait' undeclared (first use this function)
thread.cpp: At global scope:
thread.cpp:1344: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp:1356: type specifier omitted for parameter `signo_t'
thread.cpp:1356: parse error before `)' token
thread.cpp:1357: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct ost::PosixThread'
thread.cpp: In member function `void ost::PosixThread::signalThread(...)':
thread.cpp:1358: `th' undeclared (first use this function)
make[1]: *** [thread.lo] Error 1
make[1]: Leaving directory `/home/emde/commoncpp2-1.0.2/src'
make: *** [all-recursive] Error 1

address@hidden ~/commoncpp2-1.0.2
$ g++ -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-1/configure --enable-languages=c,c++,f77,ja va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --with out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-ve rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc -cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecd
ir=/usr/sbin
Thread model: posix
gcc version 3.2 20020818 (prerelease)





reply via email to

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