[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help requested for AIX compilation failure
From: |
Arnaud Desitter |
Subject: |
Re: Help requested for AIX compilation failure |
Date: |
Tue, 31 Jul 2001 09:42:09 +0100 |
address@hidden wrote:
>
> Hi All,
>
> I'm trying to build ddd-3.3.1 on an AIX 4.3.3 (latest patch level) system.
> Running configure completes successfully using CC=xlc and CXX=xlC (from
> Visualage 5.0.2.0 - latest patch level), but when I try and build I get
> the following errors:
>
> xlC -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/usr/include -DNDEBUG -g -c
> userinfo.C
> "hostname.C", line 129.32: 1540-0274 (S) The name lookup for "__strlen"
> did not find a declaration.
[snip]
"userinfo.C", line 166.22: 1540-0274 (S) The name lookup for "__strchr"
> did not find a declaration.
> gmake[1]: *** [userinfo.o] Error 1
> gmake[1]: Leaving directory `/disk1/tmp/t/ddd-3.3.1/ddd'
> gmake: *** [all-recursive] Error 1
>
> Just for kicks, I tried compiling that file with a a bunch of macros like:
> -D__strlen=strlen, and it compiled fine, but the next file failed to
> compile:
>
> xlC -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/usr/include -DNDEBUG -g -c
> ddd.C
> "ddd.C", line 6044.26: 1540-0861 (S) Too few arguments are specified for
> macro "index". Empty arguments are used.
> "/usr/include/string.h", line 239.16: 1540-0425 (I) "index" is defined on
> line 239 of "ddd.C".
> gmake[1]: *** [ddd.o] Error 1
>
> I'm guessing some string macros somewhere are screwing up - anyone have
> any idea how I can fix this? Thanks,
As it works fine with xlC 5.0.0.0 under AIX 4.3, I would suspect a
compiler
problem of some sort.
One way out is to create a small example starting from userinfo.C.
Cheers,
Arnaud
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.