Skip to contentSkip to conversation

build regression

Qemu-devel Edgar E. Iglesias 2 participants 3 messages Sep 22, 2009 – Sep 23, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I see this with current trees, seems to be related to the recent loader changes...

Cheers

% make
CC microblaze-softmmu/device_tree.o
cc1: warnings being treated as errors
/home/edgar/src/c/qemu/git/qemu/device_tree.c: In function 'load_device_tree':
/home/edgar/src/c/qemu/git/qemu/device_tree.c:36: error: implicit declaration of function 'get_image_size' /home/edgar/src/c/qemu/git/qemu/device_tree.c:48: error: implicit declaration of function 'load_image' make[1]: *** [device_tree.o] Error 1
make: *** [subdir-microblaze-softmmu] Error 2

#1 lore raw
Quoted 8 lines · Edgar E. Iglesias

Hello,

I see this with current trees, seems to be related to the recent loader changes...

Cheers

Quoted 8 lines

% make
 CC    microblaze-softmmu/device_tree.o
cc1: warnings being treated as errors
/home/edgar/src/c/qemu/git/qemu/device_tree.c: In function 'load_device_tree':
/home/edgar/src/c/qemu/git/qemu/device_tree.c:36: error: implicit declaration of function 'get_image_size' /home/edgar/src/c/qemu/git/qemu/device_tree.c:48: error: implicit declaration of function 'load_image' make[1]: *** [device_tree.o] Error 1
make: *** [subdir-microblaze-softmmu] Error 2

Sorry, I don't have libfdt. Does this patch fix the problem?

From 350c43bd984667eadd01a5170fe4a476b9602cc0 Mon Sep 17 00:00:00 2001
From: Blue Swirl <[email protected]>
Date: Tue, 22 Sep 2009 17:51:36 +0000
Subject: [PATCH] Fix device tree compile broken by ca20cf32ab3d945155141ef737f5d08ebb373e1d

---
 device_tree.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
device_tree.c +1 -0
index cc91606..426a631 100644
@@ -22,6 +22,7 @@
 #include "qemu-common.h"
 #include "sysemu.h"
 #include "device_tree.h"
+#include "hw/loader.h"
 
 #include <libfdt.h>
 
Signature · 1 line
1.5.6.5
#2 lore raw
Quoted 19 lines · Blue Swirl
Quoted 8 lines · Edgar E. Iglesias

Hello,

I see this with current trees, seems to be related to the recent loader changes...

Cheers

Quoted 8 lines

% make
 CC    microblaze-softmmu/device_tree.o
cc1: warnings being treated as errors
/home/edgar/src/c/qemu/git/qemu/device_tree.c: In function 'load_device_tree':
/home/edgar/src/c/qemu/git/qemu/device_tree.c:36: error: implicit declaration of function 'get_image_size' /home/edgar/src/c/qemu/git/qemu/device_tree.c:48: error: implicit declaration of function 'load_image' make[1]: *** [device_tree.o] Error 1
make: *** [subdir-microblaze-softmmu] Error 2

Quoted 1 line

Sorry, I don't have libfdt. Does this patch fix the problem?

Yes, Thanks!

Best regards