[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alternative sgmltools?
> Can you show me the error message you get ? I think you have done
> "./configure --installed-nsgmls", is it OK ?
I just did a './configure'.
Ok, here's what happens when I use the sgml-tools downloaded from
www.sgmltools.org (1.0.9)
The configure scripts runs fine, no errors are displayed.
Then I execute 'make' in an attempt to compile the package:
A lot of these similar messages appear:
In file included from entmgr_inst.cxx:34:
../include/Message.h:170: warning: `Messenger::dispatchMessage(Message
&)' was hidden
../include/Message.h:196: warning: by
`NullMessenger::dispatchMessage(const Message &)'
Then compilation stops at compiling ParserState.cxx
c++ -ansi -fno-implicit-templates -O2 -Wall -Wno-reorder
-Wwrite-strings -Wpointer-arith -Wnested-externs -Woverloaded-virtual
-Wbad-function-cast -I. -I./../include -I./../generic -DSTDC_HEADERS=1
-DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -Dsig_atomic_t=int
-DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -c
ParserState.cxx
In file included from ParserState.h:11,
from ParserState.cxx:8:
/usr/include/signal.h:39: abstract declarator used as
declaration
In file included from ../include/Attribute.h:19,
from ParserState.h:13,
from ParserState.cxx:8:
../include/Message.h:170: warning:
`Messenger::dispatchMessage(Message&)' was hidden
../include/Message.h:196: warning: by `NullMessenger::dispatchMessage(const
Message &)'
In file included from ../include/Markup.h:12,
from ../include/Entity.h:22,
from ../include/Dtd.h:14
from ParserState.h:17,
from ParserState.cxx:8:
../include/Syntax.h:275: warning: `class Syntax' has virtual functions
but non-v irtual destructor
make[3]: *** [ParserState.o] Error 1
make[3]: Leaving directory `/usr/src/sgml-tools-1.0.9/sp/lib'
make[2]: *** [lib] Error 2
make[2]: Leaving directory `/usr/src/sgml-tools-1.0.9/sp'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/sgml-tools-1.0.9/sp'
make: *** [all] Error 2
When I do a 'make -k' (so it continues after errors) the above error
repeats a lot of times.
I can compile the files that go wrong with a 'c++ -c ParserState.cxx -o
ParserState.o -I../include'. No errors whatsoever are found; but when
all object files are linked, things go wrong at that point (a lot of
undifined references). So the problem is tracked to in the compile
command:
c++ -ansi -fno-implicit-templates -O2 -Wall -Wno-reorder
-Wwrite-strings -Wpointer-arith -Wnested-externs -Woverloaded-virtual
-Wbad-function-cast -I. -I./../include -I./../generic -DSTDC_HEADERS=1
-DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -Dsig_atomic_t=int
-DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -c
parseSd.cxx
Without the macro definition's things go smoothly (compile wise; but
fail later at linking).
But as I said before, I don't need to compile it anymmore. I gave up on
this thing for now. I copied the files from a debian system, put 'em in
a tarball and so for next time I just unpack the tarball, copy the files
to /usr/lib /usr/bin /etc and /usr/lib/perl5/Text.
Thanks for trying to help though. It's realy appreciated
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]