List:MySQL++« Previous MessageNext Message »
From:Charles A. Haines Date:August 18 2005 5:00pm
Subject:2.0.1 Compile Problems on QXN 6.3
View as plain text  
I'm trying to compile 2.0.1 on QNX 6.3.  It configures correctly.  When I go
to make, I get the following error:

make[2]: Entering directory `/home/hainesca/mysql++-2.0.1/lib'
 cd .. && /bin/sh ./config.status lib/Makefile depfiles
config.status: creating lib/Makefile
config.status: executing depfiles commands
source='connection.cpp' object='connection.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile --tag=CXX QCC -DHAVE_CONFIG_H -I. -I. -I..
-I../lib  -I/usr/local/mysql/include  -lsocket -lm -c -o connection.lo
connection.cpp
 QCC -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I/usr/local/mysql/include
-lsocket -lm -c connection.cpp -Wp,-MD,.deps/connection.TPlo  -fPIC -DPIC -o
.libs/connection.o
In file included from connection.cpp:32:
query.h:529: error: parse error before `>' token
cc:
/usr/qnx630/host/qnx6/x86/usr/lib/gcc-lib/i386-pc-nto-qnx6.3.0/3.3.1/cc1plus
error 1
make[2]: *** [connection.lo] Error 1
make[2]: Leaving directory `/home/hainesca/mysql++-2.0.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hainesca/mysql++-2.0.1'
make: *** [all] Error 2

When I look at this line number, it is the following code:
void storein(slist<T>& con, const char* s)
        {
                storein_sequence(con, s);
        }

Has anyone else had similar problems?  I'm using qcc (the QNX equivalent of
gcc) version 3.3.1 (which corresponds to GCC 3.3.1).

Thanks,

--
Charles Haines
Software Engineer / QA
Remote Sensing Lab - Andrews
------------------------------
Phone: (301) 817-3409
Pager: (800) 759-8888 #1209278
Email: hainesca@stripped
------------------------------

This e-mail and any attachments may contain privacy act information. If you
received this message in error or are not the intended recipient, you should
destroy this message and any attachments, and you are prohibited from
retaining, distributing, disclosing, or using any information contained
herein.  Please inform us of the erroneous delivery by return e-mail.  Thank
you for your cooperation. 

Thread
2.0.1 Compile Problems on QXN 6.3Charles A. Haines18 Aug
  • Re: 2.0.1 Compile Problems on QXN 6.3Warren Young18 Aug