[ovs-discuss] [ NOX installation problem ]

Waqas Daar waqasdaar at gmail.com
Mon Jul 12 16:27:11 UTC 2010


Dear all,

I know this mailing list is not for the NOX, sorry for this inconvenience.
But I am facing this error when I tried to installed NOX. I am getting
'undefined refrence' error.

I have installed the 'xerces' and the output of the make install command is
as follows, which shows every thing has been installed successfully.

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'

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


Can you please help me to resolve this issue.

Thanks in Advanced.


Best Regards,

Waqas Daar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100712/9d89d2e4/attachment-0001.html>


More information about the discuss mailing list