List:MySQL++« Previous MessageNext Message »
From:Steffen Schumacher Date:August 20 2004 7:05am
Subject:building error while building from ports collection with gcc 3.4.2
View as plain text  
Hi!

I'm trying to build a straight up mysql++ from the ports-collection of a FreeBSD 5.2
current.

it uses gcc 3.4.2:
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728

screen output is enclosed.. Any suggestions?

Here's what happen when I try to 'make':

make
===>  Building for mysql++-1.7.9_2
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/databases/mysql++/work/mysql++-1.7.9'
Making all in sqlplusint
gmake[2]: Entering directory `/usr/ports/databases/mysql++/work/mysql++-1.7.9/sqlplusint'
Makefile:572: warning: overriding commands for target `Makefile.in'
Makefile:129: warning: ignoring old commands for target `Makefile.in'
Makefile:575: warning: overriding commands for target `Makefile'
Makefile:132: warning: ignoring old commands for target `Makefile'
Makefile:580: warning: overriding commands for target `exceptions.hh'
Makefile:137: warning: ignoring old commands for target `exceptions.hh'
Makefile:585: warning: overriding commands for target `stamp-h2'
Makefile:142: warning: ignoring old commands for target `stamp-h2'
Makefile:590: warning: overriding commands for target `exceptions.hh.in'
Makefile:147: warning: ignoring old commands for target `exceptions.hh.in'
Makefile:595: warning: overriding commands for target `stamp-h2.in'
Makefile:152: warning: ignoring old commands for target `stamp-h2.in'
Makefile:603: warning: overriding commands for target `distclean-hdr'
Makefile:160: warning: ignoring old commands for target `distclean-hdr'
Makefile:610: warning: overriding commands for target `clean-libLTLIBRARIES'
Makefile:167: warning: ignoring old commands for target `clean-libLTLIBRARIES'
Makefile:617: warning: overriding commands for target `install-libLTLIBRARIES'
Makefile:174: warning: ignoring old commands for target `install-libLTLIBRARIES'
Makefile:627: warning: overriding commands for target `uninstall-libLTLIBRARIES'
Makefile:184: warning: ignoring old commands for target `uninstall-libLTLIBRARIES'
Makefile:633: warning: overriding commands for target `.s.o'
Makefile:190: warning: ignoring old commands for target `.s.o'
Makefile:636: warning: overriding commands for target `.S.o'
Makefile:193: warning: ignoring old commands for target `.S.o'
Makefile:639: warning: overriding commands for target `mostlyclean-compile'
Makefile:196: warning: ignoring old commands for target `mostlyclean-compile'
Makefile:644: warning: overriding commands for target `distclean-compile'
Makefile:201: warning: ignoring old commands for target `distclean-compile'
Makefile:649: warning: overriding commands for target `.s.lo'
Makefile:206: warning: ignoring old commands for target `.s.lo'
Makefile:652: warning: overriding commands for target `.S.lo'
Makefile:209: warning: ignoring old commands for target `.S.lo'
Makefile:655: warning: overriding commands for target `mostlyclean-libtool'
Makefile:212: warning: ignoring old commands for target `mostlyclean-libtool'
Makefile:658: warning: overriding commands for target `clean-libtool'
Makefile:215: warning: ignoring old commands for target `clean-libtool'
Makefile:665: warning: overriding commands for target `libsqlplus.la'
Makefile:222: warning: ignoring old commands for target `libsqlplus.la'
Makefile:667: warning: overriding commands for target `.cc.o'
Makefile:224: warning: ignoring old commands for target `.cc.o'
Makefile:669: warning: overriding commands for target `.cc.lo'
Makefile:226: warning: ignoring old commands for target `.cc.lo'
Makefile:672: warning: overriding commands for target `install-includeHEADERS'
Makefile:229: warning: ignoring old commands for target `install-includeHEADERS'
Makefile:681: warning: overriding commands for target `uninstall-includeHEADERS'
Makefile:238: warning: ignoring old commands for target `uninstall-includeHEADERS'
Makefile:689: warning: overriding commands for target `ID'
Makefile:246: warning: ignoring old commands for target `ID'
Makefile:697: warning: overriding commands for target `TAGS'
Makefile:254: warning: ignoring old commands for target `TAGS'
Makefile:711: warning: overriding commands for target `distclean-tags'
Makefile:268: warning: ignoring old commands for target `distclean-tags'
Makefile:720: warning: overriding commands for target `distdir'
Makefile:277: warning: ignoring old commands for target `distdir'
Makefile:745: warning: overriding commands for target `distclean-depend'
Makefile:302: warning: ignoring old commands for target `distclean-depend'
Makefile:795: warning: overriding commands for target `all-recursive-am'
Makefile:352: warning: ignoring old commands for target `all-recursive-am'
Makefile:804: warning: overriding commands for target `install-am'
Makefile:361: warning: ignoring old commands for target `install-am'
Makefile:811: warning: overriding commands for target `install-strip'
Makefile:368: warning: ignoring old commands for target `install-strip'
Makefile:813: warning: overriding commands for target `installdirs'
Makefile:370: warning: ignoring old commands for target `installdirs'
Makefile:821: warning: overriding commands for target `distclean-generic'
Makefile:378: warning: ignoring old commands for target `distclean-generic'
Makefile:839: warning: overriding commands for target `distclean-am'
Makefile:396: warning: ignoring old commands for target `distclean-am'
Makefile:848: warning: overriding commands for target `maintainer-clean-am'
Makefile:405: warning: ignoring old commands for target `maintainer-clean-am'
Makefile:873: warning: overriding commands for target `custom.hh'
Makefile:430: warning: ignoring old commands for target `custom.hh'
Makefile:873: warning: overriding commands for target `custom-macros.hh'
Makefile:430: warning: ignoring old commands for target `custom-macros.hh'
Makefile:876: warning: overriding commands for target `distclean-local'
Makefile:433: warning: ignoring old commands for target `distclean-local'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint 
-I/usr/local/include/mysql  -O -pipe -D_FIX_FOR_BSD_ -Wno-deprecated -c coldata.cc
rm -f .libs/coldata.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/local/include/mysql -O -pipe
-D_FIX_FOR_BSD_ -Wno-deprecated -Wp,-MD,.deps/coldata.pp -c  -fPIC -DPIC coldata.cc -o
.libs/coldata.lo
In file included from coldata1.hh:8,
                 from coldata2.hh:5,
                 from coldata3.hh:12,
                 from coldata4.hh:6,
                 from coldata.cc:3:
type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info()':
type_info1.hh:29: error: uninitialized member `mysql_ti_sql_type_info::_base_type' with
`const' type `const unsigned char'
type_info1.hh:29: error: uninitialized member `mysql_ti_sql_type_info::_default' with
`const' type `const bool'
In file included from coldata4.hh:6,
                 from coldata.cc:3:
coldata3.hh: In member function `mysql_ColData<Str>::operator MysqlNull<T,
B>() const':
coldata3.hh:19: error: there are no arguments to `size' that depend on a template
parameter, so a declaration of `size' must be available
coldata3.hh:19: error: (if you use `-fpermissive', G++ will accept your code, but allowing
the use of an undeclared name is deprecated)
In file included from coldata.cc:3:
coldata4.hh: In member function `Type mysql_ColData<Str>::conv(Type) const':
coldata4.hh:23: error: there are no arguments to `c_str' that depend on a template
parameter, so a declaration of `c_str' must be available
gmake[2]: *** [coldata.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/mysql++/work/mysql++-1.7.9/sqlplusint'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/mysql++/work/mysql++-1.7.9'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/databases/mysql++.

Thread
building error while building from ports collection with gcc 3.4.2Steffen Schumacher20 Aug
  • Re: building error while building from ports collection with gcc3.4.2Warren Young20 Aug