[meta-virtualization] ERROR while building kvm-minimal-image: xg_main.c:221:52: error: 'ulong' undeclared (first use in this function)

balagopal ambalakkat bambalakkat at gmail.com
Mon Dec 2 16:18:56 PST 2013


Hello

While building kvm-minimal-image . I encountered the following error
(detail below)

xg_main.c: In function '_check_hyp':
| xg_main.c:221:52: error: 'ulong' undeclared (first use in this function)

- fixed by replacing "*ulong"* with "*unsigned long" *to fix the issue in
the specified file in
working /home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/work/x86_64-poky-linux/xen/4.1.2-r1/xen-4.1.2/
directory.

Not sure if this is already fixed.  just sending



*==*
Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "crystalforest-gladden"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.2"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta
meta-yocto        = "dylan:4e399f08d596197859214fdb3b06403b87bf8789"
meta-intel        = "dylan:86525216c6b8bdb850bf01958fe4defae3b42f4a"
meta-oe
meta-networking   = "dylan:44754206632dd5b0725aeb43e99e4ff9e0245dca"
meta-virtualization = "dylan:15a0d3432ea8d4441417b689a58aae8a6a7fb860"
meta-crystalforest-gladden =
"dylan:4e399f08d596197859214fdb3b06403b87bf8789"

### ERROR while building kvm-minimal-image

|
-I/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/sysroots/crystalforest-gladden/include
-D__XEN_TOOLS__ -MMD -MF .subdirs-install.d  -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -Wno-unused-but-set-variable
 -I/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/sysroots/crystalforest-gladden/include
-D__XEN_TOOLS__ -MMD -MF .gdbsx.d  -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -Wno-unused-but-set-variable
 -I/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/sysroots/crystalforest-gladden/include
-D__XEN_TOOLS__ -MMD -MF .all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
 -Wmissing-prototypes  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -Wno-unused-but-set-variable
 -I/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/sysroots/crystalforest-gladden/include
-D__XEN_TOOLS__ -MMD -MF .xg_main.o.d  -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE  -Wmissing-prototypes   -I. -I../../../include  -c -o
xg_main.o xg_main.c
| xg_main.c: In function '_domctl_hcall':
| xg_main.c:181:52: error: 'ulong' undeclared (first use in this function)
| xg_main.c:181:52: note: each undeclared identifier is reported only once
for each function it appears in
| xg_main.c: In function '_check_hyp':
| xg_main.c:221:52: error: 'ulong' undeclared (first use in this function)
| make[4]: *** [xg_main.o] Error 1
| make[4]: Leaving directory
`/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/work/x86_64-poky-linux/xen/4.1.2-r1/xen-4.1.2/tools/debugger/gdbsx/xg'
| make[3]: *** [all] Error 2
| make[3]: Leaving directory
`/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/work/x86_64-poky-linux/xen/4.1.2-r1/xen-4.1.2/tools/debugger/gdbsx'
| make[2]: *** [subdir-install-debugger/gdbsx] Error 2
| make[2]: Leaving directory
`/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/work/x86_64-poky-linux/xen/4.1.2-r1/xen-4.1.2/tools'
| make[1]: *** [subdirs-install] Error 2
| make[1]: Leaving directory
`/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/work/x86_64-poky-linux/xen/4.1.2-r1/xen-4.1.2/tools'
| make: *** [install-tools] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/ambalakkat/projects/yocto/git/poky/opus-build/tmp/work/x86_64-poky-linux/xen/4.1.2-r1/temp/log.do_compile.9770
for further information)
ERROR: Task 1415
(/home/ambalakkat/projects/yocto/git/poky/meta-virtualization/recipes-extended/xen/
xen_4.1.2.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1995 tasks of which 293 didn't need to be
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:

/home/ambalakkat/projects/yocto/git/poky/meta-virtualization/recipes-extended/xen/
xen_4.1.2.bb, do_compile
Summary: There were 10 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


-- 
*Balagopal* *Ambalakkat*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20131202/ad21b2d9/attachment.html>


More information about the meta-virtualization mailing list