From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCvRr-0001Vz-Kg for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:19:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCvRk-0000Dh-7p for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:19:15 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:24800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCvRk-0000Cs-1F for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:19:08 -0500 Message-ID: <52F917FB.40101@inria.fr> Date: Mon, 10 Feb 2014 19:18:35 +0100 From: Vincent KHERBACHE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] qmp_* functions into 'kvm-all.c' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all, I just created a new QMP command following the 'writing-qmp-commands.txt' howto. It's works well by adding the corresponding function into 'qmp.c', but when I want to insert the function in 'kvm-all.c' (which is my goal) I get an 'undefined reference' error to the function from 'qmp-marchal.c' during the compilation. I already included "qmp-commands.h" in 'kvm-all.c' preprocessor but it didn't solve the problem. Does someone know how to fix it (or why it happens) ? Thanks. Regards, -- Vincent KHERBACHE PhD Student at INRIA Sophia (FRANCE)