[dssslist] Troubles building OpenJade 1.3.2 and CVS

Subject: [dssslist] Troubles building OpenJade 1.3.2 and CVS
From: Norman Gray <norman@xxxxxxxxxxxxxxx>
Date: Tue, 20 Apr 2004 19:29:37 +0100 (BST)
Greetings,

I'm having bucketloads of trouble building OpenJade 1.3.2, and the CVS
version -- can anyone provide any pointers?

OpenJade 1.3.2 doesn't build from the distribution, as it appears to
require a preexisting installation of OpenSP (did it always do that -- I
remember jade being standalone?).  But if I get OpenSP 1.5, unpack it
and configure it, I can't just point the openjade ./configure to its
include directory, because that doesn't have opensp's config.h in it
(any more -- I can see config.h.old.in, so it clearly was there once).

But even if I softlink ../config.h to this directory, openjade still
won't build, because of compiler errors (transcript below).

So I can try building openjade from the CVS head.  But that fails to find
headers like OpenSP/Boolean.h, and so I get another slew of cpp errors
(below also).  It looks like I have to pre-install opensp 1.5, but that
doesn't work either, and I get a different set of cpp errors (likewise!).
I get apparently the same errors trying to build opensp from the CVS head.

So I'm not having a great deal of luck....  Which makes me thing I'm
doing something very silly.  But I can't find any more instructions (I'm
heading for some terrible embarrassment, I can just feel it).

I'm not even on a wierd platform: Debian testing, with

ptolemy:sp> g++ --version
g++ (GCC) 3.3.3 (Debian 20040401)

And I know that this does build on Debian, since

ptolemy:sp> /usr/bin/openjade --version
/usr/bin/openjade:I: "openjade" version "1.3.2"
/usr/bin/openjade:I: "OpenSP" version "1.5.1"



The reason I'm trying to build this is that I'd like to re-offer an
openjade patch I first advertised in March 2000, which adds a LaTeX
back-end (that is, producing generic LaTeX rather than JadeTeX output).
It did work with openjade 1.3; I'd just like to check that it still
works with 1.3.2.

At the time, someone reported that it interfered with the TeX back-end,
but I could never reproduce this.  Recently, Peter Backes tried the
patch, and reported that it worked perfectly well, and didn't apparently
interfere at all with the TeX back-end.  He also sent me a fix to a small
bug, which isn't yet included in the patch below (incorporating that was
what I planned to do right after I got openjade building here).

The patch is at
http://www.astro.gla.ac.uk/users/norman/distrib/jade.html

Thanks for any pointers.  All the best,

Norman


-- 
---------------------------------------------------------------------------
Norman Gray                        http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK     norman@xxxxxxxxxxxxxxx








Building openjade 1.3.2:

