[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help requested for AIX compilation failure
From: |
Tim Mooney |
Subject: |
Re: Help requested for AIX compilation failure |
Date: |
Tue, 31 Jul 2001 13:09:06 -0500 (CDT) |
In regard to: Re: Help requested for AIX compilation failure,...:
>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.
Most of the versions of AIX I've worked with require that you either use
a `#pragma alloca' as the first thing in the file or specify the `-ma'
option to the compiler before alloca will be available. The syntax error
probably means that the #pragma alloca in my-alloca.h didn't work. Maybe
it's not the first thing, or maybe there's some other problem.
However, since everything linked, you're apparently ok -- if you missed
alloca then it would show up at link time. The version of the compiler
and OS you're using may not even require either of these things anymore.
>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.
That's because the Makefile in the libiberty directory doesn't create
the directories it plans to install into -- it assumes they're there.
In your case, /opt/ddd-3.3.1/lib isn't, so it can't install the file.
This should be fixed in the master sources of libiberty, but I'm not sure
what package Andreas gets them from. I would be happy to submit the bug
report with the patch if I knew where it should go, but my guess is it's
already been fixed.
Tim
--
Tim Mooney address@hidden
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164