Hi,

I installed gcc 4.2.4 for aix 5.3 from
http://www.perzl.org/aix/index.php?n=Main.Gcc
Now when i build clucene 0.9.21b with it with configure options for gcc as
the main compiler.

CC=gcc CXX=g++ ./configure

Here is what happens:

Making all in .
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I.. -D_THREAD_SAFE -g -O2 -MT StdHeader.lo -MD -MP -MF
".deps/StdHeader.Tpo" -c -o StdHeader.lo `test -f
'../src/CLucene/StdHeader.cpp' || echo './'`../src/CLucene/StdHeader.cpp;
then mv -f ".deps/StdHeader.Tpo" ".deps/StdHeader.Plo"; else rm -f
".deps/StdHeader.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_THREAD_SAFE -g -O2 -MT StdHeader.lo -MD
-MP -MF .deps/StdHeader.Tpo -c ../src/CLucene/StdHeader.cpp -DPIC -o
.libs/StdHeader.o
In file included from
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/powerpc-ibm-aix5.3.0.0/bits/c++locale.h:49,
from
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/iosfwd:45,
from
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/bits/stl_algobase.h:70,
from
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/bits/char_traits.h:46,
from
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/string:47,
from
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/stdexcept:44,
from ./CLucene/StdHeader.h:67,
from ../src/CLucene/StdHeader.cpp:7:
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/cstdio:110:
error: '::fgetpos' has not been declared
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/cstdio:112:
error: '::fopen' has not been declared
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/cstdio:117:
error: '::freopen' has not been declared
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/cstdio:120:
error: '::fsetpos' has not been declared
../src/CLucene/StdHeader.cpp:23: warning: deprecated conversion from string
constant to 'wchar_t*'
../src/CLucene/StdHeader.cpp:24: warning: deprecated conversion from string
constant to 'char*'
make: The error code from the last command is 1.


Can somebody help me out with this, please?

If Shaun gets this message, this is the same problem as
http://sourceforge.net/mailarchive/message.php?msg_id=5ee71763bf5259408327f38605fffa8f0115d...@maileu.global.cadence.com

Regards,
Raja
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to