Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] << ] >> ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000001 [qot] general block always 2008-04-19 03:13 2008-04-21 23:46
Reporter anonymous View Status public  
Assigned To administrator
Priority normal Resolution fixed  
Status resolved   Product Version 0.0.2
Summary 0000001: Compilation fails
Description $ ./configure --prefix=/usr
$ make
...
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT strxmov.o -MD -MP -MF .deps/strxmov.Tpo -c -o strxmov.o strxmov.c
mv -f .deps/strxmov.Tpo .deps/strxmov.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT xml.o -MD -MP -MF .deps/xml.Tpo -c -o xml.o xml.c
mv -f .deps/xml.Tpo .deps/xml.Po
rm -f libsqlparser-noinst.a
ar cru libsqlparser-noinst.a charset-def.o charset.o ctype-big5.o ctype-bin.o ctype-cp932.o ctype-czech.o ctype-euc_kr.o ctype-eucjpms.o ctype-extra.o ctype-gb2312.o ctype-gbk.o ctype-latin1.o ctype-mb.o ctype-simple.o ctype-sjis.o ctype-tis620.o ctype-uca.o ctype-ucs2.o ctype-ujis.o ctype-utf8.o ctype-win1250ch.o ctype.o dllmain.o int2str.o my_lib.o my_messnc.o my_static.o my_strtoll10.o my_vsnprintf.o myx_lex_helpers.o myx_sql_parser.tab.o myx_sql_tree_item.o myx_statement_parser.o myx_unicode_scanner.o str_alloc.o strmake.o strnmov.o strtod.o strxmov.o xml.o
ranlib libsqlparser-noinst.a
make[3]: Leaving directory `/home/bla/mysql/qot/src/sql-parser'
make[3]: Entering directory `/home/bla/mysql/qot/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT qot.o -MD -MP -MF .deps/qot.Tpo -c -o qot.o qot.cpp
In file included from qot_select_query.h:26,
                 from qot.cpp:28:
qot_expression.h:514: error: base `qot::expr::Expr' with only non-default
   constructor in class without a constructor
qot_expression.h:838: error: base `qot::join::Table_ref' with only non-default
   constructor in class without a constructor
make[3]: *** [qot.o] Error 1
make[3]: Leaving directory `/home/bla/mysql/qot/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bla/mysql/qot/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bla/mysql/qot'
make: *** [all] Error 2
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000001)
administrator (administrator)
2008-04-19 19:20

This seems to be a compiler specific problem. Can you please provide information about your compiler as returned by "g++ --version" and info about your system as returned by "lsb_release -a".

Thanks
(0000002)
anonymous (viewer)
2008-04-21 11:34

I have the exact same error, trying to compile on CentOS 4, x86_64

$ g++ --version
g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)

$ lsb_release -a
-bash: lsb_release: command not found

So i did a yum install redhat-lsb

$ lsb_release -a
LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: CentOS
Description: CentOS release 4.6 (Final)
Release: 4.6
Codename: Final

- Ivo Teel
(0000004)
administrator (administrator)
2008-04-21 19:57

Ivo,

thanks for the info. The problem is indeed gcc-version-specific. Expect a patched release soon.
(0000005)
administrator (administrator)
2008-04-21 23:46

This issue is fixed in version 0.0.3. Instead of providing a patched fork for 0.0.2 I decided to release it together with some new features as a new version. (Release ETA: 1-3 days)

- Issue History
Date Modified Username Field Change
2008-04-19 03:13 anonymous New Issue
2008-04-19 07:30 administrator Assigned To => administrator
2008-04-19 07:30 administrator Status new => assigned
2008-04-19 19:20 administrator Note Added: 0000001
2008-04-19 19:20 administrator Status assigned => feedback
2008-04-21 11:34 anonymous Note Added: 0000002
2008-04-21 19:29 administrator Status feedback => confirmed
2008-04-21 19:54 anonymous Note Added: 0000003
2008-04-21 19:55 administrator Note Deleted: 0000003
2008-04-21 19:57 administrator Note Added: 0000004
2008-04-21 20:20 administrator Issue Monitored: administrator
2008-04-21 23:46 administrator Note Added: 0000005
2008-04-21 23:46 administrator Status confirmed => resolved
2008-04-21 23:46 administrator Resolution open => fixed
2008-07-19 16:15 administrator Issue End Monitor: administrator


Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker