Compile question

GRAY, Alex, FM Alex.Gray@rbos.com
Thu May 23 10:42:03 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

---------------------- multipart/mixed attachment
Greg,

Thank you very much for your reply.  I was referring in my email to the last
line :

	configure:	error: unknown endianess - sorry

but I also enclose the config.log file with this email.

Is this really an error ?

Rgds,

Alex.


-----Original Message-----
From: Greg Stein [mailto:gstein@lyra.org]
Sent: 23 May 2002 18:38
To: GRAY, Alex, FM
Cc: 'expat-bugs@lists.sourceforge.net'
Subject: Re: Compile question


On Thu, May 23, 2002 at 02:31:14PM +0100, GRAY, Alex, FM wrote:
>...
> Hi Expat Support,
> 
> I was wondering if someone could help me with a compile problem (actually
a
> configure problem before the make).
> 
> I have tried using both GNU binaries and SUN binaries, but cannot get past
> the following problem when I try to configure a Makefile for the
compilation
> of this program :
> 
>  <<expat.txt>> 
> 
> Am I doing something woefully wrong here ?  The machine is a Solaris 8
> server.

I don't see anything in the configure output that would indicate the
problem. Could you please attach your config.log file? (it gets produced
when you run ./configure)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/



********************************************************************
      Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
********************************************************************

---------------------- multipart/mixed attachment
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:648: checking host system type
configure:669: checking build system type
configure:689: checking for ranlib
configure:719: checking for gcc
configure:832: checking whether the C compiler (gcc  ) works
configure:848: gcc -o conftest    conftest.c  1>&5
configure:874: checking whether the C compiler (gcc  ) is a =
cross-compiler
configure:879: checking whether we are using GNU C
configure:888: gcc -E conftest.c
configure:907: checking whether gcc accepts -g
configure:950: checking for ld used by GCC
configure:1012: checking if the linker (/usr/local/bin/ld) is GNU ld
GNU ld version 2.11 (with BFD 2.11)
configure:1028: checking for BSD-compatible nm
configure:1064: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest -g -O2   conftest.c  1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  =
conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.11 (with BFD 2.11)
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1657: eval "/usr/local/bin/nm -B conftest.o | sed -n -e =
's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 =
\2\3 \3/p' > conftest.nm"
ltconfig:1709: gcc -o conftest -g -O2 -fno-builtin -fno-rtti =
-fno-exceptions   conftest.c conftstm.o 1>&5
configure:1476: checking for gcc
configure:1589: checking whether the C compiler (gcc -g -O2 ) works
configure:1605: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1631: checking whether the C compiler (gcc -g -O2 ) is a =
cross-compiler
configure:1636: checking whether we are using GNU C
configure:1664: checking whether gcc accepts -g
configure:1707: checking for a BSD compatible install
configure:1766: checking how to run the C preprocessor
configure:1787: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1846: checking for ANSI C header files
configure:1859: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1953: checking for fcntl.h
configure:1963: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1953: checking for unistd.h
configure:1963: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1992: checking whether byte ordering is bigendian
configure:2010: gcc -c -g -O2 -Wall -Wmissing-prototypes =
-Wstrict-prototypes -fexceptions  conftest.c 1>&5
configure:2002: warning: function declaration isn't a prototype
configure: In function `main':
configure:2005: `bogus' undeclared (first use in this function)
configure:2005: (Each undeclared identifier is reported only once
configure:2005: for each function it appears in.)
configure:2005: parse error before "endian"
configure: failed program was:
#line 1999 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif
; return 0; }
configure:2076: checking to probe for byte ordering

---------------------- multipart/mixed attachment--