From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzr6r-0002Lt-Ah for qemu-devel@nongnu.org; Tue, 21 Feb 2012 09:54:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rzr6l-0007sZ-O4 for qemu-devel@nongnu.org; Tue, 21 Feb 2012 09:54:29 -0500 Received: from blade3.isti.cnr.it ([194.119.192.19]:1540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzr6l-0007sO-J4 for qemu-devel@nongnu.org; Tue, 21 Feb 2012 09:54:23 -0500 Received: from [192.168.7.52] ([155.253.6.254]) by mx.isti.cnr.it (PMDF V6.5-x6 #31988) with ESMTPSA id <01OC9ACHIXNEJVHM5F@mx.isti.cnr.it> for qemu-devel@nongnu.org; Tue, 21 Feb 2012 15:53:24 +0100 (MET) Date: Tue, 21 Feb 2012 15:53:39 +0100 From: Virtbie Message-id: <4F43AFF3.7030007@shiftmail.org> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 7bit Subject: [Qemu-devel] 2 build issues for qemu v1.0.1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello I am trying to build from source the qemu v1.0.1 (from git) on a Ubuntu mixed system (part is oneiric 11.10, part is precise 12.04) Here are two issues: During build of: hw/9pfs/virtio-9p-handle.c it gave errors saying it couldnt find definition of "AT_EMPTY_PATH". So I added it at the head of the file (copied from my fcntl.h which is apparently NOT imported during this cc): #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ and then it apparently went ahead correctly. Then it gave the following error: ../libhw32/pcspk.o: In function `pcspk_ioport_write': ........../hw/pcspk.c:132: undefined reference to `pit_set_gate' ../libhw32/pcspk.o: In function `pcspk_ioport_read': ........../hw/pcspk.c:121: undefined reference to `pit_get_out' ........../hw/pcspk.c:123: undefined reference to `pit_get_gate' ../libhw32/pcspk.o: In function `pcspk_callback': ........../hw/pcspk.c:75: undefined reference to `pit_get_mode' ........../hw/pcspk.c:78: undefined reference to `pit_get_initial_count' collect2: ld returned 1 exit status make[1]: *** [qemu-system-cris] Error 1 make: *** [subdir-cris-softmmu] Error 2 make: *** Waiting for unfinished jobs.... and for this I didn't want to delve into the issue so I disabled pcspk emulation at configure and rebuilt so to skip this. After this, it built correctly.