compiling libfwbuilder-3.0.1

Jon Ringle
2008-11-09
2013-03-05
  • Jon Ringle

    Jon Ringle - 2008-11-09

    I am trying to build libfwbuilder-3.0.1 on Ubuntu-8.04. I didn't get any errors with ./autogen.sh, but I am getting the following errors with 'make all':

    ringlej@crossdev804:~/src/libfwbuilder-3.0.1$ make all 2>&1|tee build.log
    cd etc/ && make -f Makefile all
    make[1]: Entering directory `/home/ringlej/src/libfwbuilder-3.0.1/etc'
    rm -f libetc.so.1.0.0 libetc.so libetc.so.1 libetc.so.1.0
    -Wl,--no-undefined -shared -Wl,-soname,libetc.so.1 -o libetc.so.1.0.0 -pthread -lxml2 -L/usr/lib -lxslt
    ln -s libetc.so.1.0.0 libetc.so
    ln -s libetc.so.1.0.0 libetc.so.1
    ln -s libetc.so.1.0.0 libetc.so.1.0
    make[1]: Leaving directory `/home/ringlej/src/libfwbuilder-3.0.1/etc'
    cd doc/ && make -f Makefile all
    make[1]: Entering directory `/home/ringlej/src/libfwbuilder-3.0.1/doc'
    rm -f libdoc.so.1.0.0 libdoc.so libdoc.so.1 libdoc.so.1.0
    echo -Wl,--no-undefined -shared -Wl,-soname,libdoc.so.1 -o libdoc.so.1.0.0     -pthread -lxml2 -L/usr/lib -lxslt
    -Wl,--no-undefined -shared -Wl,-soname,libdoc.so.1 -o libdoc.so.1.0.0 -pthread -lxml2 -L/usr/lib -lxslt
    ln -s libdoc.so.1.0.0 libdoc.so
    ln -s libdoc.so.1.0.0 libdoc.so.1
    ln -s libdoc.so.1.0.0 libdoc.so.1.0
    make[1]: Leaving directory `/home/ringlej/src/libfwbuilder-3.0.1/doc'
    cd migration/ && make -f Makefile all
    make[1]: Entering directory `/home/ringlej/src/libfwbuilder-3.0.1/migration'
    rm -f libmigration.so.1.0.0 libmigration.so libmigration.so.1 libmigration.so.1.0
    -Wl,--no-undefined -shared -Wl,-soname,libmigration.so.1 -o libmigration.so.1.0.0 -pthread -lxml2 -L/usr/lib -lxslt
    ln -s libmigration.so.1.0.0 libmigration.so
    ln -s libmigration.so.1.0.0 libmigration.so.1
    ln -s libmigration.so.1.0.0 libmigration.so.1.0
    make[1]: Leaving directory `/home/ringlej/src/libfwbuilder-3.0.1/migration'
    cd src/ && make -f Makefile all
    make[1]: Entering directory `/home/ringlej/src/libfwbuilder-3.0.1/src'
    cd confscript/ && make -f Makefile all
    make[2]: Entering directory `/home/ringlej/src/libfwbuilder-3.0.1/src/confscript'
    rm -f libconfscript.so.1.0.0 libconfscript.so libconfscript.so.1 libconfscript.so.1.0
    -Wl,--no-undefined -shared -Wl,-soname,libconfscript.so.1 -o libconfscript.so.1.0.0 -pthread -lxml2 -L/usr/lib -lxslt
    ln -s libconfscript.so.1.0.0 libconfscript.so
    ln -s libconfscript.so.1.0.0 libconfscript.so.1
    ln -s libconfscript.so.1.0.0 libconfscript.so.1.0
    make[2]: Leaving directory `/home/ringlej/src/libfwbuilder-3.0.1/src/confscript'
    cd fwbuilder/ && make -f Makefile all
    make[2]: Entering directory `/home/ringlej/src/libfwbuilder-3.0.1/src/fwbuilder'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/ringlej/src/libfwbuilder-3.0.1/src/fwbuilder'
    cd fwcompiler/ && make -f Makefile all
    make[2]: Entering directory `/home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler'
    rm -f libfwcompiler.so.8.1.0 libfwcompiler.so libfwcompiler.so.8 libfwcompiler.so.8.1
    g++ -Wl,--no-undefined -shared -Wl,-soname,libfwcompiler.so.8 -o libfwcompiler.so.8.1.0 .obj/Compiler.o .obj/Compiler_helpers.o .obj/Compiler_ops.o .obj/Preprocessor.o .obj/NATCompiler.o .obj/OSConfigurator.o .obj/PolicyCompiler.o .obj/RoutingCompiler.o    -pthread -lxml2 -L/usr/lib -lxslt -L../fwbuilder -lfwbuilder
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstTSrv(libfwbuilder::NATRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1555: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstOSrc(libfwbuilder::NATRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1498: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstItf(libfwbuilder::PolicyRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1486: undefined reference to `libfwbuilder::PolicyRule::getItf()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstWhen(libfwbuilder::PolicyRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1474: undefined reference to `libfwbuilder::PolicyRule::getWhen()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstSrv(libfwbuilder::PolicyRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1463: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstDst(libfwbuilder::PolicyRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1452: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstSrc(libfwbuilder::PolicyRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1441: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstTDst(libfwbuilder::NATRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1544: undefined reference to `libfwbuilder::NATRule::getTDst()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstTSrc(libfwbuilder::NATRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1533: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstOSrv(libfwbuilder::NATRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1520: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::getFirstODst(libfwbuilder::NATRule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1509: undefined reference to `libfwbuilder::NATRule::getODst()'
    .obj/Compiler.o: In function `operator==':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    .obj/Compiler.o: In function `fwcompiler::Compiler::_complexMatchWithAddress(libfwbuilder::InetAddr const*, libfwbuilder::Interface*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:599: undefined reference to `libfwbuilder::InetAddrMask::InetAddrMask(libfwbuilder::InetAddr const&, libfwbuilder::InetAddr const&)'
    .obj/Compiler.o: In function `operator==':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    .obj/Compiler.o: In function `fwcompiler::Compiler::_complexMatchWithAddress(libfwbuilder::InetAddr const*, libfwbuilder::Interface*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:610: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:610: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:610: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    .obj/Compiler.o: In function `fwcompiler::Compiler::_complexMatchWithInterface(libfwbuilder::Address*, libfwbuilder::Interface*, bool)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:632: undefined reference to `libfwbuilder::IPv6::TYPENAME'
    .obj/Compiler.o: In function `operator==':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    .obj/Compiler.o: In function `fwcompiler::Compiler::checkIfAddressesMatch(libfwbuilder::Address const*, libfwbuilder::Address const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:827: undefined reference to `libfwbuilder::Address::belongs(libfwbuilder::InetAddr const&) const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:831: undefined reference to `libfwbuilder::Address::belongs(libfwbuilder::InetAddr const&) const'
    .obj/Compiler.o: In function `libfwbuilder::NetworkIPv6::constcast(libfwbuilder::FWObject const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/NetworkIPv6.h:53: undefined reference to `typeinfo for libfwbuilder::NetworkIPv6'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/NetworkIPv6.h:53: undefined reference to `typeinfo for libfwbuilder::NetworkIPv6'
    .obj/Compiler.o: In function `fwcompiler::Compiler::findAddressFor(libfwbuilder::Address const*, libfwbuilder::Address const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:810: undefined reference to `libfwbuilder::IPv6::TYPENAME'
    .obj/Compiler.o: In function `fwcompiler::Compiler::findInterfaceFor(libfwbuilder::Address const*, libfwbuilder::Address const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:773: undefined reference to `libfwbuilder::IPv6::TYPENAME'
    .obj/Compiler.o: In function `libfwbuilder::AddressRange::cast(libfwbuilder::FWObject*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/AddressRange.h:72: undefined reference to `libfwbuilder::InetAddr::InetAddr(libfwbuilder::InetAddr const&)'
    .obj/Compiler.o: In function `libfwbuilder::AddressRange::cast(libfwbuilder::FWObject*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:550: undefined reference to `libfwbuilder::InetAddr::InetAddr(libfwbuilder::InetAddr const&)'
    .obj/Compiler.o: In function `fwcompiler::Compiler::_expandAddressRanges(libfwbuilder::Rule*, libfwbuilder::FWObject*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:550: undefined reference to `libfwbuilder::convertAddressRange(libfwbuilder::InetAddr const&, libfwbuilder::InetAddr const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:556: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    .obj/Compiler.o: In function `fwcompiler::Compiler::swapMultiAddressObjectsInRE::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1297: undefined reference to `libfwbuilder::FWObjectDatabase::getStringId(int)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1298: undefined reference to `libfwbuilder::FWObjectDatabase::registerStringId(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1300: undefined reference to `libfwbuilder::FWObjectDatabase::findInIndex(int)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1311: undefined reference to `libfwbuilder::FWObject::setId(int)'
    .obj/Compiler.o: In function `libfwbuilder::ICMP6Service::isA(libfwbuilder::FWObject const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/ICMP6Service.h:47: undefined reference to `libfwbuilder::ICMP6Service::TYPENAME'
    .obj/Compiler.o: In function `fwcompiler::Compiler::Begin::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:915: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    .obj/Compiler.o: In function `libfwbuilder::NetworkIPv6::isA(libfwbuilder::FWObject const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/NetworkIPv6.h:53: undefined reference to `libfwbuilder::NetworkIPv6::TYPENAME'
    .obj/Compiler.o: In function `fwcompiler::Compiler::complexMatch(libfwbuilder::Address*, libfwbuilder::Address*, bool, bool)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:678: undefined reference to `libfwbuilder::FWObjectDatabase::getStringId(int)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:712: undefined reference to `libfwbuilder::IPv6::TYPENAME'
    .obj/Compiler.o: In function `fwcompiler::Compiler::splitIfRuleElementMatchesFW::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1040: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    .obj/Compiler.o: In function `fwcompiler::Compiler::catchUnnumberedIfaceInRE(libfwbuilder::RuleElement*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler.cpp:1428: undefined reference to `libfwbuilder::FWObjectDatabase::getStringId(int)'
    .obj/Compiler.o: In function `operator==':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    .obj/Compiler_ops.o: In function `operator<':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:295: undefined reference to `libfwbuilder::InetAddr::opLT(libfwbuilder::InetAddr const&) const'
    .obj/Compiler_ops.o: In function `operator==':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    .obj/Compiler_ops.o: In function `operator<':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:295: undefined reference to `libfwbuilder::InetAddr::opLT(libfwbuilder::InetAddr const&) const'
    .obj/Compiler_ops.o: In function `operator==':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    .obj/Compiler_ops.o: In function `libfwbuilder::InetAddr::getAllOnes(int)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:138: undefined reference to `libfwbuilder::InetAddr::InetAddr(in_addr const*)'
    .obj/Compiler_ops.o: In function `fwcompiler::_find_obj_intersection(libfwbuilder::Address*, libfwbuilder::Address*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:73: undefined reference to `libfwbuilder::InetAddrMask::InetAddrMask(libfwbuilder::InetAddr const&, libfwbuilder::InetAddr const&)'
    .obj/Compiler_ops.o: In function `libfwbuilder::InetAddr::getAllOnes(int)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:138: undefined reference to `libfwbuilder::InetAddr::InetAddr(in_addr const*)'
    .obj/Compiler_ops.o: In function `fwcompiler::_find_obj_intersection(libfwbuilder::Address*, libfwbuilder::Address*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:75: undefined reference to `libfwbuilder::InetAddrMask::InetAddrMask(libfwbuilder::InetAddr const&, libfwbuilder::InetAddr const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:77: undefined reference to `libfwbuilder::getOverlap(libfwbuilder::InetAddrMask const&, libfwbuilder::InetAddrMask const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:93: undefined reference to `libfwbuilder::InetAddr::toString() const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:86: undefined reference to `libfwbuilder::InetAddr::toString() const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:99: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:99: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:73: undefined reference to `libfwbuilder::InetAddr::InetAddr(libfwbuilder::InetAddr const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:75: undefined reference to `libfwbuilder::InetAddr::InetAddr(libfwbuilder::InetAddr const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:99: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:99: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    .obj/Compiler_ops.o: In function `libfwbuilder::TCPUDPService::cast(libfwbuilder::FWObject*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/TCPUDPService.h:60: undefined reference to `typeinfo for libfwbuilder::TCPUDPService'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/TCPUDPService.h:60: undefined reference to `typeinfo for libfwbuilder::TCPUDPService'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/TCPUDPService.h:60: undefined reference to `typeinfo for libfwbuilder::TCPUDPService'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/TCPUDPService.h:60: undefined reference to `typeinfo for libfwbuilder::TCPUDPService'
    .obj/Compiler_ops.o: In function `fwcompiler::Compiler::getIntersection(libfwbuilder::PolicyRule&, libfwbuilder::PolicyRule&, libfwbuilder::PolicyRule&)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:593: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:596: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:599: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/Compiler_ops.o: In function `operator==':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:307: undefined reference to `libfwbuilder::InetAddr::opEQ(libfwbuilder::InetAddr const&) const'
    .obj/Compiler_ops.o: In function `fwcompiler::checkForShadowing(libfwbuilder::Service const&, libfwbuilder::Service const&)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:218: undefined reference to `libfwbuilder::IPService::getTOSCode() const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:218: undefined reference to `libfwbuilder::IPService::getTOSCode() const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:218: undefined reference to `libfwbuilder::IPService::getDSCPCode() const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:218: undefined reference to `libfwbuilder::IPService::getDSCPCode() const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:260: undefined reference to `libfwbuilder::TagService::getCode() const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/Compiler_ops.cpp:261: undefined reference to `libfwbuilder::TagService::getCode() const'
    .obj/Compiler_ops.o: In function `libfwbuilder::UserService::constcast(libfwbuilder::FWObject const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/UserService.h:58: undefined reference to `typeinfo for libfwbuilder::UserService'
    .obj/Compiler_ops.o: In function `operator<':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/InetAddr.h:295: undefined reference to `libfwbuilder::InetAddr::opLT(libfwbuilder::InetAddr const&) const'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ExpandMultipleAddresses::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:241: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:242: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:246: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:247: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:248: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:249: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:253: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:254: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:255: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:256: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:260: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:261: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:262: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::DropRulesByAddressFamilyAndServiceType::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:685: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:686: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:687: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:689: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:690: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:691: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::dropRuleWithEmptyRE::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:709: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:710: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:711: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:712: undefined reference to `libfwbuilder::NATRule::getTDst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::MACFiltering::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:602: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:603: undefined reference to `libfwbuilder::NATRule::getODst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ConvertToAtomic::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:515: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:516: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:517: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:519: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:520: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:521: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:536: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:542: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:546: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:550: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:555: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:559: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:563: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ConvertToAtomicForTSrv::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:487: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:492: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:498: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ConvertToAtomicForTDst::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:461: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:466: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:472: undefined reference to `libfwbuilder::NATRule::getTDst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ConvertToAtomicForTSrc::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:435: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:440: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:446: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ConvertToAtomicForAddresses::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:376: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:377: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:378: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:380: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:381: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:382: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:393: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:399: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:403: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:410: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:414: undefined reference to `libfwbuilder::NATRule::getTDst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ConvertToAtomicForOriginal::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:333: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:334: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:335: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:344: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:350: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:354: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:358: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::classifyNATRule::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:149: undefined reference to `libfwbuilder::NATRule::getTDst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::checkForUnnumbered::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:317: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:317: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:317: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:317: undefined reference to `libfwbuilder::NATRule::getTDst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ExpandGroups::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:296: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:297: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:298: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:299: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:300: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:301: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::ExpandAddressRanges::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:275: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:277: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:279: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:281: undefined reference to `libfwbuilder::NATRule::getTDst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::debugPrintRule(libfwbuilder::Rule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:730: undefined reference to `libfwbuilder::NATRule::getOSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:731: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:732: undefined reference to `libfwbuilder::NATRule::getOSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:734: undefined reference to `libfwbuilder::NATRule::getTSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:735: undefined reference to `libfwbuilder::NATRule::getTDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:736: undefined reference to `libfwbuilder::NATRule::getTSrv()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::splitODstForSNAT::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:643: undefined reference to `libfwbuilder::NATRule::getODst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:663: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:666: undefined reference to `libfwbuilder::NATRule::getODst()'
    .obj/NATCompiler.o: In function `fwcompiler::NATCompiler::prolog()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/NATCompiler.cpp:96: undefined reference to `libfwbuilder::FWObjectDatabase::getStringId(int)'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::prolog()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:94: undefined reference to `libfwbuilder::PolicyRule::getItf()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:115: undefined reference to `libfwbuilder::FWObjectDatabase::getStringId(int)'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::DropRulesByAddressFamilyAndServiceType::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1084: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1085: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1086: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::CheckForUnsupportedUserService::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1059: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `libfwbuilder::UserService::isA(libfwbuilder::FWObject const*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/../fwbuilder/UserService.h:58: undefined reference to `libfwbuilder::UserService::TYPENAME'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::dropRuleWithEmptyRE::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1124: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1125: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ExpandMultipleAddressesInDST::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:389: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ExpandMultipleAddressesInSRC::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:380: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ExpandGroups::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:365: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:366: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:367: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::separateTCPWithFlags::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:563: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:586: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:589: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::splitServices::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:511: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:539: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:542: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::addressRanges::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:409: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:410: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ExpandMultipleAddresses::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:398: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:399: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::CheckForTCPEstablished::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1037: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::MACFiltering::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1001: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1002: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ConvertToAtomic::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:822: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:823: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:824: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:833: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:838: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:842: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:846: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ConvertToAtomicForIntervals::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:793: undefined reference to `libfwbuilder::PolicyRule::getWhen()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:803: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:809: undefined reference to `libfwbuilder::PolicyRule::getWhen()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ConvertToAtomicForAddresses::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:763: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:764: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:770: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:775: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:779: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::checkForUnnumbered::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:750: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:750: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::verifyCustomServices::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:611: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::checkForShadowing(libfwbuilder::PolicyRule&, libfwbuilder::PolicyRule&)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:132: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:133: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:134: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:135: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:136: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:137: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::InterfacePolicyRules::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:310: undefined reference to `libfwbuilder::PolicyRule::getItf()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:338: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:348: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::cmpRules(libfwbuilder::PolicyRule&, libfwbuilder::PolicyRule&)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:238: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:238: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:239: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:239: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:240: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:240: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:241: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:241: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:242: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:242: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:243: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:243: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::checkForZeroAddr::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:707: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:716: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:708: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:717: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::ItfNegation::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:279: undefined reference to `libfwbuilder::PolicyRule::getItf()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:284: undefined reference to `libfwbuilder::FWObjectDatabase::getStringId(int)'
    .obj/PolicyCompiler.o: In function `fwcompiler::PolicyCompiler::debugPrintRule(libfwbuilder::Rule*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1141: undefined reference to `libfwbuilder::PolicyRule::getSrc()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1142: undefined reference to `libfwbuilder::PolicyRule::getDst()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/PolicyCompiler.cpp:1143: undefined reference to `libfwbuilder::PolicyRule::getSrv()'
    .obj/RoutingCompiler.o: In function `fwcompiler::RoutingCompiler::ConvertToAtomicForDST::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:188: undefined reference to `libfwbuilder::FWObjectDatabase::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
    .obj/RoutingCompiler.o: In function `fwcompiler::RoutingCompiler::createSortedDstIdsLabel::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:730: undefined reference to `libfwbuilder::FWObjectDatabase::getStringId(int)'
    .obj/RoutingCompiler.o: In function `fwcompiler::RoutingCompiler::contradictionRGtwAndRItf::processNext()':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:477: undefined reference to `libfwbuilder::Address::belongs(libfwbuilder::InetAddr const&) const'
    .obj/RoutingCompiler.o: In function `fwcompiler::RoutingCompiler::reachableAddressInRGtw::checkReachableIPAddress(libfwbuilder::FWObject*)':
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:345: undefined reference to `libfwbuilder::InetAddrMask::InetAddrMask(libfwbuilder::InetAddr const&, libfwbuilder::InetAddr const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:346: undefined reference to `libfwbuilder::InetAddrMask::belongs(libfwbuilder::InetAddr const&) const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:347: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:401: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:347: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:373: undefined reference to `libfwbuilder::InetAddrMask::InetAddrMask(libfwbuilder::InetAddr const&, libfwbuilder::InetAddr const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:374: undefined reference to `libfwbuilder::InetAddrMask::belongs(libfwbuilder::InetAddr const&) const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:375: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:375: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:399: undefined reference to `libfwbuilder::InetAddrMask::InetAddrMask(libfwbuilder::InetAddr const&, libfwbuilder::InetAddr const&)'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:400: undefined reference to `libfwbuilder::InetAddrMask::belongs(libfwbuilder::InetAddr const&) const'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:401: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:401: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    /home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler/RoutingCompiler.cpp:375: undefined reference to `libfwbuilder::InetAddrMask::~InetAddrMask()'
    collect2: ld returned 1 exit status
    make[2]: *** [libfwcompiler.so.8.1.0] Error 1
    make[2]: Leaving directory `/home/ringlej/src/libfwbuilder-3.0.1/src/fwcompiler'
    make[1]: *** [sub-fwcompiler-all-ordered] Error 2
    make[1]: Leaving directory `/home/ringlej/src/libfwbuilder-3.0.1/src'
    make: *** [sub-src-all] Error 2

     
    • Vadim Kurland

      Vadim Kurland - 2008-11-09

      v3.0.1 compiles on Hardy, I generate packages on it. Try the usual, such as "make clean", check if you have older version of libfwbuilder somewhere on the system, check if the source tar.gz you've got is not damaged and may be download and unpack it again.

       
    • Jon Ringle

      Jon Ringle - 2008-11-09

      Thanks. I did have an older version of libfwbuilder-dev package installed on the system. After removing it, it built fine.

      Jon

       
    • Derek A

      Derek A - 2008-11-19

      On a fresh 8.10 setup I get this on autogen

      Found GNU Make at /usr/bin/make ... good.
      This script runs configure ...
      You did remember necessary arguments for configure, right?
      libtoolize: putting auxiliary files in `.'.
      libtoolize: copying file `./ltmain.sh'
      libtoolize: You should add the contents of the following files to `aclocal.m4':
      libtoolize:   `/usr/share/aclocal/libtool.m4'
      libtoolize:   `/usr/share/aclocal/ltoptions.m4'
      libtoolize:   `/usr/share/aclocal/ltversion.m4'
      libtoolize:   `/usr/share/aclocal/ltsugar.m4'
      libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
      libtoolize: Remember to add `LT_INIT' to configure.in.
      libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
      libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
      libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
      configure: error: cannot run /bin/sh ./config.sub

      I had everything running before I did a reload of Ubuntu 8.10 ..  What am I missing?

      Derek

       
      • Vadim Kurland

        Vadim Kurland - 2008-11-19

        I do not have 8.10 system to test on right now. Please try the following:

        autogen.sh script has the following lines:

        which libtoolize >/dev/null 2>&1 && libtoolize --force --copy
        which acinclude >/dev/null 2>&1 && acinclude
        which aclocal >/dev/null 2>&1 && aclocal

        try to comment out the first two, that is, make it only run aclocal. See if this helps and let me know.

        If this works, you'll need to do the same in autogen.sh script in fwbuilder.

         
    • Derek A

      Derek A - 2008-11-19

      After commenting out those two lines I get

      Found GNU Make at /usr/bin/make ... good.
      This script runs configure ...
      You did remember necessary arguments for configure, right?
      configure: error: cannot run /bin/sh ./config.sub

      If I do ./configure I get:

      configure: error: cannot run /bin/sh ./config.sub

      Derek

       
      • Vadim Kurland

        Vadim Kurland - 2008-11-19

        please try to run command

        /bin/sh ./config.sub sun4

        and see what output you get

         
    • Derek A

      Derek A - 2008-11-19

      ~/Desktop/libfwbuilder-3.0.1$ /bin/sh ./config.sub sun4
      /bin/sh: ./config.sub: No such file or directory

       
      • Vadim Kurland

        Vadim Kurland - 2008-11-19

        this means your installation is probably incomplete, file config.sub is part of the source tree and should be there. Try to download tar.gz archives again and unpack them carefully, then check if the file is there.

         
    • Derek A

      Derek A - 2008-11-19

      The config.sub file gets deleted by autogen.   When I know the file is there, and I do the above command I get this:

      /bin/sh ./config.sub sun4
      sparc-sun-sunos4.1.1

      What does that mean?   I am using Ubuntu 8.10 amd64.

       
      • Vadim Kurland

        Vadim Kurland - 2008-11-19

        where in autogen this file is deleted ? This does not happen on my systems.

         
    • Jeffrey

      Jeffrey - 2008-11-22

      I don't have a amd64 machine to test this on, but it compiles fine on Ubuntu 8.10 i386.

      I just did a fresh install into a vmware vm from the 8.10 desktop iso:
      installed the following extra packages:
      build-essential
      libqt4-dev
      checkinstall
      libxml2-dev
      libxslt1-dev

      Then I unpacked the libfwbuilder source tarball and ran the following commands in that directory:
      ./configure
      make
      sudo checkinstall

      Then I unpacked fwbuilder source tarball and ran the following commands in that directory:
      ./configure
      make
      sudo checkinstall
      (NB: You may need to mkdir some directories manually)

      Then I ran:
      sudo ldconfig

      fwbuilder runs without issue.

      Maybe it is an amd64 issue only?

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks