Compile Problem on AIX5.3
Hello,
I try to compile apt-rpm on a AIX box.
AIX: AIX 5300-05-03
make : 3.81
CC= VAC 8
I get the follwing error:
make[1]: Entering directory `/home/root/apt-0.5.15lorg3/apt-pkg'
source='contrib/cmndline.cc' object='contrib/cmndline.lo' libtool=yes \
DEPDIR=.deps depmode=none /usr/bin/bash ../buildlib/depcomp \
/usr/bin/bash ../libtool --tag=CXX --mode=compile /usr/vac/bin/xlc_r -DHAVE_CONFIG_H -I. -I. -I../include -I../lua/include -I../lua/local -DLIBDIR=\"/opt/freeware//lib\" -I/opt/freeware/include/libxml2 -DNEED_PTHREAD_INIT -I/opt/freeware/include -L/opt/lib -I/opt/freeware/include -L/opt/freeware/lib -I/usr/include/rpm -I/opt/freeware//include -qarch=pwr5 -qtune=pwr5 -q64 -O2 -DNEED_PTHREAD_INIT -I/opt/include -L/opt/lib -I/opt/freeware/include -L/opt/freeware/lib -c -o contrib/cmndline.lo contrib/cmndline.cc
/usr/vac/bin/xlc_r -DHAVE_CONFIG_H -I. -I. -I../include -I../lua/include -I../lua/local -DLIBDIR=\"/opt/freeware//lib\" -I/opt/freeware/include/libxml2 -DNEED_PTHREAD_INIT -I/opt/freeware/include -L/opt/lib -I/opt/freeware/include -L/opt/freeware/lib -I/usr/include/rpm -I/opt/freeware//include -qarch=pwr5 -qtune=pwr5 -q64 -O2 -DNEED_PTHREAD_INIT -I/opt/include -L/opt/lib -I/opt/freeware/include -L/opt/freeware/lib -c contrib/cmndline.cc -DPIC -o contrib/.libs/cmndline.o
"../include/apt-pkg/strutl.h", line 97.25: 1540-0218 (S) The call does not match any parameter list for "stringcmp".
"../include/apt-pkg/strutl.h", line 77.5: 1540-1283 (I) "stringcmp(const char *, const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(string, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.25: 1540-0218 (S) The call does not match any parameter list for "stringcmp".
"../include/apt-pkg/strutl.h", line 77.5: 1540-1283 (I) "stringcmp(const char *, const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(string, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(string, string)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.25: 1540-0218 (S) The call does not match any parameter list for "stringcmp".
"../include/apt-pkg/strutl.h", line 77.5: 1540-1283 (I) "stringcmp(const char *, const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(string, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(string, string)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 97.15: 1540-1283 (I) "stringcmp(string, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 97.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.29: 1540-0218 (S) The call does not match any parameter list for "stringcasecmp".
"../include/apt-pkg/strutl.h", line 78.5: 1540-1283 (I) "stringcasecmp(const char *, const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(string, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.29: 1540-0218 (S) The call does not match any parameter list for "stringcasecmp".
"../include/apt-pkg/strutl.h", line 78.5: 1540-1283 (I) "stringcasecmp(const char *, const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(string, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(string, string)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.29: 1540-0218 (S) The call does not match any parameter list for "stringcasecmp".
"../include/apt-pkg/strutl.h", line 78.5: 1540-1283 (I) "stringcasecmp(const char *, const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(const char *, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0256 (I) A parameter of type "const char *" cannot be initialized with an expression of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(string, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(string, string)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
"../include/apt-pkg/strutl.h", line 98.15: 1540-1283 (I) "stringcasecmp(string, const char *, const char *)" is not a viable candidate.
"../include/apt-pkg/strutl.h", line 98.1: 1540-0295 (I) A parameter of type "std::basic_string<char,std::char_traits<char>,std ::allocator<char> >" cannot be initialized with an rvalue of type "std::_Ptrit<char,long,char *,char &,char *,char &>".
make[1]: *** [contrib/cmndline.lo] Fehler 1
make[1]: Leaving directory `/home/root/apt-0.5.15lorg3/apt-pkg'
make: *** [all-recursive] Fehler 1
I think the Problem is the libc which use AIX.....
Can someone help me?