ptolemy:jade> make
make[1]: Entering directory `/data/ptolemy/norman/w/ext/openjade/jade'
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/jade/grove'
rm -f .libs/Node.lo
g++ -O2 -I. -I./../include -I/home/norman/Data/w/ext/openjade/sp/include -I/home/norman/Data/w/ext/openjade/sp/include/.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/home/norman/Scratch/tools/openjade-1.3.2/share/builtins.dsl\" -c Node.cxx  -fPIC -DPIC
mv -f Node.o .libs/Node.lo
g++ -O2 -I. -I./../include -I/home/norman/Data/w/ext/openjade/sp/include -I/home/norman/Data/w/ext/openjade/sp/include/.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/home/norman/Scratch/tools/openjade-1.3.2/share/builtins.dsl\" -c Node.cxx >/dev/null 2>&1
mv -f .libs/Node.lo Node.lo
rm -f .libs/LocNode.lo
g++ -O2 -I. -I./../include -I/home/norman/Data/w/ext/openjade/sp/include -I/home/norman/Data/w/ext/openjade/sp/include/.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/home/norman/Scratch/tools/openjade-1.3.2/share/builtins.dsl\" -c LocNode.cxx  -fPIC -DPIC
mv -f LocNode.o .libs/LocNode.lo
g++ -O2 -I. -I./../include -I/home/norman/Data/w/ext/openjade/sp/include -I/home/norman/Data/w/ext/openjade/sp/include/.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/home/norman/Scratch/tools/openjade-1.3.2/share/builtins.dsl\" -c LocNode.cxx >/dev/null 2>&1
mv -f .libs/LocNode.lo LocNode.lo
/bin/sh /home/norman/Data/w/ext/openjade/jade/libtool --mode=link gcc  -o libogrove.la Node.lo LocNode.lo \
    -rpath /home/norman/Scratch/tools/openjade-1.3.2/lib -version-info 0:1:0 -lm
rm -fr .libs/libogrove.la .libs/libogrove.* .libs/libogrove.*
gcc -shared  Node.lo LocNode.lo  -lm  -Wl,-soname -Wl,libogrove.so.0 -o .libs/libogrove.so.0.0.1
(cd .libs && rm -f libogrove.so.0 && ln -s libogrove.so.0.0.1 libogrove.so.0)
(cd .libs && rm -f libogrove.so && ln -s libogrove.so.0.0.1 libogrove.so)
ar cru .libs/libogrove.a  Node.o LocNode.o
ranlib .libs/libogrove.a
creating libogrove.la
(cd .libs && rm -f libogrove.la && ln -s ../libogrove.la libogrove.la)
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/jade/grove'
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/jade/spgrove'
echo 'LT_OBJS='`echo GroveApp.o GroveBuilder.o SdNode.o|sed 's/\.o/.lo/g'` >Makefile.lt
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/jade/spgrove'
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/jade/spgrove'
mkdir .libs
g++ -O2 -I. -I./../include -I/home/norman/Data/w/ext/openjade/sp/include -I/home/norman/Data/w/ext/openjade/sp/include/.. -I./../grove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/home/norman/Scratch/tools/openjade-1.3.2/share/builtins.dsl\" -c GroveApp.cxx  -fPIC -DPIC
In file included from /home/norman/Data/w/ext/openjade/sp/include/Attributed.h:8,
                 from /home/norman/Data/w/ext/openjade/sp/include/Notation.h:17,
                 from /home/norman/Data/w/ext/openjade/sp/include/Event.h:19,
                 from /home/norman/Data/w/ext/openjade/sp/include/ErrorCountEventHandler.h:12,
                 from /home/norman/Data/w/ext/openjade/sp/include/ParserApp.h:15,
                 from GroveApp.h:10,
                 from GroveApp.cxx:9:
/home/norman/Data/w/ext/openjade/sp/include/Ptr.cxx: In destructor `
   OpenSP::Ptr<T>::~Ptr() [with T = OpenSP::AttributeValue]':
/home/norman/Data/w/ext/openjade/sp/include/Ptr.h:55:   instantiated from `OpenSP::ConstPtr<T>::ConstPtr() [with T = OpenSP::AttributeValue]'
/home/norman/Data/w/ext/openjade/sp/include/Attribute.h:36:   instantiated from here
/home/norman/Data/w/ext/openjade/sp/include/Ptr.cxx:22: error: `unref'
   undeclared (first use this function)
/home/norman/Data/w/ext/openjade/sp/include/Ptr.cxx:22: error: (Each undeclared
   identifier is reported only once for each function it appears in.)
/home/norman/Data/w/ext/openjade/sp/include/Ptr.cxx:23: warning: possible
   problem detected in invocation of delete operator:
/home/norman/Data/w/ext/openjade/sp/include/Ptr.cxx:23: warning: invalid use of
   undefined type `struct OpenSP::AttributeValue'
/home/norman/Data/w/ext/openjade/sp/include/Attribute.h:28: warning: forward
   declaration of `struct OpenSP::AttributeValue'
