[yocto] Build Error

Sathishkumar Duraisamy bewithsathish at gmail.com
Wed Feb 1 02:14:58 PST 2012


On Wed, Feb 1, 2012 at 11:59 AM, Joshua Lock <josh at linux.intel.com> wrote:
> Hi James,
>
>
> On 31/01/12 22:20, James W. wrote:
>>
>> hi all:
>> i am new comer.
>> i meet  a error:
>>
>> NOTE: package pciutils-3.1.9-r0: task do_configure: Started
>> ERROR: Function failed: do_configure (see
>>
>> /home/jwang5/poky-build/tmp/work/i586-poky-linux/pciutils-3.1.9-r0/temp/log.do_configure.9978
>> for further information)
>> ERROR: Logfile of failure stored in:
>>
>> /home/jwang5/poky-build/tmp/work/i586-poky-linux/pciutils-3.1.9-r0/temp/log.do_configure.9978
>> Log data follows:
>> | ERROR: Function failed: do_configure (see
>>
>> /home/jwang5/poky-build/tmp/work/i586-poky-linux/pciutils-3.1.9-r0/temp/log.do_configure.9978
>> for further information)
>> | Configuring libpci for your system..../configure: 1: Syntax error:
>> Unterminated quoted string
>
>
> I cam across this error today also, I'd be willing to bet the OS you're
> building on is using the dash shell (Ubuntu)?

Well, if this error is because of dash, please use the following
comments to change to bash,

$sudo rm /usr/bin/sh
$sudo ln -s /usr/bin/bash /usr/bin/sh

There is also, other way to change to dash to bash through package
configure. But any way, above will done through automated scripts. So,
above is good. You can also make sure you are working on bash shell,
by simply, ls -al /usr/bin/sh, which shows whether the link is
pointing to bash or dash.
-- 
Regards,
Sathishkumar D
http://flowersopenlab.weebly.com/



More information about the yocto mailing list