dbTalk Databases Forums  

2.0.1 Compile Problems on QXN 6.3

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss 2.0.1 Compile Problems on QXN 6.3 in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Haines, Charles A.
 
Posts: n/a

Default 2.0.1 Compile Problems on QXN 6.3 - 08-18-2005 , 12:01 PM






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 (AT) nv (DOT) doe.gov
------------------------------

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.


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: 2.0.1 Compile Problems on QXN 6.3 - 08-18-2005 , 12:12 PM






Haines, Charles A. wrote:
Quote:
query.h:529: error: parse error before `>' token
Sorry, I messed up when writing that, and couldn't test it because the
only system I have that covers that case is too old to build MySQL++ any
more. I'll be releasing a fix for this in v2.0.2, out very soon.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.