[fdo-trac] #280: Errors with Linux FDO?
FDO
trac_fdo at osgeo.org
Tue Mar 25 20:27:43 EDT 2008
#280: Errors with Linux FDO?
----------------------------+-----------------------------------------------
Reporter: Rothgar | Owner: gregboone
Type: defect | Status: new
Priority: critical | Milestone: 3.3.0
Component: MySQL Provider | Version: 3.3.0
Severity: 1 | Resolution:
Keywords: | External_id:
----------------------------+-----------------------------------------------
Comment (by Rothgar):
Alright ran into a few errors...
I didn't have the unixODBC installed because I don't want to use ODBC only
MySQL. I didn't get any stop error message about this when running
"build_thirdparty" and "build_oem"
I saw a number of errors with bzip2?:
libs/iostreams/src/bzip2.cpp:29: error: âBZ_OKâ was not declared in this
scope
libs/iostreams/src/bzip2.cpp:30: error: âBZ_RUN_OKâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:31: error: âBZ_FLUSH_OKâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:32: error: âBZ_FINISH_OKâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:33: error: âBZ_STREAM_ENDâ was not declared
in this scope
libs/iostreams/src/bzip2.cpp:34: error: âBZ_SEQUENCE_ERRORâ was not
declared in this scope
libs/iostreams/src/bzip2.cpp:35: error: âBZ_PARAM_ERRORâ was not declared
in this scope
libs/iostreams/src/bzip2.cpp:36: error: âBZ_MEM_ERRORâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:37: error: âBZ_DATA_ERRORâ was not declared
in this scope
libs/iostreams/src/bzip2.cpp:38: error: âBZ_DATA_ERROR_MAGICâ was not
declared in this scope
libs/iostreams/src/bzip2.cpp:39: error: âBZ_IO_ERRORâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:40: error: âBZ_UNEXPECTED_EOFâ was not
declared in this scope
libs/iostreams/src/bzip2.cpp:41: error: âBZ_OUTBUFF_FULLâ was not declared
in this scope
libs/iostreams/src/bzip2.cpp:42: error: âBZ_CONFIG_ERRORâ was not declared
in this scope
libs/iostreams/src/bzip2.cpp:46: error: âBZ_FINISHâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:47: error: âBZ_RUNâ was not declared in this
scope
libs/iostreams/src/bzip2.cpp: In static member function âstatic void
boost::iostreams::bzip2_error::check(int)â:
libs/iostreams/src/bzip2.cpp:60: error: âBZ_OKâ was not declared in this
scope
libs/iostreams/src/bzip2.cpp:61: error: âBZ_RUN_OKâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:62: error: âBZ_FLUSH_OKâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:63: error: âBZ_FINISH_OKâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:64: error: âBZ_STREAM_ENDâ was not declared
in this scope
libs/iostreams/src/bzip2.cpp:66: error: âBZ_MEM_ERRORâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp: In constructor
âboost::iostreams::detail::bzip2_base::bzip2_base(const
boost::iostreams::bzip2_params&)â:
libs/iostreams/src/bzip2.cpp:78: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:78: error: expected `)' before âbz_streamâ
libs/iostreams/src/bzip2.cpp: In destructor
âboost::iostreams::detail::bzip2_base::~bzip2_base()â:
libs/iostreams/src/bzip2.cpp:81: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:81: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:81: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:81: error: âbz_streamâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:81: error: expected primary-expression before
â>â token
libs/iostreams/src/bzip2.cpp:81: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp: In member function âvoid
boost::iostreams::detail::bzip2_base::before(const char*&, const char*,
char*&, char*)â:
libs/iostreams/src/bzip2.cpp:86: error: âbz_streamâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:86: error: âsâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:86: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:86: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:86: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:86: error: expected primary-expression before
â>â token
libs/iostreams/src/bzip2.cpp:86: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp: In member function âvoid
boost::iostreams::detail::bzip2_base::after(const char*&, char*&)â:
libs/iostreams/src/bzip2.cpp:95: error: âbz_streamâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:95: error: âsâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:95: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:95: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:95: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:95: error: expected primary-expression before
â>â token
libs/iostreams/src/bzip2.cpp:95: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp: In member function âvoid
boost::iostreams::detail::bzip2_base::end(bool)â:
libs/iostreams/src/bzip2.cpp:103: error: âbz_streamâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:103: error: âsâ was not declared in this
scope
libs/iostreams/src/bzip2.cpp:103: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:103: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:103: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:103: error: expected primary-expression
before â>â token
libs/iostreams/src/bzip2.cpp:103: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp:106: error: âBZ2_bzCompressEndâ was not
declared in this scope
libs/iostreams/src/bzip2.cpp:107: error: âBZ2_bzDecompressEndâ was not
declared in this scope
libs/iostreams/src/bzip2.cpp: In member function âint
boost::iostreams::detail::bzip2_base::compress(int)â:
libs/iostreams/src/bzip2.cpp:113: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:113: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:113: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:113: error: âbz_streamâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:113: error: expected primary-expression
before â>â token
libs/iostreams/src/bzip2.cpp: In member function âint
boost::iostreams::detail::bzip2_base::decompress()â:
libs/iostreams/src/bzip2.cpp:118: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:118: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:118: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:118: error: âbz_streamâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:118: error: expected primary-expression
before â>â token
libs/iostreams/src/bzip2.cpp: In member function âvoid
boost::iostreams::detail::bzip2_base::do_init(bool, void* (*)(void*, int,
int), void (*)(void*, void*), void*)â:
libs/iostreams/src/bzip2.cpp:129: error: âbz_streamâ was not declared in
this scope
libs/iostreams/src/bzip2.cpp:129: error: âsâ was not declared in this
scope
libs/iostreams/src/bzip2.cpp:129: error: expected type-specifier before
âbz_streamâ
libs/iostreams/src/bzip2.cpp:129: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:129: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:129: error: expected primary-expression
before â>â token
libs/iostreams/src/bzip2.cpp:129: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp:146: error: âBZ2_bzCompressInitâ was not
declared in this scope
libs/iostreams/src/bzip2.cpp:149: error: âBZ2_bzDecompressInitâ was not
declared in this scope
It didn't stop though. I still didn't have the MySQL lib after re-
installing the FDO. I ran "./build_linux.sh --w rdbms" and then got a stop
error message about ODBC?
I then installed the unixODBC and unixODBC-dev and got further, I guess
the README should be changed to say you need the MySQL and ODBC libraries
if you want to use RDBMS?
the thing that is strange is why didn't it throw an error before now?
root at mapsrv:/home/fdo-src/OpenSource_FDO# ./build_linux.sh --help
******************************************************************************************
build_linux.sh [--h]
[--c BuildType]
[--a Action]
[--w WithModule]
[--d BuildDocs]
[--m ConfigMakefiles]
*
Help: --h[elp]
BuildType: --c[onfig] release(default), debug
Action: --a[ction] buildinstall(default), build, install,
uninstall, clean
BuildDocs: --d[ocs] skip(default), build
ConfigMakefiles: --m[akefile] configure(default), noconfigure
WithModule: --w[ith] all(default), fdocore, fdo, utilities,
providers, shp, sdf, gdal, rdbms, ogr
******************************************************************************************
It says the default is "--w all" ?
In any case the new error message I receive is:
make[3]: Entering directory `/home/fdo-
src/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest'
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -MMD -MT -D__USE_GNU
-DLINUX -DLINUX_IA32 -D__STDC_LIMIT_MACROS -DRDBI_STATIC -o UnitTestOdbc
-L/usr/lib OdbcTestRegister.o -lxalan-c -lxalanMsg -lxerces-c -lz -lodbc
./Common/libCommonUnitTests.la ./Odbc/libOdbcUnitTests.la
../ODBC/libFdoRdbmsODBC.la ../Fdo/libFdoRdbms.la ../Rdbi/librdbi.la
../ODBCDriver/libFdoODBCDriver.la ../Gdbi/libGdbi.la
../LongTransactionManager/libLTManager.la ../LockManager/libLockManager.la
../Util/libutil.la ../Geometry/Fgf/libgeometry_fgf.la
../SchemaMgr/Lp/libSmLpGrd.la ../SchemaMgr/libSmGrd.la
../SchemaMgr/Ov/libSchemaMgr_OV.la ../SchemaMgr/Ph/Cfg/libSmPhCfgGrd.la
../SchemaMgr/Ph/libSmPhGrd.la ../SchemaMgr/Ph/Rd/libSmPhRdGrd.la
../ODBC/SchemaMgr/Ph/Rd/libFdoRdbmsODBC_SchemaMgr_Ph_Rd.la /home/fdo-
src/OpenSource_FDO/Fdo/Unmanaged/Src/libFDO.la /home/fdo-
src/OpenSource_FDO/Thirdparty/linux/cppunit/lib/libcppunit.a /home/fdo-
src/OpenSource_FDO/Utilities/Common/libProvidersCommon.la /home/fdo-
src/OpenSource_FDO/Utilities/TestCommon/libTestCommon.la /home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/libSchemaMgr.la /home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Lp/libSmLogicalPhysical.la
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/libSmPhysical.la /home/
fdo-src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Cfg/libSmPhCfg.la
/home/fdo-src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Mt/libSmPhMt.la
/home/fdo-src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Rb/libSmPhRb.la
/home/fdo-src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Rd/libSmPhRd.la
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ov/libSmOverrides.la /home/
fdo-
src/OpenSource_FDO/Utilities/ExpressionEngine/Src/libExpressionEngine.la
/home/fdo-src/OpenSource_FDO/Utilities/Common/libProvidersCommon.la
../Rdbi/librdbi.la ../Util/libutil.la -lodbc -lz
g++ -O2 -MMD -MT -D__USE_GNU -DLINUX -DLINUX_IA32 -D__STDC_LIMIT_MACROS
-DRDBI_STATIC -o .libs/UnitTestOdbc OdbcTestRegister.o -L/usr/lib
./Common/.libs/libCommonUnitTests.a ./Odbc/.libs/libOdbcUnitTests.a
../ODBC/.libs/libFdoRdbmsODBC.a ../Fdo/.libs/libFdoRdbms.a
../ODBCDriver/.libs/libFdoODBCDriver.a ../Gdbi/.libs/libGdbi.a
../LongTransactionManager/.libs/libLTManager.a
../LockManager/.libs/libLockManager.a
../Geometry/Fgf/.libs/libgeometry_fgf.a ../SchemaMgr/Lp/.libs/libSmLpGrd.a
../SchemaMgr/.libs/libSmGrd.a ../SchemaMgr/Ov/.libs/libSchemaMgr_OV.a
-L/home/fdo-src/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/lib -L/home/
fdo-src/OpenSource_FDO/Thirdparty/apache/xml-xerces/c/lib -lxalan-c
-lxalanMsg -lxerces-c -lpthread -ldl
../SchemaMgr/Ph/Cfg/.libs/libSmPhCfgGrd.a
../SchemaMgr/Ph/.libs/libSmPhGrd.a ../SchemaMgr/Ph/Rd/.libs/libSmPhRdGrd.a
../ODBC/SchemaMgr/Ph/Rd/.libs/libFdoRdbmsODBC_SchemaMgr_Ph_Rd.a /home/fdo-
src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so /home/fdo-
src/OpenSource_FDO/Thirdparty/linux/cppunit/lib/libcppunit.a /home/fdo-
src/OpenSource_FDO/Utilities/TestCommon/.libs/libTestCommon.a /home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/.libs/libSchemaMgr.a /home/
fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Lp/.libs/libSmLogicalPhysical.a
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/.libs/libSmPhysical.a
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Cfg/.libs/libSmPhCfg.a
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Mt/.libs/libSmPhMt.a
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Rb/.libs/libSmPhRb.a
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Rd/.libs/libSmPhRd.a
/home/fdo-
src/OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ov/.libs/libSmOverrides.a
/home/fdo-
src/OpenSource_FDO/Utilities/ExpressionEngine/Src/.libs/libExpressionEngine.so
/home/fdo-src/OpenSource_FDO/Utilities/Common/.libs/libProvidersCommon.a
../Rdbi/.libs/librdbi.a ../Util/.libs/libutil.a /usr/lib/libodbc.so -lz
-Wl,--rpath -Wl,/usr/local/fdo-3.3.0/lib
/usr/bin/ld: warning: libxalanMsg.so.17, needed by /home/fdo-
src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so, may conflict with
libxalanMsg.so.110
/usr/bin/ld: warning: libxerces-c.so.25, needed by /home/fdo-
src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so, may conflict with
libxerces-c.so.27
../ODBC/.libs/libFdoRdbmsODBC.a(FdoRdbmsOdbcConnection.o): In function
`FdoRdbmsOdbcConnection::GetSchemaNameFromDsn()':
FdoRdbmsOdbcConnection.cpp:(.text+0x1cc4): undefined reference to
`SQLGetPrivateProfileString'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::XalanTransformer::terminate()'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to
`xalanc_1_7::XalanTransformer::transform(xalanc_1_7::XSLTInputSource
const&, xalanc_1_7::XSLTInputSource const&, void*, unsigned int (*)(char
const*, unsigned int, void*), void (*)(void*))'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::XalanDOMString::transcode() const'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::XalanTransformer::~XalanTransformer()'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::XalanTransformer::initialize()'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to
`xalanc_1_7::XalanTransformer::setStylesheetParam(xalanc_1_7::XalanDOMString
const&, xalanc_1_7::XalanDOMString const&)'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `typeinfo for xalanc_1_7::XSLException'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `typeinfo for xalanc_1_7::ProblemListener'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::XalanDOMString::XalanDOMString(char const*,
unsigned int)'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::ProblemListener::ProblemListener()'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::XSLTInputSource::XSLTInputSource()'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `typeinfo for xalanc_1_7::XSLTInputSource'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `vtable for xalanc_1_7::XSLTInputSource'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::XalanTransformer::XalanTransformer()'
/home/fdo-src/OpenSource_FDO/Fdo/Unmanaged/Src/.libs/libFDO.so: undefined
reference to `xalanc_1_7::ProblemListener::~ProblemListener()'
collect2: ld returned 1 exit status
make[3]: *** [UnitTestOdbc] Error 1
make[3]: Leaving directory `/home/fdo-
src/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/fdo-
src/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/fdo-
src/OpenSource_FDO/Providers/GenericRdbms/Src'
make: *** [install-recursive] Error 1
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/280#comment:5>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list