complie error

Chris Taylor Chris.Taylor at corp.eastlink.ca
Fri Feb 22 18:32:39 UTC 2013



-----Original Message-----
From: Jeremy C. Reed [mailto:jreed at isc.org] 
Sent: Friday, February 22, 2013 12:37 PM
To: Chris Taylor
Subject: RE: complie error

On Fri, 22 Feb 2013, Chris Taylor wrote:

> What version of boost should I use? I have tired 1.52 and 1.50 but I 
> still get errors when doing a "make".

Those are fine. I am using same versions on some systems.

> /usr/bin/ld: 
> /usr/local/lib/python3.1/config/libpython3.1.a(exceptions.o): 
> relocation R_X86_64_32 against `_Py_NoneStruct' can not be used when 
> making a shared object; recompile with -fPIC
> /usr/local/lib/python3.1/config/libpython3.1.a: could not read 
> symbols: Bad value
> 
> Do I need a lower version of Python?

What is the surrounding lines for those problems?

I don't think you need a lower version of Python. But what Python are you using?


This was the last chunk of output.

make[5]: Entering directory `/downloads/bind10-1.0.0/tests/tools/perfdhcp'
  CXX    perfdhcp-main.o
  CXX    perfdhcp-command_options.o
  CXX    perfdhcp-perf_pkt6.o
  CXX    perfdhcp-perf_pkt4.o
  CXX    perfdhcp-pkt_transform.o
  CXX    perfdhcp-test_control.o
test_control.cc: In member function âvoid isc::perfdhcp::TestControl::sendDiscover4(const isc::perfdhcp::TestControl::TestControlSocket&, const std::vector<unsigned char, std::allocator<unsigned char> >&, bool)â:
test_control.cc:1369: error: call of overloaded âsaveFirstPacket(isc::perfdhcp::PerfPkt4Ptr&)â is ambiguous
test_control.cc:1257: note: candidates are: void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt4Ptr&)
test_control.cc:1266: note:                 void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt6Ptr&)
test_control.cc: In member function âvoid isc::perfdhcp::TestControl::sendRequest4(const isc::perfdhcp::TestControl::TestControlSocket&, const std::vector<unsigned char, std::allocator<unsigned char> >&, const isc::dhcp::Pkt4Ptr&, const isc::dhcp::Pkt4Ptr&)â:
test_control.cc:1536: error: call of overloaded âsaveFirstPacket(isc::perfdhcp::PerfPkt4Ptr&)â is ambiguous
test_control.cc:1257: note: candidates are: void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt4Ptr&)
test_control.cc:1266: note:                 void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt6Ptr&)
test_control.cc: In member function âvoid isc::perfdhcp::TestControl::sendRequest6(const isc::perfdhcp::TestControl::TestControlSocket&, const std::vector<unsigned char, std::allocator<unsigned char> >&, const isc::dhcp::Pkt6Ptr&)â:
test_control.cc:1688: error: call of overloaded âsend(isc::perfdhcp::PerfPkt6Ptr&)â is ambiguous
../../../src/lib/dhcp/iface_mgr.h:380: note: candidates are: bool isc::dhcp::IfaceMgr::send(const isc::dhcp::Pkt6Ptr&)
../../../src/lib/dhcp/iface_mgr.h:393: note:                 bool isc::dhcp::IfaceMgr::send(const isc::dhcp::Pkt4Ptr&)
test_control.cc: In member function âvoid isc::perfdhcp::TestControl::sendSolicit6(const isc::perfdhcp::TestControl::TestControlSocket&, const std::vector<unsigned char, std::allocator<unsigned char> >&, bool)â:
test_control.cc:1775: error: call of overloaded âsend(isc::perfdhcp::PerfPkt6Ptr&)â is ambiguous
../../../src/lib/dhcp/iface_mgr.h:380: note: candidates are: bool isc::dhcp::IfaceMgr::send(const isc::dhcp::Pkt6Ptr&)
../../../src/lib/dhcp/iface_mgr.h:393: note:                 bool isc::dhcp::IfaceMgr::send(const isc::dhcp::Pkt4Ptr&)
test_control.cc:1784: error: call of overloaded âsaveFirstPacket(isc::perfdhcp::PerfPkt6Ptr&)â is ambiguous
test_control.cc:1257: note: candidates are: void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt4Ptr&)
test_control.cc:1266: note:                 void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt6Ptr&)
make[5]: *** [perfdhcp-test_control.o] Error 1
make[5]: Leaving directory `/downloads/bind10-1.0.0/tests/tools/perfdhcp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/downloads/bind10-1.0.0/tests/tools/perfdhcp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/downloads/bind10-1.0.0/tests/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/downloads/bind10-1.0.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/bind10-1.0.0'
make: *** [all] Error 2

I have Python 3.2 installed currently I tried 3.1 but that didn't seem to work either.

Chris


More information about the bind10-users mailing list