Hi,

I'm using latest Yocto 2.4 (rocko) and latest meta-freescale with i.MX6Q custom 
target. I'm trying to build debugfs for my Yocto image so I can debug it better 
and have these options in local.conf to make it happen:

DEBUG_BUILD = "1"
IMAGE_GEN_DEBUGFS = "1"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-file-directory"

After those changes the Weston fails to compile.

This is the error:

| configure: error: in 
`/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/weston/2.0.0-r0.13/build':
| configure: error: C compiler cannot create executables

from config.log I can see this

--
configure:3209: arm-poky-linux-gnueabi-gcc  -march=armv7-a -marm -mfpu=neon 
-mfloat-abi=hard -mcpu=cortex-a9 
--sysroot=/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/sysroots/vs 
 -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types 
-fdebug-prefix-map=/
home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/weston/2.0.0-r0.13=/usr/src/debug/weston/2.0.0-r0.13
 
-fdebug-prefix-map=/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linu
x-gnueabi/weston/2.0.0-r0.13/recipe-sysroot-native= 
-fdebug-prefix-map=/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/sysroots/vs=
  -pipe-DLINUX -DEGL_API_FB -DWL_EGL_PLATFORM  -Wl,-O1 -Wl,--hash-style=gnu 
-Wl,--as-needed conftest.c  >&5
arm-poky-linux-gnueabi-gcc: error: unrecognized command line option 
'-pipe-DLINUX'
configure:3213: $? = 1
configure:3251: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "weston"
| #define PACKAGE_TARNAME "weston"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "weston 2.0.0"
| #define PACKAGE_BUGREPORT 
"https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0";
| #define PACKAGE_URL "http://wayland.freedesktop.org";
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3256: error: in 
`/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/weston/2.0.0-r0.13/build':
configure:3258: error: C compiler cannot create executables
See `config.log' for more details
--

I'm not that much of a autobuild/configure expert that I know how to fix that.

-Teemu Keskinarkaus

________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain 
information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the 
recipient(s) named above. If the reader of this email is not an intended 
recipient, you have received this email in error and any review, dissemination, 
distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately 
by return mail and permanently delete the copy you received.

Thank you.
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to