[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help requested for AIX compilation failure
From: |
Matt_Conway |
Subject: |
Re: Help requested for AIX compilation failure |
Date: |
Tue, 31 Jul 2001 12:45:41 -0400 |
Well, with the morning came a little more enthusiasm, so I did a little
more digging. It appears the the latest version fo xlC (5.0.2.0) doesn't
like "-I/usr/include" on the include path. I'm assuming its because it
has some other headers elsewhere (in my case, string.h) which it uses to
override the ones in /usr/include. I removed the -I/usr/include from
ddd/Makefile, and everything else compiled ok, except for the following
problems (do I need to worry about them?):
xlC -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -g -c glob.C
"my-alloca.h", line 41.16: 1540-1405 (W) Syntax error in "#pragma alloca":
expected "(" and found "end-of-line". The pragma is ignored.
These simply need a "-qrtti" on the command line - I don't know autoconf,
so I'll let someone else add it
xlC -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -g -c ddd.C
"ddd.C", line 6943.21: 1540-2411 (W) A dynamic cast is present, but the
correct RTTI option is not specified.
xlC -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -g -c LiterateA.C
"LiterateA.C", line 360.5: 1540-2411 (W) A dynamic cast is present, but
the correct RTTI option is not specified.
<snip> same error for a number of other c++ files in the ddd directory
xlC -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -g -c GraphEdit.C
"GraphEdit.C", line 99.9: 1540-1281 (W) "offsetof" cannot be applied to
"struct _GraphEditRec". It is not a POD (plain old data) type.
"GraphEdit.C", line 99.9: 1540-1281 (W) "offsetof" cannot be applied to
"struct _GraphEditPart". It is not a POD (plain old data) type.
<snip> for a bunch of other lines in this file
Then during make install:
/opt/freeware/bin/install -c -m 644 libiberty.a
/opt/ddd-3.3.1/lib/libiberty.an
/opt/freeware/bin/install: cannot create regular file
`/opt/ddd-3.3.1/lib/libiberty.an': A file or directory in the path name
does not exist.
gmake[1]: *** [install_to_libdir] Error 1
manually creating the directory allowed it to continue.
Matt