|
From: | Murad Kablan |
Subject: | Re: [Qemu-discuss] Error in compiling migration-checkpoint.o |
Date: | Wed, 7 Jan 2015 20:57:15 -0700 |
Assuming that these provide the appropriate headers, verify that the compiler’s include and library paths are set accordingly:$ VERBOSE=1 make 2>&1 | tee build-errors.txtThe QEMU source file where the compiler fails should have a #include <netlink… directive for picking-up the rtnl_tc_get_ops prototype. The compiler should be passed a -I parameter corresponding to the directory containing the header for that prototype. Running the build as given above will show all flags passed to the compiler. build-errors.txt will have all the output from the build for convenient grepping.DaveOn Jan 4, 2015, at 3:12 PM, Murad Kablan <address@hidden> wrote:Hi Dave,These are all the libnl dev packages I installed and I still have the same error.87 sudo apt-get install libnl-3-20088 sudo apt-get install libnl-3-dev138 sudo apt-get install libnl-utils139 sudo apt-get install libnl-nf-3-dev140 sudo apt-get install libnl-genl-3-dev141 sudo apt-get install libnl-cli-3-dev144 sudo apt-get install libnl-3-200145 sudo apt-get install libnl-3-dev146 sudo apt-get install libnl-cli-3-dev147 sudo apt-get install libnl-cli-3-200148 sudo apt-get install libnl-genl-3-dev149 sudo apt-get install libnl-genl-3-200150 sudo apt-get install libnl-nf-3-200151 sudo apt-get install libnl-nf-3-dev152 sudo apt-get install libnl-route-3-200153 sudo apt-get install libnl-route-3-dev154 sudo apt-get install libnl-doc212 sudo apt-get install libnl-cli-3-dev213 sudo apt-get install libnl-route-3-devAm I missing something else?
MuradOn Sun, Jan 4, 2015 at 7:05 AM, Dave Gosselin <address@hidden> wrote:A quick search of ‘rtnl_tc_get_ops’ on the Google machine revealed that it’s part of libnl (netlink protocol ibrary suite). Please check and ensure that you have libnl devel package installed on your system.DaveOn Jan 3, 2015, at 11:52 PM, Murad Kablan <address@hidden> wrote:Hi,I am new to QEMU and want to use its fault tolerance feature by "Michael Hines" described in this pageI followed these stepsand installed the required libraries, but when I run the 'make' command I get the following error:CC migration-checkpoint.omigration-checkpoint.c: In function ‘mc_enable_buffering’:migration-checkpoint.c:482:5: error: implicit declaration of function ‘rtnl_tc_get_ops’ [-Werror=implicit-function-declaration]if (!(ops = rtnl_tc_get_ops(tc))) {^migration-checkpoint.c:482:5: error: nested extern declaration of ‘rtnl_tc_get_ops’ [-Werror=nested-externs]migration-checkpoint.c:482:15: error: assignment makes pointer from integer without a cast [-Werror]if (!(ops = rtnl_tc_get_ops(tc))) {^cc1: all warnings being treated as errorsmake: *** [migration-checkpoint.o] Error 1Is this due to compiler version? Please advise.Thanks,Murad
[Prev in Thread] | Current Thread | [Next in Thread] |