From: ariel m. <ari...@ya...> - 2006-05-22 15:21:57
|
Hello, Please, i have the following problem compiling in AIX: > gcc -v Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/specs Configured with: ../gcc-3.3.2/configure : (reconfigured) ../gcc-3.3.2/configure --disable-nls : (reconfigured) ../gcc-3.3.2/configure --disable-nls Thread model: aix gcc version 3.3.2 (the version htdig 3.1.6 work great) >./configure >make (...) Making all in htlib /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/www/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/home/webusr/include -g -O2 -Wall -fno-rtti -fno-exceptions -c -o Configuration.lo `test -f 'Configuration.cc' || echo './'`Configuration.cc g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/www/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/home/webusr/include -g -O2 -Wall -fno-rtti -fno-exceptions -c Configuration.cc -o Configuration.o In file included from /usr/local/include/c++/3.3.2/backward/iostream.h:31, from htString.h:28, from Dictionary.h:22, from Configuration.h:107, from Configuration.cc:24: /usr/local/include/c++/3.3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/local/include/c++/3.3.2/bits/stl_algobase.h:67, from /usr/local/include/c++/3.3.2/memory:54, from /usr/local/include/c++/3.3.2/string:48, from /usr/local/include/c++/3.3.2/bits/locale_classes.h:47, from /usr/local/include/c++/3.3.2/bits/ios_base.h:47, from /usr/local/include/c++/3.3.2/ios:49, from /usr/local/include/c++/3.3.2/ostream:45, from /usr/local/include/c++/3.3.2/iostream:45, from /usr/local/include/c++/3.3.2/backward/iostream.h:32, from htString.h:28, from Dictionary.h:22, from Configuration.h:107, from Configuration.cc:24: /usr/local/include/c++/3.3.2/cstdlib:103: error: `malloc' not declared /usr/local/include/c++/3.3.2/cstdlib:109: error: `realloc' not declared make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. some suggestions? thanks in advance.. hugs __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |