build regression
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
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
@@ -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
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