Originally posted by: RUI
Hi,
I am on aix 5.3 and i am using gcc 4.2.4 a the moment.
I am having problem building clucene only on aix where it says this, can't seem to get over it:
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.
Any help would be greatly appreciated.
Regards,
rui
#AIX-Forum