The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ssh on AIX5.2 chinni929 AIX 3 08-04-2008 07:40 AM
GNU GDB compile problem untamed High Level Programming 8 12-03-2007 06:45 AM
compile problem on aix rein High Level Programming 4 08-16-2005 02:30 AM
AIX5.2 ML-03 rpm.rte tamemi AIX 1 02-23-2005 12:40 PM
Compile problem. alkyo High Level Programming 1 07-18-2001 05:56 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-26-2007
jbo jbo is offline
Registered User
 

Join Date: Apr 2007
Posts: 1
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?
Reply With Quote
Forum Sponsor
  #2  
Old 05-01-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
I would try g++ for open-source code like this.

I thought AIX L already had an RPM package?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:00 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0