I had the same problem and it was resolved after manually installing Xerces-C++ 3.1.1 (You can download it from http://xerces.apache.org/xerces-c/download.cgi ).
I think current version of NOX requires Xerces-C++ 3 instead of Xerces-C++ 2.8. And if it's true, then the manual ( http://noxrepo.org/manual/index.html ) needs to be updated. - Namgon On Jul 16, 2010, at 9:57 AM, Waqas Daar wrote: > Yes problem has been resolved. I installed the xerces manually after giving > that path of lib and xerces library during configuration it does not give the > undefined reference error. > > Thanks for your reply. > > Best Regards, > > Waqas Daar > > > On Fri, Jul 16, 2010 at 7:36 AM, DK Moon <dkm...@gmail.com> wrote: > Not sure if you had already resolved the issue. > It seems you installed xerces manually in /usr/local. > So, you may need to specify the path of xerces when running the nox's > configure. > > Output from the NOX's ./configure --help. > --with-xerces=[ARG] use Xerces C++ Parser from given prefix (ARG=path); > check standard prefixes (ARG=yes); disable (ARG=no) > --with-xerces-inc=[DIR] path to Xerces C++ Parser headers > --with-xerces-lib=[ARG] link options for Xerces C++ Parser libraries > > - DK > > > On Mon, Jul 12, 2010 at 9:11 AM, Waqas Daar <waqasd...@gmail.com> wrote: > > Dear All, > > I am still getting this error while installing the NOX. I have checked that > > xerces is installed successfully. You can see the outcome of the previous > > post. Now I have to set the path of the libraries. I found that libraries > > are in that path "/home/xerces-c-3.1.1/src/.libs". so I tried to set the > > path by this command > > export LD_LIBRARY_PATH=/home/xerces-c-3.1.1/src/.libs > > and when I run "make" to install NOX on debian virtual machine. I again get > > this error. > > make[5]: Entering directory `/home/nox/build/src/etc' > > make[5]: Leaving directory `/home/nox/build/src/etc' > > make[4]: Leaving directory `/home/nox/build/src/etc' > > make[4]: Entering directory `/home/nox/build/src' > > /bin/sh ../libtool --tag=CXX --mode=link g++ -fno-omit-frame-pointer -Wall > > -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 > > -R/usr/local/bin -export-dynamic -L/usr/lib > > -lboost_unit_test_framework-gcc42-1_35 -lboost_filesystem-gcc42-1_35 -lssl > > -L/usr/local/lib -Wl,-E -o nox_core components.xsd.o nox.xsd.o nox_main.o > > ./builtin/.libs/libbuiltin.la ./lib/libnoxcore.la > > g++ -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self > > -Wformat-nonliteral -Wformat-security -g -O2 -Wl,-E -o .libs/nox_core > > components.xsd.o nox.xsd.o nox_main.o -Wl,--export-dynamic -L/usr/lib > > -lboost_unit_test_framework-gcc42-1_35 -lboost_filesystem-gcc42-1_35 -lssl > > -L/usr/local/lib ./builtin/.libs/libbuiltin.so ./lib/.libs/libnoxcore.so > > -Wl,--rpath -Wl,/usr/local/bin/builtin -Wl,--rpath -Wl,/usr/local/bin > > components.xsd.o: In function `~XMLAttDefList': > > /usr/local/include/xercesc/framework/XMLAttDefList.hpp:158: undefined > > reference to `xercesc_3_1::XMemory::operator delete(void*)' > > components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for > > xercesc_3_1::XMLAttDefList]+0x10): undefined reference to > > `xercesc_3_1::XMLAttDefList::isSerializable() const' > > components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for > > xercesc_3_1::XMLAttDefList]+0x14): undefined reference to > > `xercesc_3_1::XMLAttDefList::serialize(xercesc_3_1::XSerializeEngine&)' > > components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for > > xercesc_3_1::XMLAttDefList]+0x18): undefined reference to > > `xercesc_3_1::XMLAttDefList::getProtoType() const' > > ./builtin/.libs/libbuiltin.so: undefined reference to > > `xercesc_3_1::XMLPlatformUtils::fgMemoryManager' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgDOMElementContentWhitespace' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLString::transcode(char const*, unsigned short*, unsigned > > int, xercesc_3_1::MemoryManager*)' > > ./lib/.libs/libnoxcore.so: undefined reference to `typeinfo for > > xercesc_3_1::DOMException' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgXercesSchemaFullChecking' > > ./builtin/.libs/libbuiltin.so: undefined reference to > > `xercesc_3_1::XMLString::transcode(char const*, > > xercesc_3_1::MemoryManager*)' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgXercescDefaultLocale' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgXercesUseCachedGrammarInParse' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgDOMErrorHandler' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::Wrapper4InputSource::Wrapper4InputSource(xercesc_3_1::InputSource*, > > bool, xercesc_3_1::MemoryManager*)' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::MemBufInputSource::MemBufInputSource(unsigned char const*, > > unsigned int, char const*, bool, xercesc_3_1::MemoryManager*)' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgXercesUserAdoptsDOMDocument' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgDOMNamespaces' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLString::release(char**, xercesc_3_1::MemoryManager*)' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::Wrapper4InputSource::~Wrapper4InputSource()' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLPlatformUtils::Initialize(char const*, char const*, > > xercesc_3_1::PanicHandler*, xercesc_3_1::MemoryManager*)' > > ./lib/.libs/libnoxcore.so: undefined reference to `typeinfo for > > xercesc_3_1::XMLException' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::DOMImplementationRegistry::getDOMImplementation(unsigned short > > const*)' > > ./builtin/.libs/libbuiltin.so: undefined reference to > > `xercesc_3_1::XMLString::transcode(unsigned short const*, > > xercesc_3_1::MemoryManager*)' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgDOMValidate' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::MemBufInputSource::~MemBufInputSource()' > > ./lib/.libs/libnoxcore.so: undefined reference to > > `xercesc_3_1::XMLUni::fgXercesSchema' > > collect2: ld returned 1 exit status > > make[4]: *** [nox_core] Error 1 > > make[4]: Leaving directory `/home/nox/build/src' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/home/nox/build/src' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/home/nox/build/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/nox/build' > > make: *** [all] Error 2 > > If any one have any idea how to resolve this issue. I am really thankful to > > you. I saw many posts regarding this issue but saw no reply from the group. > > Hope this time I will get solution for this problem. > > Thanks in Advanced. > > > > > > > > Best Regards, > > > > Waqas Daar > > > > > > > > On Mon, Jul 12, 2010 at 5:14 PM, Waqas Daar <waqasd...@gmail.com> wrote: > >> > >> I have installed the 'xerces' and the output of the make install command > >> is as follows. > >> make[1]: Entering directory `/home/xerces-c-3.1.1/tests' > >> make[2]: Entering directory `/home/xerces-c-3.1.1/tests' > >> make[2]: Nothing to be done for `install-exec-am'. > >> make[2]: Nothing to be done for `install-data-am'. > >> make[2]: Leaving directory `/home/xerces-c-3.1.1/tests' > >> make[1]: Leaving directory `/home/xerces-c-3.1.1/tests' > >> Making install in samples > >> make[1]: Entering directory `/home/xerces-c-3.1.1/samples' > >> make[2]: Entering directory `/home/xerces-c-3.1.1/samples' > >> test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" > >> /bin/sh ../libtool --mode=install /usr/bin/install -c > >> CreateDOMDocument DOMCount DOMPrint EnumVal MemParse PParse PSVIWriter > >> Redirect SAX2Count SAX2Print SAXCount SAXPrint SCMPrint SEnumVal StdInParse > >> XInclude '/usr/local/bin' > >> libtool: install: /usr/bin/install -c .libs/CreateDOMDocument > >> /usr/local/bin/CreateDOMDocument > >> libtool: install: /usr/bin/install -c .libs/DOMCount > >> /usr/local/bin/DOMCount > >> libtool: install: /usr/bin/install -c .libs/DOMPrint > >> /usr/local/bin/DOMPrint > >> libtool: install: /usr/bin/install -c .libs/EnumVal /usr/local/bin/EnumVal > >> libtool: install: /usr/bin/install -c .libs/MemParse > >> /usr/local/bin/MemParse > >> libtool: install: /usr/bin/install -c .libs/PParse /usr/local/bin/PParse > >> libtool: install: /usr/bin/install -c .libs/PSVIWriter > >> /usr/local/bin/PSVIWriter > >> libtool: install: /usr/bin/install -c .libs/Redirect > >> /usr/local/bin/Redirect > >> libtool: install: /usr/bin/install -c .libs/SAX2Count > >> /usr/local/bin/SAX2Count > >> libtool: install: /usr/bin/install -c .libs/SAX2Print > >> /usr/local/bin/SAX2Print > >> libtool: install: /usr/bin/install -c .libs/SAXCount > >> /usr/local/bin/SAXCount > >> libtool: install: /usr/bin/install -c .libs/SAXPrint > >> /usr/local/bin/SAXPrint > >> libtool: install: /usr/bin/install -c .libs/SCMPrint > >> /usr/local/bin/SCMPrint > >> libtool: install: /usr/bin/install -c .libs/SEnumVal > >> /usr/local/bin/SEnumVal > >> libtool: install: /usr/bin/install -c .libs/StdInParse > >> /usr/local/bin/StdInParse > >> libtool: install: /usr/bin/install -c .libs/XInclude > >> /usr/local/bin/XInclude > >> make[2]: Nothing to be done for `install-data-am'. > >> make[2]: Leaving directory `/home/xerces-c-3.1.1/samples' > >> make[1]: Leaving directory `/home/xerces-c-3.1.1/samples' > >> make[1]: Entering directory `/home/xerces-c-3.1.1' > >> make[2]: Entering directory `/home/xerces-c-3.1.1' > >> make[2]: Nothing to be done for `install-exec-am'. > >> test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p > >> "/usr/local/lib/pkgconfig" > >> /usr/bin/install -c -m 644 xerces-c.pc '/usr/local/lib/pkgconfig' > >> make[2]: Leaving directory `/home/xerces-c-3.1.1' > >> make[1]: Leaving directory `/home/xerces-c-3.1.1' > >> but I am confused how to set the PATH variable ? > >> > >> Best Regards, > >> > >> Waqas Daar > >> > >> On Mon, Jul 12, 2010 at 5:05 PM, kk yap <yap...@stanford.edu> wrote: > >>> > >>> Hi, > >>> > >>> Check if you have xerces installed correctly. > >>> > >>> Regards > >>> KK > >>> > >>> On 12 July 2010 07:49, Waqas Daar <waqasd...@gmail.com> wrote: > >>> > Hello all > >>> > I am trying to install NOX 0.6. But when I tried to make it it gives me > >>> > this > >>> > error. > >>> > > >>> > mv -f .deps/nox_main.Tpo .deps/nox_main.Po > >>> > /bin/sh ../libtool --tag=CXX --mode=link g++ -fno-omit-frame-pointer > >>> > -Wall > >>> > -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g > >>> > -O2 > >>> > -R/usr/local/bin -export-dynamic -L/usr/lib > >>> > -lboost_unit_test_framework-gcc42-1_35 -lboost_filesystem-gcc42-1_35 > >>> > -lssl > >>> > -L/usr/local/lib -Wl,-E -o nox_core components.xsd.o nox.xsd.o > >>> > nox_main.o > >>> > ./builtin/.libs/libbuiltin.la ./lib/libnoxcore.la > >>> > g++ -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self > >>> > -Wformat-nonliteral -Wformat-security -g -O2 -Wl,-E -o .libs/nox_core > >>> > components.xsd.o nox.xsd.o nox_main.o -Wl,--export-dynamic -L/usr/lib > >>> > -lboost_unit_test_framework-gcc42-1_35 -lboost_filesystem-gcc42-1_35 > >>> > -lssl > >>> > -L/usr/local/lib ./builtin/.libs/libbuiltin.so > >>> > ./lib/.libs/libnoxcore.so > >>> > -Wl,--rpath -Wl,/usr/local/bin/builtin -Wl,--rpath -Wl,/usr/local/bin > >>> > components.xsd.o: In function `~XMLAttDefList': > >>> > /usr/local/include/xercesc/framework/XMLAttDefList.hpp:158: undefined > >>> > reference to `xercesc_3_1::XMemory::operator delete(void*)' > >>> > components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for > >>> > xercesc_3_1::XMLAttDefList]+0x10): undefined reference to > >>> > `xercesc_3_1::XMLAttDefList::isSerializable() const' > >>> > components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for > >>> > xercesc_3_1::XMLAttDefList]+0x14): undefined reference to > >>> > `xercesc_3_1::XMLAttDefList::serialize(xercesc_3_1::XSerializeEngine&)' > >>> > components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for > >>> > xercesc_3_1::XMLAttDefList]+0x18): undefined reference to > >>> > `xercesc_3_1::XMLAttDefList::getProtoType() const' > >>> > ./builtin/.libs/libbuiltin.so: undefined reference to > >>> > `xercesc_3_1::XMLPlatformUtils::fgMemoryManager' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgDOMElementContentWhitespace' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLString::transcode(char const*, unsigned short*, > >>> > unsigned > >>> > int, xercesc_3_1::MemoryManager*)' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to `typeinfo for > >>> > xercesc_3_1::DOMException' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgXercesSchemaFullChecking' > >>> > ./builtin/.libs/libbuiltin.so: undefined reference to > >>> > `xercesc_3_1::XMLString::transcode(char const*, > >>> > xercesc_3_1::MemoryManager*)' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgXercescDefaultLocale' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgXercesUseCachedGrammarInParse' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgDOMErrorHandler' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > > >>> > `xercesc_3_1::Wrapper4InputSource::Wrapper4InputSource(xercesc_3_1::InputSource*, > >>> > bool, xercesc_3_1::MemoryManager*)' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::MemBufInputSource::MemBufInputSource(unsigned char > >>> > const*, > >>> > unsigned int, char const*, bool, xercesc_3_1::MemoryManager*)' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgXercesUserAdoptsDOMDocument' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgDOMNamespaces' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLString::release(char**, xercesc_3_1::MemoryManager*)' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::Wrapper4InputSource::~Wrapper4InputSource()' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLPlatformUtils::Initialize(char const*, char const*, > >>> > xercesc_3_1::PanicHandler*, xercesc_3_1::MemoryManager*)' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to `typeinfo for > >>> > xercesc_3_1::XMLException' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::DOMImplementationRegistry::getDOMImplementation(unsigned > >>> > short > >>> > const*)' > >>> > ./builtin/.libs/libbuiltin.so: undefined reference to > >>> > `xercesc_3_1::XMLString::transcode(unsigned short const*, > >>> > xercesc_3_1::MemoryManager*)' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgDOMValidate' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::MemBufInputSource::~MemBufInputSource()' > >>> > ./lib/.libs/libnoxcore.so: undefined reference to > >>> > `xercesc_3_1::XMLUni::fgXercesSchema' > >>> > collect2: ld returned 1 exit status > >>> > make[4]: *** [nox_core] Error 1 > >>> > make[4]: Leaving directory `/home/nox/build/src' > >>> > make[3]: *** [all-recursive] Error 1 > >>> > make[3]: Leaving directory `/home/nox/build/src' > >>> > make[2]: *** [all] Error 2 > >>> > make[2]: Leaving directory `/home/nox/build/src' > >>> > make[1]: *** [all-recursive] Error 1 > >>> > make[1]: Leaving directory `/home/nox/build' > >>> > make: *** [all] Error 2 > >>> > > >>> > Any idea how to resolve this ? > >>> > > >>> > Best Regards, > >>> > > >>> > Waqas Daar > >>> > > >>> > > >>> > _______________________________________________ > >>> > nox-dev mailing list > >>> > nox-dev@noxrepo.org > >>> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > >>> > > >>> > > >> > > > > > > _______________________________________________ > > nox-dev mailing list > > nox-dev@noxrepo.org > > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > > > > > > <ATT00001..txt>
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org