Compile Problem on AIX5.3


 
Thread Tools Search this Thread
Operating Systems AIX Compile Problem on AIX5.3
# 1  
Old 04-26-2007
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?
# 2  
Old 05-01-2007
I would try g++ for open-source code like this.

I thought AIX L already had an RPM package?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem trying to compile libXres

Hello. I recently tried to build libXres from the source and I am encountering issues when trying to build from two different manners. In the first I run the configure script with ./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/... (1 Reply)
Discussion started by: colt
1 Replies

2. Debian

Program compile problem (glib pkg-config)

I need to compile a program which uses glib-2.0. I installed the package libglib2.0-0 but the configure script can't find it because the libglib package doesn't provide a .pc file which pkg-config looks for. How can I resolve this? Debian 6.0 (SPARC) (3 Replies)
Discussion started by: snorkack59
3 Replies

3. Linux

Fortran compile problem

Hello everyone, I am trying to compile a code under fedora14.Kernel Linux 2.6.35.6-45fc14.i686-GNOME 2.32.0. I use f77,g77 and gfortran to compile but I get the same error all ways. Unsupported OPEN control item at (^) -- ACTION=, ASSOCIATEVARIABLE=, BLOCKSIZE=, BUFFERCOUNT=,... (1 Reply)
Discussion started by: miriammiriam
1 Replies

4. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

5. AIX

compilation problem on powerpc-ibm-aix5.2.0.0--Xlf

Dear all, I am not sure whether I am in the right forum, but... I am trying to compile a program on aix5.2.0.0 which requires the use of blas, lapack, blacs scalapack. I am getting the following error msg whcih I can't get rid off! ld: 0711-317 ERROR: Undefined symbol: .zhegvx ld: 0711-317... (2 Replies)
Discussion started by: pauli
2 Replies

6. AIX

smtctl in AIX5.3

Dear Members :), Curently we are migrating our AIX from 5.2.to 5.3, after migration when we check CPU through nmon it shows double in no i.e we have 8 CPU on our p570 box but nmom shows it 16 after investigation it was found that smtctl was enabled in AIX 5.3,can we disable the smtctl & what is... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

7. AIX

How to upgrade AIX5.3TL6-07 to AIX5.3TL8-04?

Hello All, After creating lpp_source/spot from AIX 5.3TL6-07 DVD on the NIM(AIX6.1), I went online and download the fix pack for reaching TL8-04. (it was less than 200Mgegs total) then I did define a newer lpp_source530TL8-04 via a copy from the older lpp_source530TL6-07 (I diduse a command... (2 Replies)
Discussion started by: sangers
2 Replies

8. Programming

GNU GDB compile problem

I have to compile gnu-gdb 6.7 on HP-UX 11.11 with /usr/local/pa64/bin/gcc 64-bit compiler, but I'm having some problems during "make": ser-tcp.c: In function `net_open': ser-tcp.c:207: warning: passing arg 5 of `getsockopt' from incompatible pointer type make: *** Error 1 make: Leaving... (8 Replies)
Discussion started by: untamed
8 Replies

9. Programming

compile problem on aix

When compiling (a simple test program): #include <stdio.h> #include <sys/context.h> int main() { printf("Hello\n"); return 0; } on AIX 5.2 with gcc 3.2.2 from the IBM site I get the following error: /usr/include/sys/context.h:169: parse error before "sigset64_t"... (4 Replies)
Discussion started by: rein
4 Replies

10. Programming

Compile problem.

I am a newbie to unix environment and i am currently using bash. May i know how to compile a new c program. (1 Reply)
Discussion started by: alkyo
1 Replies
Login or Register to Ask a Question