Menu

#75 Make of 1.95.2 fails on MacOS X Server

Third-party Bug
closed-invalid
5
2002-06-01
2001-07-30
Anonymous
No

expat 1.95.2.tar.gz distribution
On MacOS X Server 1.2 (Rhapsody 5.6) make
issues an error and halts:

cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -
DVERSION=\"expat_1.95.2\" -I. -I. -I.. -g -O2 -Wall -
Wmissing-prototypes -Wstrict-prototypes -
fexceptions -c xmlparse.c -fPIC -DPIC -o .libs/
xmlparse.lo
/System/Library/Frameworks/System.framework/
Headers/bsd/sys/cdefs.h:87: warning: redefinition
of macro const
../config.h:5: warning: this is the location of the
previous definition
xmlparse.c:1178: illegal statement, missing `;'
after `punting'
make[1]: *** [xmlparse.lo] Error 1
make: *** [lib] Error 2

This does not happen with the older version 1.95.1

Discussion

  • Thomas Engelmeier

    Logged In: YES
    user_id=88916

    MacOS X doesn't support the -static option for building
    commandline tools - as licrt0.o is not installed.

    Solution: in the Makefile in the xmlwf directory, remove
    the -static from the LDFLAGS line.

     
  • Fred L. Drake, Jr.

    • milestone: 103319 --> Third-party Bug
    • status: open --> closed-invalid
     
  • Fred L. Drake, Jr.

    Logged In: YES
    user_id=3066

    We no longer use -static in Expat 1.95.3, but rely on libtool. Once libtool
    works on Mac OS X, everything will be happy.

    Re-classifying this
    as a 3rd-party bug (libtool on Mac OS X).

     

Log in to post a comment.