All of lore.kernel.org
 help / color / mirror / Atom feed
From: wenzong fan <wenzong.fan@windriver.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@www.linuxtogo.org, Zhenfeng.Zhao@windriver.com,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly
Date: Fri, 10 Aug 2012 09:49:27 +0800	[thread overview]
Message-ID: <502468A7.2000103@windriver.com> (raw)
In-Reply-To: <1880382.26omCZ6a7m@helios>

On 08/09/2012 09:01 PM, Paul Eggleton wrote:
> On Thursday 09 August 2012 10:59:15 wenzong.fan@windriver.com wrote:
>> From: Wenzong Fan<wenzong.fan@windriver.com>
>>
>> 'at' needs flex to generate source file lex.yy.c, but it doesn't
>> depend on flex-native directly; This maybe cause a do_compile
>> failure if flex-native is not built or included in project.
>>
>> Error message is:
>>      error: lex.yy.c: No such file or directory
>>
>> Get 'at' depends on flex-native to fix this potential issue.
>>
>> [YOCTO #2919]
>>
>> Signed-off-by: Wenzong Fan<wenzong.fan@windriver.com>
>> ---
>>   meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-extended/at/at_3.1.13.bb
>> b/meta/recipes-extended/at/at_3.1.13.bb index ce9396a..a391d6e 100644
>> --- a/meta/recipes-extended/at/at_3.1.13.bb
>> +++ b/meta/recipes-extended/at/at_3.1.13.bb
>> @@ -4,14 +4,14 @@ the system load levels drop to a particular level."
>>   SECTION = "base"
>>   LICENSE="GPLv2+"
>>   LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
>> -DEPENDS = "flex initscripts \
>> +DEPENDS = "flex flex-native initscripts \
>
> Does it need flex for the target as well, or was it a case of "flex" being added
> instead of "flex-native" by mistake?

Yes, it is needed.

I removed 'flex' from DEPENDS, the build failed with:
---------------------------
i586-poky-linux-gcc  -m32   -march=i586 
--sysroot=/buildarea/wfan/at/tmp/sysroots/qemux86 -I. -O2 -pipe -g 
-feliminate-unused-debug-types -o at at.o panic.o perm.o posixtm.o 
y.tab.o lex.yy.o   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
| lex.yy.o: In function `yylex':
| 
/buildarea/wfan/at/tmp/work/i586-poky-linux/at-3.1.13-r2/at-3.1.13/lex.yy.c:1247: 
undefined reference to `yywrap'
| collect2: error: ld returned 1 exit status
---------------------------

Thanks
Wenzong

>
> Cheers,
> Paul
>



  parent reply	other threads:[~2012-08-10  2:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09  2:59 [PATCH 0/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly wenzong.fan
2012-08-09  2:59 ` [PATCH 1/1] " wenzong.fan
2012-08-09 13:44   ` Paul Eggleton
2012-08-09 13:57   ` Saul Wold
     [not found]   ` <1880382.26omCZ6a7m@helios>
2012-08-10  1:49     ` wenzong fan [this message]
2012-08-16 18:59 ` [PATCH 0/1] " Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502468A7.2000103@windriver.com \
    --to=wenzong.fan@windriver.com \
    --cc=Zhenfeng.Zhao@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-core@www.linuxtogo.org \
    --cc=paul.eggleton@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.