[fdo-trac] #561: undefined symbol: g_LogFileName

FDO trac_fdo at osgeo.org
Fri Sep 25 15:34:18 EDT 2009


#561: undefined symbol: g_LogFileName
-----------------------------------+----------------------------------------
   Reporter:  rafael               |       Owner:  haris       
       Type:  defect               |      Status:  new         
   Priority:  blocker              |   Milestone:  3.5.0       
  Component:  KingOracle Provider  |     Version:  3.4.0       
   Severity:  3                    |    Keywords:  linux oracle
External_id:                       |  
-----------------------------------+----------------------------------------
 In Linux compilation, this symbol is not defined
 "undefined symbol: g_LogFileName (./libKingOracleProvider-3.4.0.so)"

 Workaround:
 In c_KgOraConnection.cpp, change this code:



 {{{
 #ifdef _WIN32

 static wchar_t g_AppFileName[MAX_PATH];
 static wchar_t g_HomeDir[MAX_PATH];
 wchar_t g_LogFileName[MAX_PATH];

 ....
     return (ret);
 }

 // _WIN32
 '''#else

 wchar_t g_LogFileName[PATH_MAX];'''

 #endif
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/561>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list