BUG#6554: Problem Building MySql on Fedora Core 3
- Link with libsupc++.a which contains language support functions. see http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#2_5 configure.in: Add libsupc++ to librarys to link sql/ha_berkeley.cc: Reverting the change made to fix this problem in 4.1 sql/ha_ndbcluster.cc: Reverting the change made to fix this problem in 4.1
This commit is contained in:
parent
e58dfda412
commit
a2b5ef8abf
@ -353,7 +353,8 @@ then
|
|||||||
then
|
then
|
||||||
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
|
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
CXXFLAGS="$CXXFLAGS -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL"
|
# Statically link the language support function's found in libsupc++.a
|
||||||
|
LIBS="$LIBS -lsupc++"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -371,9 +371,8 @@ void berkeley_cleanup_log_files(void)
|
|||||||
** Berkeley DB tables
|
** Berkeley DB tables
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static const char *ha_bdb_bas_exts[]= { ha_berkeley_ext, NullS };
|
|
||||||
const char **ha_berkeley::bas_ext() const
|
const char **ha_berkeley::bas_ext() const
|
||||||
{ return ha_bdb_bas_exts; }
|
{ static const char *ext[]= { ha_berkeley_ext, NullS }; return ext; }
|
||||||
|
|
||||||
|
|
||||||
ulong ha_berkeley::index_flags(uint idx, uint part, bool all_parts) const
|
ulong ha_berkeley::index_flags(uint idx, uint part, bool all_parts) const
|
||||||
|
@ -3015,8 +3015,8 @@ int ha_ndbcluster::extra_opt(enum ha_extra_function operation, ulong cache_size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static const char *ha_ndb_bas_exts[]= { ha_ndb_ext, NullS };
|
const char** ha_ndbcluster::bas_ext() const
|
||||||
{ return ha_ndb_bas_exts; }
|
{ static const char *ext[]= { ha_ndb_ext, NullS }; return ext; }
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user