[Botan-devel] Help with QNX/Momentics build
Jack Lloyd
lloyd at randombit.net
Tue Feb 27 17:22:50 EST 2007
On Tue, Feb 27, 2007 at 05:02:52PM -0500, Pat McHenry wrote:
> -O2 -D_REENTRANT -D_QNX_SOURCE -ansi -Wno-long-long -fexceptions -march=i586
> -momit-leaf-frame-pointer -fpermissive -finline-functions -fPIC
I think the _QNX_SOURCE define was already supposed to be there for
you, it may have gotten lost when I partially rewrote the configure
script. Fortunately it's much easier to add it back now that that code
isn't a (total) mess.
>
> With these options I almost get past compilation. I'm left with three
> errors for undeclared references:
>
>
>
> libstate.o: 'abort' undeclared
Bug. I just looked, it's there, it's not supposed to be (I must have
been trying to track something down, certainly something that drastic
is not a good way of handling a simple error). You should remove the
call entirely.
>
> unix_cmd.o: 'exit' undeclared
Where is exit() declared on QNX? It's in (or at least made available
by) unistd.h on most platforms/standards I'm aware
of/encountered. That is a strange one.
> x509_ca.o: 'back_inserter' undeclared
Bug again, just forgot to include <iterator> there (GCC is too
forgiving (or alternately GCC drags too much stuff in when you include
standard headers)).
> Does anyone have any suggestions on this immediate problem or, better
> yet, some general experience using Botan under QNX/Momentics that you'd be
> willing to share?
I'm afraid I don't have much. I occasionally do builds on QNX running
in VMware, but that really is the extent of it for me.
-Jack
More information about the botan-devel
mailing list