#467 zOS make compile fails

Platform Specific

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


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?

/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


  • Sebastian Pipping

    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"?

  • John

    John - 2008-10-24

    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.

  • Sebastian Pipping

    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?

  • John

    John - 2008-10-24

    There is no switch. Simply suppress -o entirely.

  • Sebastian Pipping

    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".

  • Karl Waclawek

    Karl Waclawek - 2009-01-17

    Following Sebastian's recommendation.

  • Karl Waclawek

    Karl Waclawek - 2009-01-17
    • status: open --> closed-wont-fix

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks