All of lore.kernel.org
 help / color / mirror / Atom feed
* missing libfdt header when cross-compiling xen-tools for arm32
@ 2013-12-24  6:46 Jungnam Lee
  2013-12-27  4:54 ` Jungnam Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Jungnam Lee @ 2013-12-24  6:46 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1399 bytes --]

hi all.

http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling
I followed the link above to cross-compile arm32 tools, but met errors below.

...
arm-linux-gnueabihf-gcc  -O1 -fno-omit-frame-pointer -marm -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .libxl_arm.o.d -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror -Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread -I/root/xen.git/tools/libxl/../../tools/libxc -I/root/xen.git/tools/libxl/../../tools/include -I/root/xen.git/tools/libxl/../../tools/libxc -I/root/xen.git/tools/libxl/../../tools/include -I/root/xen.git/tools/libxl/../../tools/xenstore -I/root/xen.git/tools/libxl/../../tools/include -I/root/xen.git/tools/libxl/../../tools/blktap2/control -I/root/xen.git/tools/libxl/../../tools/blktap2/include -I/root/xen.git/tools/libxl/../../tools/include  -Wshadow -include /root/xen.git/tools/libxl/../../tools/config.h  -c -o libxl_arm.o libxl_arm.c 
libxl_arm.c:5:20: fatal error: libfdt.h: No such file or directory
compilation terminated.
...

Should I include xen/include/xen/libfdt/libfdt.h manually? or did I miss something?

Regards,
Jungnam Lee.

[-- Attachment #1.2: Type: text/html, Size: 1866 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: missing libfdt header when cross-compiling xen-tools for arm32
  2013-12-24  6:46 missing libfdt header when cross-compiling xen-tools for arm32 Jungnam Lee
@ 2013-12-27  4:54 ` Jungnam Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Jungnam Lee @ 2013-12-27  4:54 UTC (permalink / raw)
  To: xen-devel


> -----Original Message-----
> From: xen-devel-bounces@lists.xen.org [mailto:xen-devel-bounces@lists.xen.org] On Behalf Of Jungnam Lee
> Sent: Tuesday, December 24, 2013 3:47 PM
> To: xen-devel@lists.xen.org
> Subject: [Xen-devel] missing libfdt header when cross-compiling xen-tools for arm32
>
> hi all.
> 
> http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling
> I followed the link above to cross-compile arm32 tools, but met errors below.
> 
> ...
> libxl_arm.c:5:20: fatal error: libfdt.h: No such file or directory
> compilation terminated.
> ...
> 
> Should I include xen/include/xen/libfdt/libfdt.h manually? or did I miss something?

I thought I don't need libfdt-dev package because it does not have libfdt_env.h
But it was a bug in raring package according to the link below
https://bugs.launchpad.net/ubuntu/+source/device-tree-compiler/+bug/1203916

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-27  4:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-24  6:46 missing libfdt header when cross-compiling xen-tools for arm32 Jungnam Lee
2013-12-27  4:54 ` Jungnam Lee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.