27 Nov 00:08
Installing SWIG on AIX with xlc
From: Michael Leong <spameroid <at> gmail.com>
Subject: Installing SWIG on AIX with xlc
Newsgroups: gmane.comp.programming.swig
Date: 2008-11-26 23:09:11 GMT
Subject: Installing SWIG on AIX with xlc
Newsgroups: gmane.comp.programming.swig
Date: 2008-11-26 23:09:11 GMT
Greetings,
I'm trying to install SWIG on an AIX 5.3 machine with the xlc
compiler. I've unzipped the package, and then I give the ./configure
CC=xlc command, which works just fine. However, when I run make, I get
the following errors:
make all-am
source='CParse/cscanner.c' object='CParse/cscanner.o' libtool=no DEPDIR
=.deps depmode=aix /bin/sh ../Tools/config/depcomp /usr/vacpp/bin/xlC_r -DHAVE_
CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Inc
lude -I../Source/DOH -I../Source/CParse
-I../Source/Preprocessor -I../Source/Swig -I../Source/Mod
ules -g -Wall -W -ansi -pedantic -c -o CParse/cscanner.o CParse/cscanner.c
/usr/vacpp/bin/xlC_r: 1501-210 (S) command option Wall contains an incorrect sub
argument
make: 1254-004 The error code from the last command is 40.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I notice that it's trying to use the -Wall option, which is a gcc
option that is not recognized by xlc. Has anyone encountered this
problem before, or done anything fancy to get SWIG installed on AIX?
Any help would be appreciated.
(Continue reading)
RSS Feed