<?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>2845</bug_id>
          
          <creation_ts>2012-07-27 07:35:55 +0000</creation_ts>
          <short_desc>qt4: qt4-native fails to build on SLED11.2-64bit</short_desc>
          <delta_ts>2012-11-14 02:07:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wenzong.Fan">wenzong.fan</reporter>
          <assigned_to name="Wenzong.Fan">wenzong.fan</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhenfeng.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23560</commentid>
    <comment_count>0</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2012-07-27 07:35:55 +0000</bug_when>
    <thetext>$ bitbake qt4-natvie

It fails on SLED11.2-x86, the log says:
-----------------------
In file included from embedded/qkbdtty_qws.cpp:57:
| /usr/include/linux/vt.h:74: error: expected unqualified-id before &apos;new&apos;
| make: *** [.obj/release-shared-emb-x86_64/qkbdtty_qws.o] Error 1
-----------------------

This caused by an old version of &apos;/usr/include/linux/vt.h&apos; which has:

74     unsigned int new;     /* New console (if changing) */

While compile this code with g++, the error occured. The &apos;new&apos; has been replaced as &apos;newdv&apos; on mostly distributions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23872</commentid>
    <comment_count>1</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2012-08-08 02:30:42 +0000</bug_when>
    <thetext>commit link:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1b138d167cefdcbcc969e4f9d2639cdc647945d7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27423</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-11-14 02:07:22 +0000</bug_when>
    <thetext>Verified with 1.3 danny branch on SLED 11.2.
gitinfo: 27af23e65f63b41962a7cfddba9e9372d5212396</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>