[NeXus-code-tickets] [NeXusCode] #82: Which version of mxml does the nexus-4.0.0 require?
NeXus Data Format Library and Applications
noreply at nexusformat.org
Tue Jun 5 14:18:36 BST 2007
#82: Which version of mxml does the nexus-4.0.0 require?
--------------------+-------------------------------------------------------
Reporter: Rwong | Owner: Freddie Akeroyd
Type: defect | Status: new
Priority: major | Milestone:
Component: napi | Version: 4.0.0
Keywords: |
--------------------+-------------------------------------------------------
I cannot compile nexus-4.0.0 successfully with MXML-0.9.1 or
MXMLPLUS-0.9.2.
LinuxOS:
Red Hat Linux release 9 (Shrike)
Linux swift.esc.rl.ac.uk 2.4.20-46.9.legacybigmem #1 SMP Thu Mar 2
15:20:13 EST 2006 i686 i686 i386 GNU/Linux
The syntax of configure command:
$ ./configure --prefix=/home/rw33/tmp.d/nexus-4.0-dist/ --with-
xml=/home/rw33/tmp.d/mxml --with-cxx --without-fortran --with-hd
f4=/home/rw33/tmp.d/HDF4.2r-1.0/ --with-
hdf5=/home/rw33/tmp.d/hdf5-1.6.5/hdf5/ --with-xml=/home/rw33/tmp.d/mxml
CC=gcc CXX=g++ --
with-java-home=/home/rw33/tmp.d/jdk1.6.0_01
JAVAC=/home/rw33/tmp.d/jdk1.6.0_01/bin/javac
JAVA=/home/rw33/tmp.d/jdk1.6.0_01/bin/ja
va JAVAH=/home/rw33/tmp.d/jdk1.6.0_01/bin/javah
The error messages:
Making all in include
make[1]: Entering directory `/home/rw33/tmp.d/nexus-4.0.0/include'
make all-am
make[2]: Entering directory `/home/rw33/tmp.d/nexus-4.0.0/include'
make[2]: Leaving directory `/home/rw33/tmp.d/nexus-4.0.0/include'
make[1]: Leaving directory `/home/rw33/tmp.d/nexus-4.0.0/include'
Making all in src
make[1]: Entering directory `/home/rw33/tmp.d/nexus-4.0.0/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../include -I../include -I/home/rw33/tmp.d/HDF4.2r-1.0//include -DHDF4
-I/home/rw33/tmp.d/hdf5-1.6.5/hdf5//include -DHDF5
-I/home/rw33/tmp.d/mxml/include -DNXXML -DIN_NEXUS_LIBRARY -fno-common
-prefer-pic -g -O2 -Wall -Wno-unused-variable -Wno-sign-compare -Wno-
comment -MT nxxml.lo -MD -MP -MF ".deps/nxxml.Tpo" -c -o nxxml.lo nxxml.c;
\
then mv -f ".deps/nxxml.Tpo" ".deps/nxxml.Plo"; else rm -f
".deps/nxxml.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/home/rw33/tmp.d/HDF4.2r-1.0//include -DHDF4
-I/home/rw33/tmp.d/hdf5-1.6.5/hdf5//include -DHDF5
-I/home/rw33/tmp.d/mxml/include -DNXXML -DIN_NEXUS_LIBRARY -fno-common -g
-O2 -Wall -Wno-unused-variable -Wno-sign-compare -Wno-comment -MT nxxml.lo
-MD -MP -MF .deps/nxxml.Tpo -c nxxml.c -fPIC -DPIC -o .libs/nxxml.o
In file included from nxxml.c:28:
nxio.h:32: parse error before "nexusTypeCallback"
nxio.h:32: parse error before '*' token
nxio.h:32: warning: type defaults to `int' in declaration of
`nexusTypeCallback'
nxio.h:32: warning: data definition has no type or storage class
nxio.h:33: parse error before '*' token
nxio.h:34: parse error before '*' token
nxio.h:35: parse error before '*' token
nxio.h:42: parse error before '*' token
nxxml.c:48: parse error before "mxml_node_t"
--
Ticket URL: <http://trac.nexusformat.org/code/ticket/82>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications
More information about the NeXus-code-tickets
mailing list