[fdo-users] FDO Compile error (libxalan-c)

kernel_panic sudoaptgetinstalld00d3 at gmail.com
Tue Oct 6 16:41:53 EDT 2009

Well, Im not having this particular issue:

2009/10/6, john spitzer <john.spitzer at gmail.com>:
> Hi,
> When building FDO from source on Ubuntu I got the following g++
> compile time issue:
> g++ -O2 -DNDEBUG      -fno-elide-constructors -Wall -fPIC -DLINUX
> -I/home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src
> -I/home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/include
> -I../../nls/include
> -I/home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xerces/c/src/
> -I/home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xerces/c/include/xercesc
> -I/home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xerces/c/include/  -o
> ../../obj/XalanDOMString.o
> /home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp
> /home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:
> In member function ‘xalanc_1_7::XalanDOMString&
> xalanc_1_7::XalanDOMString::assign(const xalanc_1_7::XalanDOMString&,
> size_t, size_t)’:
> /home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:281:
> error: ‘memmove’ is not a member of ‘std’
> /home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:
> In static member function ‘static size_t
> xalanc_1_7::XalanDOMString::length(const char*)’:
> /home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:825:
> error: ‘strlen’ is not a member of ‘std’
> /home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:
> In function ‘bool xalanc_1_7::doTranscodeFromLocalCodePage(const
> char*, size_t, bool, xalanc_1_7::XalanDOMCharVectorType&, bool)’:
> /home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:1154:
> error: ‘strncpy’ is not a member of ‘std’
> make[1]: *** [../../obj/XalanDOMString.o] Error 1
> make[1]: Leaving directory
> `/home/jjs/OpenSource_FDO/Thirdparty/apache/xml-xalan/c/src/xalanc'
> make: *** [all] Error 2

But adding #include <cstring> on all  .cpp files on
/Thirdparty/gdal/frmts/ilwis/ made another (unnoticed :p) error go
away, regarding libgdal.so not being created.

However, Im still getting the xalan error :S

"make[1]: se sale del directorio `/opt/fdo-3.3.1/Thirdparty/gdal/apps'
make[1]: se ingresa al directorio `/opt/fdo-3.3.1/Thirdparty'
make[1]: *** No hay ninguna regla para construir el objetivo
`apache/xml-xalan/c/lib/libxalan-c.so.17.0', necesario para `all-am'.
make[1]: se sale del directorio `/opt/fdo-3.3.1/Thirdparty'
make: *** [install-recursive] Error 1"

I was thinking on what you said about passing variables between
scripts, but I dont know how the scripts are run :p, I mean, I dont
know who calls who, so I dont know where to look for...

Does anyone know in which order the scripts are run, or how can I
figure out that?

More information about the fdo-users mailing list