/home/norman/Data/w/ext/openjade/sp/include/Ptr.cxx:23: note: neither the
   destructor nor the class-specific operator delete will be called, even if
   they are declared when the class is defined.
make[2]: *** [GroveApp.lo] Error 1
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/jade/spgrove'
make[1]: *** [spgrove] Error 2
make[1]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/jade'
make: *** [all] Error 2










Building openjade-cvs



ptolemy:jade> make
make  all-recursive
make[1]: Entering directory `/tmp/norman/openjade-cvs/jade'
Making all in jadedoc
make[2]: Entering directory `/tmp/norman/openjade-cvs/jade/jadedoc'
Making all in images
make[3]: Entering directory `/tmp/norman/openjade-cvs/jade/jadedoc/images'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/norman/openjade-cvs/jade/jadedoc/images'
make[3]: Entering directory `/tmp/norman/openjade-cvs/jade/jadedoc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/norman/openjade-cvs/jade/jadedoc'
make[2]: Leaving directory `/tmp/norman/openjade-cvs/jade/jadedoc'
Making all in dsssl
make[2]: Entering directory `/tmp/norman/openjade-cvs/jade/dsssl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/norman/openjade-cvs/jade/dsssl'
Making all in grove
make[2]: Entering directory `/tmp/norman/openjade-cvs/jade/grove'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT Node.lo -MD -MP -MF ".deps/Node.Tpo" \
  -c -o Node.lo `test -f 'Node.cxx' || echo './'`Node.cxx; \
then mv -f ".deps/Node.Tpo" ".deps/Node.Plo"; \
else rm -f ".deps/Node.Tpo"; exit 1; \
fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT Node.lo -MD -MP -MF .deps/Node.Tpo -c Node.cxx  -fPIC -DPIC -o .libs/Node.o
In file included from Node.cxx:8:
../config.h:7:27: OpenSP/config.h: No such file or directory
Node.cxx:9:28: OpenSP/Boolean.h: No such file or directory
In file included from Node.cxx:10:
Node.h:12:26: OpenSP/IList.h: No such file or directory
Node.cxx:11:27: OpenSP/macros.h: No such file or directory
Node.cxx:551:26: pasting "::" and "text" does not give a valid preprocessing token
Node.cxx:552:28: pasting "::" and "cdata" does not give a valid preprocessing token
Node.cxx:553:28: pasting "::" and "sdata" does not give a valid preprocessing token
Node.cxx:554:28: pasting "::" and "ndata" does not give a valid preprocessing token
Node.cxx:555:22: pasting "::" and "pi" does not give a valid preprocessing token
Node.cxx:556:40: pasting "::" and "subdocument" does not give a valid preprocessing token
Node.cxx:571:26: pasting "::" and "cdata" does not give a valid preprocessing token
Node.cxx:572:28: pasting "::" and "entity" does not give a valid preprocessing token
Node.cxx:573:32: pasting "::" and "entities" does not give a valid preprocessing token
Node.cxx:574:20: pasting "::" and "id" does not give a valid preprocessing token
Node.cxx:575:26: pasting "::" and "idref" does not give a valid preprocessing token
Node.cxx:576:28: pasting "::" and "idrefs" does not give a valid preprocessing token
Node.cxx:577:24: pasting "::" and "name" does not give a valid preprocessing token
Node.cxx:578:26: pasting "::" and "names" does not give a valid preprocessing token
Node.cxx:579:30: pasting "::" and "nmtoken" does not give a valid preprocessing token
Node.cxx:580:32: pasting "::" and "nmtokens" does not give a valid preprocessing token
Node.cxx:581:28: pasting "::" and "number" does not give a valid preprocessing token
Node.cxx:582:30: pasting "::" and "numbers" does not give a valid preprocessing token
Node.cxx:583:30: pasting "::" and "nutoken" does not give a valid preprocessing token
Node.cxx:584:32: pasting "::" and "nutokens" does not give a valid preprocessing token
Node.cxx:585:32: pasting "::" and "notation" does not give a valid preprocessing token
Node.cxx:586:30: pasting "::" and "nmtkgrp" does not give a valid preprocessing token
Node.cxx:601:26: pasting "::" and "value" does not give a valid preprocessing token
Node.cxx:602:26: pasting "::" and "fixed" does not give a valid preprocessing token
Node.cxx:603:32: pasting "::" and "required" does not give a valid preprocessing token
Node.cxx:604:30: pasting "::" and "current" does not give a valid preprocessing token
Node.cxx:605:28: pasting "::" and "conref" does not give a valid preprocessing token
Node.cxx:606:30: pasting "::" and "implied" does not give a valid preprocessing token
Node.cxx:621:26: pasting "::" and "cdata" does not give a valid preprocessing token
Node.cxx:622:28: pasting "::" and "rcdata" does not give a valid preprocessing token
Node.cxx:623:26: pasting "::" and "empty" does not give a valid preprocessing token
Node.cxx:624:22: pasting "::" and "any" does not give a valid preprocessing token
Node.cxx:625:34: pasting "::" and "modelgrp" does not give a valid preprocessing token
Node.cxx:640:23: pasting "::" and "and_" does not give a valid preprocessing token
Node.cxx:641:21: pasting "::" and "or_" does not give a valid preprocessing token
Node.cxx:642:22: pasting "::" and "seq" does not give a valid preprocessing token
Node.cxx:657:22: pasting "::" and "iso" does not give a valid preprocessing token
Node.cxx:658:36: pasting "::" and "registered" does not give a valid preprocessing token
Node.cxx:659:40: pasting "::" and "unregistered" does not give a valid preprocessing token
Node.cxx:674:32: pasting "::" and "capacity" does not give a valid preprocessing token
Node.cxx:675:30: pasting "::" and "charset" does not give a valid preprocessing token
Node.cxx:676:32: pasting "::" and "document" does not give a valid preprocessing token
Node.cxx:677:22: pasting "::" and "dtd" does not give a valid preprocessing token
Node.cxx:678:32: pasting "::" and "elements" does not give a valid preprocessing token
Node.cxx:679:32: pasting "::" and "entities" does not give a valid preprocessing token
Node.cxx:680:22: pasting "::" and "lpd" does not give a valid preprocessing token
Node.cxx:681:30: pasting "::" and "nonsgml" does not give a valid preprocessing token
Node.cxx:682:32: pasting "::" and "notation" does not give a valid preprocessing token
Node.cxx:683:32: pasting "::" and "shortref" does not give a valid preprocessing token
Node.cxx:684:28: pasting "::" and "subdoc" does not give a valid preprocessing token
Node.cxx:685:28: pasting "::" and "syntax" does not give a valid preprocessing token
Node.cxx:686:24: pasting "::" and "text" does not give a valid preprocessing token
Node.cxx: In static member function `static const char*
   OpenJade_Grove::ComponentName::rcsName(OpenJade_Grove::ComponentName::Id)':
