Bug 3027

Summary: mesa-demos Included in core-image-minimal
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Aditya Gandhi <aditya>
Component: layersAssignee: Saul Wold <sgw>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, ross.burton, sstncr
Version: 1.2.1   
Target Milestone: 1.3 M4   
Hardware: TunnelCreek   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
Local.conf for the build none

Description Aditya Gandhi 2012-08-28 18:10:50 UTC
Created attachment 744 [details]
Local.conf for the build

I am trying to compile the core-image-minimal using the latest poky and meta-intel from git. Mesa-demo is included and image compilation fails  eglut.c:7:21: fatal error: EGL/egl.h: No such file or directory.

My local.conf is attached
Comment 1 Aditya Gandhi 2012-08-28 19:32:48 UTC
I did bitbake cleansstate core-image-minimal,bitbake -c clean mesa-demos
bitbake -c cleansstate emgd-driver-bin, 
and then build using bitbake core-image-sato

I got this error:

DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 4
Making all in src
make[1]: Entering directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src'
Making all in util
make[2]: Entering directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/util'
../../i586-poky-linux-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" -DPACKAGE_STRING=\"mesa-demos\ 8.0.1\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I.    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c -o readtex.lo readtex.c
../../i586-poky-linux-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" -DPACKAGE_STRING=\"mesa-demos\ 8.0.1\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I.    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c -o showbuffer.lo showbuffer.c
../../i586-poky-linux-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" -DPACKAGE_STRING=\"mesa-demos\ 8.0.1\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I.    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c -o trackball.lo trackball.c
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c trackball.c  -fPIC -DPIC -o .libs/trackball.o
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c showbuffer.c  -fPIC -DPIC -o .libs/showbuffer.o
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c readtex.c  -fPIC -DPIC -o .libs/readtex.o
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c showbuffer.c -o showbuffer.o >/dev/null 2>&1
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c trackball.c -o trackball.o >/dev/null 2>&1
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -c readtex.c -o readtex.o >/dev/null 2>&1
../../i586-poky-linux-libtool  --tag=CC   --mode=link i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -g -feliminate-unused-debug-types -lGL   -lGLEW -lGLU -lGL   -lm -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o libutil.la  readtex.lo showbuffer.lo trackball.lo   
i586-poky-linux-libtool: link: i586-poky-linux-ar cru .libs/libutil.a .libs/readtex.o .libs/showbuffer.o .libs/trackball.o 
i586-poky-linux-libtool: link: i586-poky-linux-ranlib .libs/libutil.a
i586-poky-linux-libtool: link: ( cd ".libs" && rm -f "libutil.la" && ln -s "../libutil.la" "libutil.la" )
make[2]: Leaving directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/util'
Making all in demos
make[2]: Entering directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/demos'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/demos'
Making all in egl
make[2]: Entering directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/egl'
Making all in eglut
make[3]: Entering directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/egl/eglut'
../../../i586-poky-linux-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" -DPACKAGE_STRING=\"mesa-demos\ 8.0.1\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I.    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -O2 -pipe -g -feliminate-unused-debug-types -c -o eglut.lo eglut.c
../../../i586-poky-linux-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" -DPACKAGE_STRING=\"mesa-demos\ 8.0.1\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I.    -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -O2 -pipe -g -feliminate-unused-debug-types -c -o eglut_screen.lo eglut_screen.c
../../../i586-poky-linux-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" -DPACKAGE_STRING=\"mesa-demos\ 8.0.1\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I.     -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -O2 -pipe -g -feliminate-unused-debug-types -c -o libeglut_x11_la-eglut.lo `test -f 'eglut.c' || echo './'`eglut.c
../../../i586-poky-linux-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" -DPACKAGE_STRING=\"mesa-demos\ 8.0.1\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I.     -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm   -O2 -pipe -g -feliminate-unused-debug-types -c -o libeglut_x11_la-eglut_x11.lo `test -f 'eglut_x11.c' || echo './'`eglut_x11.c
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -O2 -pipe -g -feliminate-unused-debug-types -c eglut.c  -fPIC -DPIC -o .libs/eglut.o
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -O2 -pipe -g -feliminate-unused-debug-types -c eglut.c  -fPIC -DPIC -o .libs/libeglut_x11_la-eglut.o
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -O2 -pipe -g -feliminate-unused-debug-types -c eglut_x11.c  -fPIC -DPIC -o .libs/libeglut_x11_la-eglut_x11.o
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -O2 -pipe -g -feliminate-unused-debug-types -c eglut_screen.c  -fPIC -DPIC -o .libs/eglut_screen.o
eglut_x11.c: In function '_eglutNativeInitDisplay':
eglut_x11.c:10:23: warning: assignment makes integer from pointer without a cast [enabled by default]
eglut_x11.c: In function '_eglutNativeFiniDisplay':
eglut_x11.c:20:4: warning: passing argument 1 of 'XCloseDisplay' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:2168:12: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c: In function '_eglutNativeInitWindow':
eglut_x11.c:41:10: warning: passing argument 1 of 'XGetVisualInfo' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:2:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xutil.h:463:21: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:51:10: warning: passing argument 1 of 'XCreateColormap' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:1560:17: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:56:10: warning: passing argument 1 of 'XCreateWindow' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:1644:15: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:70:7: warning: passing argument 1 of 'XSetNormalHints' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:2:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xutil.h:588:12: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:72:13: warning: passing argument 1 of 'XSetStandardProperties' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:2:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xutil.h:609:12: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:75:4: warning: passing argument 1 of 'XMapWindow' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:2814:12: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:77:25: warning: assignment makes pointer from integer without a cast [enabled by default]
eglut_x11.c: In function '_eglutNativeFiniWindow':
eglut_x11.c:85:4: warning: passing argument 1 of 'XDestroyWindow' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:2251:12: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:85:4: warning: passing argument 2 of 'XDestroyWindow' makes integer from pointer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:2251:12: note: expected 'Window' but argument is of type 'EGLNativeWindowType'
eglut.c: In function '_eglutDestroyWindow':
eglut.c:55:32: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)
eglut.c:55:32: note: each undeclared identifier is reported only once for each function it appears in
eglut_x11.c: In function 'next_event':
eglut_x11.c:160:4: warning: passing argument 1 of 'XPending' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:2889:12: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut_x11.c:166:4: warning: passing argument 1 of 'XNextEvent' makes pointer from integer without a cast [enabled by default]
In file included from eglut_x11.c:1:0:
/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/X11/Xlib.h:2849:12: note: expected 'struct Display *' but argument is of type 'EGLNativeDisplayType'
eglut.c: In function '_eglutDestroyWindow':
eglut.c:55:32: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)
eglut.c:55:32: note: each undeclared identifier is reported only once for each function it appears in
eglut.c: In function '_eglutCreateWindow':
eglut.c:153:9: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)
eglut.c: In function 'eglutDestroyWindow':
eglut.c:268:33: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)
eglut.c: In function '_eglutCreateWindow':
eglut.c:153:9: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)
eglut.c: In function 'eglutDestroyWindow':
eglut.c:268:33: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)
make[3]: *** [eglut.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [libeglut_x11_la-eglut.lo] Error 1
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.0.1\" "-DPACKAGE_STRING=\"mesa-demos 8.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLEW=1 -I. -I/home/inforcecomputing/build/poky/build/tmp/sysroots/crownbay/usr/include/libdrm -O2 -pipe -g -feliminate-unused-debug-types -c eglut_x11.c -o libeglut_x11_la-eglut_x11.o >/dev/null 2>&1
eglut_screen.c:13:1: error: unknown type name 'EGLScreenMESA'
eglut_screen.c:14:1: error: unknown type name 'EGLModeMESA'
eglut_screen.c: In function '_eglutNativeInitDisplay':
eglut_screen.c:21:27: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)
eglut_screen.c:21:27: note: each undeclared identifier is reported only once for each function it appears in
eglut_screen.c: In function 'init_kms':
eglut_screen.c:36:4: error: unknown type name 'EGLModeMESA'
eglut_screen.c: In function '_eglutNativeInitWindow':
eglut_screen.c:95:26: warning: assignment makes pointer from integer without a cast [enabled by default]
make[3]: *** [eglut_screen.lo] Error 1
make[3]: Leaving directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/egl/eglut'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src/egl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/mesa-demos-8.0.1/src'
make: *** [all-recursive] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see /home/inforcecomputing/build/poky/build/tmp/work/core2-poky-linux/mesa-demos-8.0.1-r3/temp/log.do_compile.29934 for further information)
Comment 2 Saul Wold 2012-08-29 00:40:55 UTC
Can you share your Build Configuration specificly the git hashes that you used to build this?

