<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>694</bug_id>
          
          <creation_ts>2011-02-01 14:36:00 +0000</creation_ts>
          <short_desc>gtk application compilation error</short_desc>
          <delta_ts>2011-02-28 11:00:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>714</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Lianhao Lu">lianhao.lu</assigned_to>
          <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11654</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-02-01 14:36:00 +0000</bug_when>
    <thetext>when tried to build a very simple gtk application which contains &quot;#include &lt;gtk/gtk.h&gt;&quot; against sysroot extracted using poky-image-sato-sdk, got the following error:

arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -pthread -I/home/jzhang/qemu-arm/usr/include/glib-2.0 -I/home/jzhang/qemu-arm/usr/lib/glib-2.0/include -I/home/jzhang/qemu-arm/usr/include/gtk-2.0 -I/home/jzhang/qemu-arm/usr/lib/gtk-2.0/include -I/home/jzhang/qemu-arm/usr/include/atk-1.0 -I/home/jzhang/qemu-arm/usr/include/cairo -I/home/jzhang/qemu-arm/usr/include/gdk-pixbuf-2.0 -I/home/jzhang/qemu-arm/usr/include/pango-1.0 -I/home/jzhang/qemu-arm/usr/include/pixman-1 -I/home/jzhang/qemu-arm/usr/include/freetype2 -I/home/jzhang/qemu-arm/usr/include/libpng12   -g -O0 -march=armv5te -mtune=arm926ej-s --sysroot=/home/jzhang/qemu-arm -MT hwgtkc-hwgtkc.o -MD -MP -MF .deps/hwgtkc-hwgtkc.Tpo -c -o hwgtkc-hwgtkc.o `test -f &apos;hwgtkc.c&apos; || echo &apos;./&apos;`hwgtkc.c
In file included from /home/jzhang/qemu-arm/usr/include/bits/posix1_lim.h:157:0,
make[2]: Leaving directory `/home/jzhang/runtime-EclipseApplication/hwgtkc/src&apos;
                 from /home/jzhang/qemu-arm/usr/include/limits.h:145,
make[1]: Leaving directory `/home/jzhang/runtime-EclipseApplication/hwgtkc&apos;
                 from /opt/poky/0.9+snapshot/sysroots/i686-pokysdk-linux/usr/lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/include-fixed/limits.h:169,
                 from /opt/poky/0.9+snapshot/sysroots/i686-pokysdk-linux/usr/lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/include-fixed/syslimits.h:7,
                 from /opt/poky/0.9+snapshot/sysroots/i686-pokysdk-linux/usr/lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/include-fixed/limits.h:34,
                 from /home/jzhang/qemu-arm/usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib/gtypes.h:34,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib/galloca.h:34,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib.h:32,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib-object.h:25,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/gio/gioenums.h:30,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/gio/giotypes.h:30,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/gio/gio.h:28,
                 from /home/jzhang/qemu-arm/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /home/jzhang/qemu-arm/usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /home/jzhang/qemu-arm/usr/include/gtk-2.0/gtk/gtk.h:32,
                 from hwgtkc.c:29:
/home/jzhang/qemu-arm/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
make[2]: *** [hwgtkc-hwgtkc.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11657</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-02-01 16:33:18 +0000</bug_when>
    <thetext>Same issue for clutter as well, here&apos;s the error:

arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -pthread -I/home/jzhang/qemu-arm/usr/include/glib-2.0 -I/home/jzhang/qemu-arm/usr/lib/glib-2.0/include -I/home/jzhang/qemu-arm/usr/include/clutter-1.0 -I/home/jzhang/qemu-arm/usr/include/cairo -I/home/jzhang/qemu-arm/usr/include/pango-1.0 -I/home/jzhang/qemu-arm/usr/include/gdk-pixbuf-2.0 -I/home/jzhang/qemu-arm/usr/include/pixman-1 -I/home/jzhang/qemu-arm/usr/include/freetype2 -I/home/jzhang/qemu-arm/usr/include/libpng12   -g -O0 -march=armv5te -mtune=arm926ej-s --sysroot=/home/jzhang/qemu-arm -MT clutterhw-clutterhw.o -MD -MP -MF .deps/clutterhw-clutterhw.Tpo -c -o clutterhw-clutterhw.o `test -f &apos;clutterhw.c&apos; || echo &apos;./&apos;`clutterhw.c
In file included from /home/jzhang/qemu-arm/usr/include/bits/posix1_lim.h:157:0,
make[2]: Leaving directory `/home/jzhang/runtime-EclipseApplication/clutterhw/src&apos;
                 from /home/jzhang/qemu-arm/usr/include/limits.h:145,
make[1]: Leaving directory `/home/jzhang/runtime-EclipseApplication/clutterhw&apos;
                 from /opt/poky/0.9+snapshot/sysroots/i686-pokysdk-linux/usr/lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/include-fixed/limits.h:169,
                 from /opt/poky/0.9+snapshot/sysroots/i686-pokysdk-linux/usr/lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/include-fixed/syslimits.h:7,
                 from /opt/poky/0.9+snapshot/sysroots/i686-pokysdk-linux/usr/lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/include-fixed/limits.h:34,
                 from /home/jzhang/qemu-arm/usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib/gtypes.h:34,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib/galloca.h:34,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib.h:32,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /home/jzhang/qemu-arm/usr/include/glib-2.0/glib-object.h:25,
                 from /home/jzhang/qemu-arm/usr/include/clutter-1.0/clutter/clutter-actor.h:33,
                 from /home/jzhang/qemu-arm/usr/include/clutter-1.0/clutter/clutter.h:33,
                 from clutterhw.c:31:
/home/jzhang/qemu-arm/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
make[2]: *** [clutterhw-clutterhw.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11889</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-02-20 21:30:40 +0000</bug_when>
    <thetext>Is this resolved as part of bug 714</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11895</commentid>
    <comment_count>3</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-02-20 22:00:52 +0000</bug_when>
    <thetext>It should be a duplicate of bug #714.

Jessica, could please tell me which application are you using to reproduce this bug so I can have a test or would you please verify this? Thx!

*** This bug has been marked as a duplicate of bug 714 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11910</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-02-21 20:47:14 +0000</bug_when>
    <thetext>In the Eclipse plug-in there&apos;s GTK template, I tried to compile a GTK template project and ran into the issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11979</commentid>
    <comment_count>5</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-02-22 23:06:54 +0000</bug_when>
    <thetext>Verified this bug got fixed by using Yocto GTK helloworld project in Eclipse plugin.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>