Node.cxx:1214: error: `SIZEOF' undeclared (first use this function)
Node.cxx:1214: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
Node.cxx: In static member function `static const char*
   OpenJade_Grove::ComponentName::sdqlName(OpenJade_Grove::ComponentName::Id)':
Node.cxx:1355: error: `SIZEOF' undeclared (first use this function)
make[2]: *** [Node.lo] Error 1
make[2]: Leaving directory `/tmp/norman/openjade-cvs/jade/grove'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/norman/openjade-cvs/jade'
make: *** [all] Error 2







Building opensp-cvs



ptolemy:sp> make
make  all-recursive
make[1]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp'
Making all in pubtext
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp/pubtext'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp/pubtext'
Making all in unicode
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp/unicode'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp/unicode'
Making all in doc
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp/doc'
Making all in include
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp/include'
Making all in generic
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp/generic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp/generic'
Making all in lib
make[2]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp/lib'
make  all-am
make[3]: Entering directory `/data/ptolemy/norman/w/ext/openjade/sp/lib'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic    -g -O2 -MT Allocator.lo -MD -MP -MF ".deps/Allocator.Tpo" \
  -c -o Allocator.lo `test -f 'Allocator.cxx' || echo './'`Allocator.cxx; \
then mv -f ".deps/Allocator.Tpo" ".deps/Allocator.Plo"; \
else rm -f ".deps/Allocator.Tpo"; exit 1; \
fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -g -O2 -MT Allocator.lo -MD -MP -MF .deps/Allocator.Tpo -c Allocator.cxx  -fPIC -DPIC -DPIC -o Allocator.o
mv -f Allocator.o .libs/Allocator.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -g -O2 -MT Allocator.lo -MD -MP -MF .deps/Allocator.Tpo -c Allocator.cxx -o Allocator.o >/dev/null 2>&1
mv -f .libs/Allocator.lo Allocator.lo
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic    -g -O2 -MT ArcEngine.lo -MD -MP -MF ".deps/ArcEngine.Tpo" \
  -c -o ArcEngine.lo `test -f 'ArcEngine.cxx' || echo './'`ArcEngine.cxx; \
then mv -f ".deps/ArcEngine.Tpo" ".deps/ArcEngine.Plo"; \
else rm -f ".deps/ArcEngine.Tpo"; exit 1; \
fi
rm -f .libs/ArcEngine.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -g -O2 -MT ArcEngine.lo -MD -MP -MF .deps/ArcEngine.Tpo -c ArcEngine.cxx  -fPIC -DPIC -DPIC -o ArcEngine.o
In file included from ../include/Attributed.h:8,
                 from ../include/Notation.h:17,
                 from ../include/Event.h:19,
                 from ../include/ArcEngine.h:11,
                 from ArcEngine.cxx:10:
../include/Ptr.cxx: In destructor `OpenSP::Ptr<T>::~Ptr() [with T =
   OpenSP::AttributeValue]':
