Smrutee / libcrafter

Automatically exported from code.google.com/p/libcrafter
0 stars 0 forks source link

Build issue #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The make fails on a recent Fedora:

<snip>
crafter/DNS.cpp:460:47: error: call of overloaded 
‘SetContainerSection(std::vector<Crafter::DNS::DNSAnswer>&, __ns_sect, 
ns_msg*)’ is ambiguous
crafter/DNS.cpp:460:47: note: candidates are:
crafter/DNS.cpp:338:13: note: void 
SetContainerSection(std::vector<Crafter::DNS::DNSAnswer>&, ns_sect, ns_msg*)
crafter/DNS.h:252:15: note: void 
Crafter::SetContainerSection(std::vector<Crafter::DNS::DNSAnswer>&, ns_sect, 
ns_msg*)
crafter/DNS.cpp:461:48: error: call of overloaded 
‘SetContainerSection(std::vector<Crafter::DNS::DNSAnswer>&, __ns_sect, 
ns_msg*)’ is ambiguous
crafter/DNS.cpp:461:48: note: candidates are:
crafter/DNS.cpp:338:13: note: void 
SetContainerSection(std::vector<Crafter::DNS::DNSAnswer>&, ns_sect, ns_msg*)
crafter/DNS.h:252:15: note: void 
Crafter::SetContainerSection(std::vector<Crafter::DNS::DNSAnswer>&, ns_sect, 
ns_msg*)
make[1]: *** [crafter/DNS.lo] Error 1
make[1]: Leaving directory 
`/home/fab/Documents/repos/rpmbuild/SOURCES/crafter-0.1'
make: *** [all] Error 2

Original issue reported on code.google.com by fabian.a...@gmail.com on 14 Apr 2012 at 3:39

GoogleCodeExporter commented 8 years ago
On Alpine Linux it isn't working either.

Original comment by fabian.a...@gmail.com on 14 Apr 2012 at 3:45

GoogleCodeExporter commented 8 years ago
On Ubuntu 11.10, the same happens. Running configure with CXX=g++-4.4 solves it.

$ ./configure CXX=g++-4.4

Original comment by brunon...@brunonery.com on 19 Apr 2012 at 6:22

GoogleCodeExporter commented 8 years ago

Original comment by pellegre...@gmail.com on 22 Apr 2012 at 10:51

GoogleCodeExporter commented 8 years ago
The issue is solved (at least with g++-4.5 on Ubuntu 11.10) on the current tree 
of libcrafter. You should clone the last snapshot and check if the build 
process ends successfully on your system.

Original comment by pellegre...@gmail.com on 23 Apr 2012 at 5:59

GoogleCodeExporter commented 8 years ago
It works for me now (g++ 4.6.1 under Ubuntu 11.10).

Original comment by brunon...@brunonery.com on 23 Apr 2012 at 3:52