All of lore.kernel.org
 help / color / mirror / Atom feed
* Help needed- error locating kernel headers
@ 2013-06-27 13:28 Hingolikar, Mrinmayee
  2013-06-27 13:38 ` Cooper Jr., Franklin
  2013-06-27 14:33 ` Denys Dmytriyenko
  0 siblings, 2 replies; 3+ messages in thread
From: Hingolikar, Mrinmayee @ 2013-06-27 13:28 UTC (permalink / raw)
  To: meta-arago@arago-project.org


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

Hi all,

I am trying to create a recipe for a firmware that includes some of the kernel header files.
I have these headers present in the sysroots directory, but still the build fails saying unable to locate these header files.

In the asocfw.inc file I have :
EXTRA_OECONF += "$(STAGING_KERNEL_DIR)"

Any suggestions? I have attached the error log for more details.

Regards,
Mrinmayee


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

[-- Attachment #2: do_compile.log --]
[-- Type: application/octet-stream, Size: 5363 bytes --]

DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 8
Making all in src
make[1]: Entering directory `/proj/productization/workdir/mrinmayee/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/asocfw-git-r0/git/src'
../arm-oe-linux-gnueabi-libtool --tag=CC   --mode=compile arm-linux-gnueabihf-gcc  -march=armv7-a    -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 --sysroot=/proj/productization/workdir/mrinmayee/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/omap5-evm -std=gnu99 -DPACKAGE_NAME=\"socfw\" -DPACKAGE_TARNAME=\"socfw\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"socfw\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"socfw\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -I.   -isystem/proj/productization/workdir/sid/yocto/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include  -fstack-protector -D_FORTIFY_SOURCE=1 -I../src -Wall -Werror -D __EXPORTED_HEADERS__ -I ~/source/linux.git/include/uapi -I ~/source/linux.git/include -isystem/proj/productization/workdir/sid/yocto/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include  -fstack-protector -D_FORTIFY_SOURCE=1 -O2 -pipe -g -feliminate-unused-debug-types -c -o lib.lo lib.c
arm-linux-gnueabihf-gcc  -march=armv7-a    -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 --sysroot=/proj/productization/workdir/mrinmayee/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/omap5-evm -std=gnu99 -DPACKAGE_NAME=\"socfw\" -DPACKAGE_TARNAME=\"socfw\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"socfw\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"socfw\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -I.   -isystem/proj/productization/workdir/sid/yocto/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include  -fstack-protector -D_FORTIFY_SOURCE=1 -I../src -Wall -Werror -D __EXPORTED_HEADERS__ -I ~/source/linux.git/include/uapi -I ~/source/linux.git/include -isystem/proj/productization/workdir/sid/yocto/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include  -fstack-protector -D_FORTIFY_SOURCE=1 -O2 -pipe -g -feliminate-unused-debug-types -c -o socfw-socfw.o `test -f 'socfw.c' || echo './'`socfw.c
arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 --sysroot=/proj/productization/workdir/mrinmayee/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/omap5-evm -std=gnu99 -DPACKAGE_NAME=\"socfw\" -DPACKAGE_TARNAME=\"socfw\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"socfw 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"socfw\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -I. -isystem/proj/productization/workdir/sid/yocto/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include -fstack-protector -D_FORTIFY_SOURCE=1 -I../src -Wall -Werror -D __EXPORTED_HEADERS__ -I /user/a0132163/source/linux.git/include/uapi -I /user/a0132163/source/linux.git/include -isystem/proj/productization/workdir/sid/yocto/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include -fstack-protector -D_FORTIFY_SOURCE=1 -O2 -pipe -g -feliminate-unused-debug-types -c lib.c  -fPIC -DPIC -o .libs/lib.o
In file included from socfw.c:32:0:
socfw.h:22:24: fatal error: sound/asoc.h: No such file or directory
compilation terminated.
make[1]: *** [socfw-socfw.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from lib.c:33:0:
socfw.h:22:24: fatal error: sound/asoc.h: No such file or directory
compilation terminated.
make[1]: *** [lib.lo] Error 1
make[1]: Leaving directory `/proj/productization/workdir/mrinmayee/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/asocfw-git-r0/git/src'
make: *** [all-recursive] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see /proj/productization/workdir/mrinmayee/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/asocfw-git-r0/temp/log.do_compile.31224 for further information)

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

end of thread, other threads:[~2013-06-27 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 13:28 Help needed- error locating kernel headers Hingolikar, Mrinmayee
2013-06-27 13:38 ` Cooper Jr., Franklin
2013-06-27 14:33 ` Denys Dmytriyenko

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.