[Expat-bugs] [ expat-Bugs-2192678 ] zOS make compile fails

SourceForge.net noreply at sourceforge.net
Fri Oct 24 23:37:11 CEST 2008


Bugs item #2192678, was opened at 2008-10-24 22:27
Message generated for change (Comment added) made by hartwork
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2192678&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John (john_hoel)
Assigned to: Greg Stein (gstein)
Summary: zOS make compile fails

Initial Comment:
Building expat on zOS 1.4W. I set the following environment variables for ./configure (without LD it failed):

LD=c89
CC=c89

I then had to change all instances of the following in ./configure to make it work (C compiler will not accept .cc extension):

ac_ext=cc changed to ac_ext=c

Then 'make' failed as follows. How do I change libtool to fix this?

make
/bin/sh ./libtool --silent --mode=compile c89 -I./lib -I. -g  -DHAVE_EXPAT_CONFIG_H -o lib/xmlparse.lo -c lib/xmlparse.c
FSUM3008 Specify a file with the correct suffix (.c, .i, .s, .o, .x, .p, .I, or 
.a), or a corresponding data set name, instead of -o.
make: *** [lib/xmlparse.lo] Error 1

----------------------------------------------------------------------

>Comment By: Sebastian Pipping (hartwork)
Date: 2008-10-24 23:37

Message:
That's sad. So unless there is a more recent version of libtool that can
handle this compiler I propose to close this as "won't fix".

----------------------------------------------------------------------

Comment By: John (john_hoel)
Date: 2008-10-24 23:27

Message:
There is no switch. Simply suppress -o entirely.

----------------------------------------------------------------------

Comment By: Sebastian Pipping (hartwork)
Date: 2008-10-24 23:16

Message:
I recommend we proceed as following:
- Find out if IBM's compiler has a different switch to specify the output
filename
- If so make libtool handle it in the next release
- File a build sytsme update request for Expat after

What do you think?

----------------------------------------------------------------------

Comment By: John (john_hoel)
Date: 2008-10-24 23:08

Message:
No, that error stopped me cold. I need to remove the '-o' command line
argument and the generated libtool is impossible to understand (at least
for me).

c89 is the name of the IBM ANSI C/C++ compiler on zOS. There is nothing
'behind' it.

----------------------------------------------------------------------

Comment By: Sebastian Pipping (hartwork)
Date: 2008-10-24 23:05

Message:
John, have you tried renaming occurences of ".lo" (or "lo" but I guess
that's too general) within related files?  What compiler is running behind
"c89"?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2192678&group_id=10127


More information about the Expat-bugs mailing list