[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling for AIX
From: |
Federico Montesino Pouzols |
Subject: |
Re: compiling for AIX |
Date: |
Mon, 20 Jan 2003 10:01:14 +0100 |
User-agent: |
Mutt/1.4i |
Hi,...
On Fri, Jan 17, 2003 at 10:33:53AM -0800, Matthieu.Labour wrote:
> Hi,
>
> I try to compile commoncpp2-1.0.7 on AIX5.1. I am using the xlc_r compiler
> version 6.
>
> First, I had to add the xlc_r compiler in ./configure as followed otherwise
> 'configure' would fail.
>
> for ac_prog in $CCC xlc_r c++ g++ gcc CC cxx cc++ cl
>
You can make it in a somewhat more elegant manner using
something like:
$ CC=xlc_r CXX=xlc_r ./configure ...
Other configure options are explain in INSTALL and in
configure --help.
> When I type 'make' to compile the package I get the following error
>
> xlc_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
> -I/usr/local/include -D_GNU_SOURCE -D_THREAD_SAFE -I../include -c
> semaphore.cpp -DPIC -o .libs/semaphore.lo
> "semaphore.cpp", line 76.38: 1540-0274 (S) The name lookup for "throwObject"
> did not find a declaration.
> "semaphore.cpp", line 79.43: 1540-0274 (S) The name lookup for
> "throwException" did not find a declaration.
>
> and I can't actually find the trowObject declaration in the package. Am I
> missing something here ?
>
Um, it is a bug that other compilers had ignored. These
identifiers should be Thread::throwObject and Thread::throwException,
respectively. I have fixed it in CVS for 1.0.8.
> Thank you for your help
>
> Matthieu
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
- compiling for AIX, Matthieu.Labour, 2003/01/19
- Re: compiling for AIX,
Federico Montesino Pouzols <=