bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Using CommonC++-1.9.2 library


From: Pavel Tsekov
Subject: Re: Using CommonC++-1.9.2 library
Date: Wed, 19 Dec 2001 11:00:01 +0100

There was post on the mailing list concerning this problem yesterday - a
patch was supplied also.

> Hieu Thao wrote:
> 
> Dear sir,
> I want to develop a small application using CommonC++-1.9.2 under
> redhat linux 7.1
> By Kdevelop Project, I install CommonC++-1.9.2 without error. But
> using CommonC+++ library in the application then:
> 
> 
> Project Options - KDevelop
> Linker Options
>     Library flags:
>         -L/usr/local/lib -D_REENTRANT -D_THREAD_SAFE  -g -O2
> -D_GNU_SOURCE
>     Library
>         Additional libraries:
>             -lpthread /usr/local/lib/libccext.a
> /usr/local/lib/libccgnu.a
> 
> When I complier then following error
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I..     -O0 -g3 -Wall    -c main.cpp
> In file included from /usr/local/include/cc++/file.h:49,
>                  from main.cpp:27:
> /usr/local/include/cc++/thread.h:334: syntax error before `;'
> /usr/local/include/cc++/thread.h:1010: warning: `void
> ost::ccxx_sigsuspend (int)' declared `static' but
> never defined
> gmake[3]: *** [main.o] Error 1
> gmake[3]: Leaving directory `/root/linkcommonc/linkcommonc'
> gmake[2]: Leaving directory `/root/linkcommonc/linkcommonc'
> gmake[1]: Leaving directory `/root/linkcommonc'
> gmake[2]: *** [all-recursive] Error 1
> gmake[1]: *** [all-recursive] Error 1
> gmake: *** [all-recursive-am] Error 2
> *** failed ***
> 
> Why? Please help me, Thank you veru much.
> Besh wish,
>



reply via email to

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