[xsd-users] troubleshooting a bug.

George Moutsouroufis gmoutsouroufis at bytemobile.com
Wed Dec 6 12:59:18 EST 2006


I make the code with ./xsd cxx-tree hello.xsd


g++ -I/root/moutsour/generator/xsd-2.3.0-sparc-solaris/libxsd -I/root/moutsour/isn/osnr.isn-1_3_0_patches/osnr/thirdparty/xerces/include  driver.cxx -lxerces-c –lsocket


and I got the following error:

Undefined                       first referenced
 symbol                             in file
hello_type::greeting()              /var/tmp//ccCAgji7.o
hello(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, xsd::cxx::tree::flags, xsd::cxx::tree::properties<char> const&)/var/tmp//ccCAgji7.o
hello_type::name()                  /var/tmp//ccCAgji7.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

My gcc is :
gcc --version
gcc (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And I am using solaris 8 
uname -a
SunOS v240 5.8 Generic_117350-24 sun4u sparc SUNW,Sun-Fire-V240

Thank you in advance George Moutsouroufis , Greece


P.C. fantastic job , really like it




More information about the xsd-users mailing list