OE Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "crownbay"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2.1"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta              
meta-yocto        = "denzil:73cdebf60df225ee10f2eb215935be3b61e1b831"
meta-crownbay     
meta-intel        = "denzil:3867f2a35323cbe5dd50023e127678325a984e11"

These are the hashes I used which are the Denzil versions, is it possible that you are using a newer meta-intel?
Comment 3 Aditya Gandhi 2012-09-04 18:37:06 UTC
Hi Saul,

I had done a git pull after  I had filed the BUG, my current configuration is 

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "crownbay"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120904"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta              
meta-yocto        = "master:99c85ba93075a1aff789cafabbacf42e6a93bd32"
meta-intel        
meta-crownbay     = "master:16a7879b98352b70e8c17181912a26212d716c87"

but I still have to check if I can customize and Image without breaking the build. Will posts my results.

-Aditya
Comment 4 Saul Wold 2012-10-04 15:00:55 UTC
Is this still an issue for you?  If not I will close this bug, I can't seem to reproduce this.
Comment 5 Aditya Gandhi 2012-10-08 18:02:33 UTC
Hey ,

I don't think I have this issue anymore. Please go ahead and close this issue.

Regards,

Aditya

(In reply to comment #4)
> Is this still an issue for you?  If not I will close this bug, I can't seem
> to reproduce this.
Comment 6 Saul Wold 2012-10-08 20:47:14 UTC
Seems to be not an issue based on reporter, closing.
Comment 7 Stefan Stanacar 2012-11-02 11:37:05 UTC
Marking as verified.