../include/Ptr.h:55:   instantiated from `OpenSP::ConstPtr<T>::ConstPtr() [with T = OpenSP::AttributeValue]'
../include/Attribute.h:36:   instantiated from here
../include/Ptr.cxx:22: error: `unref' undeclared (first use this function)
../include/Ptr.cxx:22: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
../include/Ptr.cxx:23: warning: possible problem detected in invocation of
   delete operator:
../include/Ptr.cxx:23: warning: invalid use of undefined type `struct
   OpenSP::AttributeValue'
../include/Attribute.h:28: warning: forward declaration of `struct
   OpenSP::AttributeValue'
../include/Ptr.cxx:23: note: neither the destructor nor the class-specific
   operator delete will be called, even if they are declared when the class is
   defined.
In file included from Recognizer.h:15,
                 from ParserState.h:34,
                 from Parser.h:23,
                 from ArcEngine.cxx:21:
../include/Owner.cxx: In destructor `OpenSP::Owner<T>::~Owner() [with T =
   OpenSP::BlankTrie]':
../include/CopyOwner.h:16:   instantiated from `OpenSP::CopyOwner<T>::CopyOwner() [with T = OpenSP::BlankTrie]'
Trie.h:22:   instantiated from here
../include/Owner.cxx:15: warning: possible problem detected in invocation of
   delete operator:
../include/Owner.cxx:15: warning: invalid use of undefined type `struct
   OpenSP::BlankTrie'
Trie.h:18: warning: forward declaration of `struct OpenSP::BlankTrie'
../include/Owner.cxx:15: note: neither the destructor nor the class-specific
   operator delete will be called, even if they are declared when the class is
   defined.
make[3]: *** [ArcEngine.lo] Error 1
make[3]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/ptolemy/norman/w/ext/openjade/sp'
make: *** [all] Error 2

Current Thread