[xsd-users] xsd build errors on BeagleBone Black with Kali Linux 2.0

Arthur Lobo arthurlobo at msn.com
Fri Nov 27 10:50:21 EST 2015


Hi Boris:

> make ... LIBS="-licuuc -licudata"

Thanks, specifying the above additional libraries to the linker
allowed the build to complete.

I have a follow on question on xsd versions. I am building
RedHawk SDR framework which requires xsd-3.3.0. The
RedHawk configure script will not take xsd-4.0.0. When I try to
build xsd-3.3.0+dep with xerces-c-3.1.2 I get the following
initial errors (I have not attached the whole list):

make CPPFLAGS=-I../xerces-c-3.1.2/src LDFLAGS=-L../xerces-c-3.1.2/src/.libs LIBS="-licuuc -licudata"
c++ /root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx
In file included from /root/Downloads/xsd-3.3.0+dep/xsd/xsd/cxx/tree/generator.hxx:14:0,
                 from /root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:29:
/root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.hxx: In destructor ‘AutoUnlink::~AutoUnlink()’:
/root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.hxx:41:26: error: ‘XSDFrontend::SemanticGraph::Path’ has no member named ‘native_file_string’
       std::remove (file_.native_file_string ().c_str ());
                          ^
/root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx: In function ‘Cult::Types::Fundamental::Int main(Cult::Types::Fundamental::Int, Cult::Types::Fundamental::Char**)’:
/root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:639:71: error: invalid conversion from ‘bool (*)(const string&) {aka bool (*)(const std::basic_string<char>&)}’ to ‘boost::enable_if_c<true, void>::type* {aka void*}’ [-fpermissive]
           tu = SemanticGraph::Path (args[i], boost::filesystem::native);
                                                                       ^
In file included from /root/Downloads/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:11:0,
                 from /root/Downloads/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/schema.hxx:11,
                 from /root/Downloads/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/parser.hxx:12,
                 from /root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:19:
/usr/include/boost/filesystem/path.hpp:135:5: note: initializing argument 2 of ‘boost::filesystem::path::path(const Source&, typename boost::enable_if<boost::filesystem::path_traits::is_pathable<typename boost::decay<Source>::type> >::type*) [with Source = const char*; typename boost::enable_if<boost::filesystem::path_traits::is_pathable<typename boost::decay<Source>::type> >::type = void]’
     path(Source const& source,
     ^
/root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:678:24: error: ‘XSDFrontend::SemanticGraph::Path’ has no member named ‘native_file_string’
                 if (tu.native_file_string () != name)
                        ^
/root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:693:24: error: ‘XSDFrontend::SemanticGraph::Path’ has no member named ‘native_file_string’
                 if (tu.native_file_string () != name)
                        ^
/root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:831:68: error: invalid conversion from ‘bool (*)(const string&) {aka bool (*)(const std::basic_string<char>&)}’ to ‘boost::enable_if_c<true, void>::type* {aka void*}’ [-fpermissive]
             SemanticGraph::Path (args[i], boost::filesystem::native));
                                                                    ^
In file included from /root/Downloads/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:11:0,
                 from /root/Downloads/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/schema.hxx:11,
                 from /root/Downloads/xsd-3.3.0+dep/libxsd-frontend/xsd-frontend/parser.hxx:12,
                 from /root/Downloads/xsd-3.3.0+dep/xsd/xsd/xsd.cxx:19:
/usr/include/boost/filesystem/path.hpp:135:5: note: initializing argument 2 of ‘boost::filesystem::path::path(const Source&, typename boost::enable_if<boost::filesystem::path_traits::is_pathable<typename boost::decay<Source>::type> >::type*) [with Source = const char*; typename boost::enable_if<boost::filesystem::path_traits::is_pathable<typename boost::decay<Source>::type> >::type = void]’
     path(Source const& source,...

Can you please help?


Art

> Date: Fri, 27 Nov 2015 15:33:11 +0200
> From: boris at codesynthesis.com
> To: arthurlobo at msn.com
> CC: xsd-users at codesynthesis.com
> Subject: Re: [xsd-users] xsd build errors on BeagleBone Black with Kali Linux 2.0
> 
> Hi Arthur,
> 
> Arthur Lobo <arthurlobo at msn.com> writes:
> 
> > ../xerces-c-3.1.1/src/.libs/libxerces-c.a(ICUTransService.o):
> 
> You are linking to a static Xerces-C++ library which was built with
> the ICU dependency. This means you also need to link to the ICU libs.
> Try:
> 
> make ... LIBS="-licuuc -licudata"
> 
> Boris


 		 	   		   		 	   		  


More information about the xsd-users mailing list