ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help requested for AIX compilation failure


From: Matt_Conway
Subject: Help requested for AIX compilation failure
Date: Mon, 30 Jul 2001 19:00:14 -0400

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.
"hostname.C", line 204.39: 1540-0274 (S) The name lookup for "__strlen" 
did not find a declaration.
"hostname.C", line 177.44: 1540-0274 (S) The name lookup for "__strlen" 
did not find a declaration.
"userinfo.C", line 76.5: 1540-0274 (S) The name lookup for "__strcpy" did 
not find a declaration.
"userinfo.C", line 77.5: 1540-0274 (S) The name lookup for "__strcat" did 
not find a declaration.
"userinfo.C", line 86.36: 1540-0274 (S) The name lookup for "__strlen" did 
not find a declaration.
"userinfo.C", line 114.5: 1540-0274 (S) The name lookup for "__strcpy" did 
not find a declaration.
"userinfo.C", line 115.5: 1540-0274 (S) The name lookup for "__strcat" did 
not find a declaration.
"userinfo.C", line 124.29: 1540-0274 (S) The name lookup for "__strchr" 
did not find a declaration.
"userinfo.C", line 152.5: 1540-0274 (S) The name lookup for "__strcpy" did 
not find a declaration.
"userinfo.C", line 153.5: 1540-0274 (S) The name lookup for "__strcat" did 
not find a declaration.
"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,

Matt
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]