[debian-mysql] Bug#522851: Gdal problems with libmysqlclient-dev

Francesco Paolo Lovergine frankie at debian.org
Mon Apr 6 22:45:45 UTC 2009


Package: libmysqlclient-dev
Version: 5.1.32-1
Severity: important

It seems libmysqlclient creates some problems with gcc 4.3, note that
all work with 5.0:

/bin/sh /users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/libtool --mode=compile --tag=CXX g++ -g -O2 -fvisibility=hidden  -Wall  -I.. -I../.. -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/gcore -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/alg -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/ogr -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/ogr/ogrsf_frmts -I/usr/include/mysql -DOGR_ENABLED -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port  -c -o ../o/ogrmysqldriver.o ogrmysqldriver.cpp
libtool: compile:  g++ -g -O2 -fvisibility=hidden -Wall -I.. -I../.. -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/gcore -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/alg -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/ogr -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/ogr/ogrsf_frmts -I/usr/include/mysql -DOGR_ENABLED -I/users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port -c ogrmysqldriver.cpp  -fPIC -DPIC -o ../o/.libs/ogrmysqldriver.o
In file included from /usr/include/c++/4.3/bits/char_traits.h:46,
                 from /usr/include/c++/4.3/string:47,
                 from /users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port/cpl_string.h:169,
                 from ../../ogr_featurestyle.h:34,
                 from ../../ogr_feature.h:34,
                 from ../ogrsf_frmts.h:33,
                 from ogr_mysql.h:41,
                 from ogrmysqldriver.cpp:30:
/usr/include/c++/4.3/bits/stl_algobase.h:232:56: error: macro "min" passed 3 arguments, but takes just 2
/usr/include/c++/4.3/bits/stl_algobase.h:252:56: error: macro "max" passed 3 arguments, but takes just 2
In file included from /usr/include/c++/4.3/bits/char_traits.h:46,
                 from /usr/include/c++/4.3/string:47,
                 from /users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port/cpl_string.h:169,
                 from ../../ogr_featurestyle.h:34,
                 from ../../ogr_feature.h:34,
                 from ../ogrsf_frmts.h:33,
                 from ogr_mysql.h:41,
                 from ogrmysqldriver.cpp:30:
/usr/include/c++/4.3/bits/stl_algobase.h:188: error: expected unqualified-id before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:188: error: expected `)' before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:188: error: expected `)' before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:188: error: expected initializer before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:210: error: expected unqualified-id before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:210: error: expected `)' before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:210: error: expected `)' before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:210: error: expected initializer before 'const'
/usr/include/c++/4.3/bits/stl_algobase.h:232: error: function definition does not declare parameters
/usr/include/c++/4.3/bits/stl_algobase.h:252: error: function definition does not declare parameters
/usr/include/c++/4.3/bits/stl_algobase.h: In static member function 'static bool std::__lexicographical_compare<true>::__lc(const _Tp*, const _Tp*, const _Up*, const _Up*)':
/usr/include/c++/4.3/bits/stl_algobase.h:904: error: expected unqualified-id before '(' token
In file included from /usr/include/c++/4.3/string:58,
                 from /users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port/cpl_string.h:169,
                 from ../../ogr_featurestyle.h:34,
                 from ../../ogr_feature.h:34,
                 from ../ogrsf_frmts.h:33,
                 from ogr_mysql.h:41,
                 from ogrmysqldriver.cpp:30:
/usr/include/c++/4.3/bits/basic_string.h: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const':
/usr/include/c++/4.3/bits/basic_string.h:1945: error: expected unqualified-id before '(' token
In file included from /usr/include/c++/4.3/string:61,
                 from /users/frankie/debian/debian-gis/supported/gdal/gdal-1.6.0/port/cpl_string.h:169,
                 from ../../ogr_featurestyle.h:34,
                 from ../../ogr_feature.h:34,
                 from ../ogrsf_frmts.h:33,
                 from ogr_mysql.h:41,
                 from ogrmysqldriver.cpp:30:
/usr/include/c++/4.3/bits/basic_string.tcc: In member function 'typename std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::rfind(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) const':
/usr/include/c++/4.3/bits/basic_string.tcc:759: error: expected unqualified-id before '(' token
/usr/include/c++/4.3/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&) const':
/usr/include/c++/4.3/bits/basic_string.tcc:896: error: expected unqualified-id before '(' token
/usr/include/c++/4.3/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) const':
/usr/include/c++/4.3/bits/basic_string.tcc:913: error: expected unqualified-id before '(' token
/usr/include/c++/4.3/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(const _CharT*) const':
/usr/include/c++/4.3/bits/basic_string.tcc:929: error: expected unqualified-id before '(' token
/usr/include/c++/4.3/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*) const':
/usr/include/c++/4.3/bits/basic_string.tcc:945: error: expected unqualified-id before '(' token
/usr/include/c++/4.3/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type) const':
/usr/include/c++/4.3/bits/basic_string.tcc:961: error: expected unqualified-id before '(' token
make: *** [../o/ogrmysqldriver.o] Error 1




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the pkg-mysql-maint mailing list