Skip to contentSkip to conversation

Issue with yocto ADT

DISCUSSION Raghavendra Kakarla 2 participants 20 messages May 15, 2015 – May 25, 2015

lore
Share & tools
lore
#0 lore raw

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux

$runqemu-extract-sdk \
        ~/poky/build/tmp/deploy/images/arqlyn/ core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
        $HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

#1 lore raw

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

Signature · 4 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
#2 lore raw

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#4 lore raw

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

I attached the makefile.in and makefile.am file to the paste bin.

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#5 lore raw
Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#6 lore raw

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#7 lore raw

Hi Todor,

Could you please let me know the cause for the issue. Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#8 lore raw

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#9 lore raw

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Can send those projects make files?

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#10 lore raw
Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#11 lore raw

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#12 lore raw
Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#13 lore raw

Hi Todor,

Thank you for your reply.

Now I am able to build the application with my extracted rootfs.

I built the rootfs for our machine.

for launching the qemu from the eclipse,is it required we should build it for qemu?

I have the previously built qemu kernel image and i give it path to the eclipse's qemu kernel path field.

Qemu is launched but it gives error while switching from kernel to rootfs i.e init script execution problem.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 1:14 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#14 lore raw
Quoted 4 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

Quoted 8 lines

Now I am able to build the application with my extracted rootfs.

I built the rootfs for our machine.

for launching the qemu from the eclipse,is it required we should build it for qemu?
I have the previously built qemu kernel image and i give it path to the eclipse's qemu kernel path field.

Qemu is launched but it gives error while switching from kernel to rootfs i.e init script execution problem.

If your rootfs does not have /sbin/init, your kernel won't be able to execute the topmost parent process(init) and the boot will fail? What is the error message?

Quoted 240 lines

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 1:14 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#15 lore raw

Hi Todor,
sbin/init script is there in the rootfile system.

But i built rootfile system for my BSP and I give this rootfs to the eclipse sysroot path.

And i select the qemu instead of externel hardware. I give the qemu kernel path to prevuiously built qemumips kernel image which is built before my BSP is built.

When I click on the "external Tool -> qemu_mips-poky-linux" qemu image is booted and gives the following error. ->sbin/init exist but could not execute it

Regards,
Raghavenmdra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:01 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 4 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

Quoted 8 lines

Now I am able to build the application with my extracted rootfs.

I built the rootfs for our machine.

for launching the qemu from the eclipse,is it required we should build it for qemu?
I have the previously built qemu kernel image and i give it path to the eclipse's qemu kernel path field.

Qemu is launched but it gives error while switching from kernel to rootfs i.e init script execution problem.

If your rootfs does not have /sbin/init, your kernel won't be able to execute the topmost parent process(init) and the boot will fail? What is the error message?

Quoted 240 lines

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 1:14 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#16 lore raw
Quoted 10 lines · Raghavendra Kakarla

Hi Todor,
sbin/init script is there in the rootfile system.

But i built rootfile system for my BSP and I give this rootfs to the eclipse sysroot path.

And i select the qemu instead of externel hardware. I give the qemu kernel path to prevuiously built qemumips kernel image which is built before my BSP is built.

When I click on the "external Tool -> qemu_mips-poky-linux" qemu image is booted and gives the following error. ->sbin/init exist but could not execute it

This error message should be followed by an error number. Also check that your /sbin/init is executable.

Quoted 268 lines

Regards,
Raghavenmdra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:01 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 4 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

Quoted 8 lines

Now I am able to build the application with my extracted rootfs.

I built the rootfs for our machine.

for launching the qemu from the eclipse,is it required we should build it for qemu?
I have the previously built qemu kernel image and i give it path to the eclipse's qemu kernel path field.

Qemu is launched but it gives error while switching from kernel to rootfs i.e init script execution problem.

If your rootfs does not have /sbin/init, your kernel won't be able to execute the topmost parent process(init) and the boot will fail? What is the error message?

Quoted 240 lines

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 1:14 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#17 lore raw

Hi Todor,

Now I am able to build the application,launch the qemu and run the application from eclipse.

but when I run the application in stepmode or stepover it gives the following error.

Reading symbols from /home/testuser/workspace/test16/src/test16...done.
warning: GDB can't find the start of the function at 0x31c73cf0.

GDB is unable to find the start of the function at 0x31c73cf0 and thus can't determine the size of that function's stack frame. This means that GDB may be unable to access that stack frame, or the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x31c73cf0 for code which looks like the beginning of a function, you can increase the range of the search using the `set heuristic-fence-post' command.
warning: GDB can't find the start of the function at 0x31c62ed4.
warning: GDB can't find the start of the function at 0x31c73cf0.
warning: GDB can't find the start of the function at 0x31c63e30.
warning: GDB can't find the start of the function at 0x31d11380.

Regards,
Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:52 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 10 lines · Raghavendra Kakarla

Hi Todor,
sbin/init script is there in the rootfile system.

But i built rootfile system for my BSP and I give this rootfs to the eclipse sysroot path.

And i select the qemu instead of externel hardware. I give the qemu kernel path to prevuiously built qemumips kernel image which is built before my BSP is built.

When I click on the "external Tool -> qemu_mips-poky-linux" qemu image is booted and gives the following error. ->sbin/init exist but could not execute it

This error message should be followed by an error number. Also check that your /sbin/init is executable.

Quoted 268 lines

Regards,
Raghavenmdra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:01 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 4 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

Quoted 8 lines

Now I am able to build the application with my extracted rootfs.

I built the rootfs for our machine.

for launching the qemu from the eclipse,is it required we should build it for qemu?
I have the previously built qemu kernel image and i give it path to the eclipse's qemu kernel path field.

Qemu is launched but it gives error while switching from kernel to rootfs i.e init script execution problem.

If your rootfs does not have /sbin/init, your kernel won't be able to execute the topmost parent process(init) and the boot will fail? What is the error message?

Quoted 240 lines

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 1:14 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#18 lore raw
In reply to Minchev, Todor

Hi Todor,

Thank you for your replies.

Now I fixed this issue.

Yocto ADT is now working.

I am able to run/debug application on qemu using the yocto eclipse plugin.

Regards,
Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:52 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 10 lines · Raghavendra Kakarla

Hi Todor,
sbin/init script is there in the rootfile system.

But i built rootfile system for my BSP and I give this rootfs to the eclipse sysroot path.

And i select the qemu instead of externel hardware. I give the qemu kernel path to prevuiously built qemumips kernel image which is built before my BSP is built.

When I click on the "external Tool -> qemu_mips-poky-linux" qemu image is booted and gives the following error. ->sbin/init exist but could not execute it

This error message should be followed by an error number. Also check that your /sbin/init is executable.

Quoted 268 lines

Regards,
Raghavenmdra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:01 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 4 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

Quoted 8 lines

Now I am able to build the application with my extracted rootfs.

I built the rootfs for our machine.

for launching the qemu from the eclipse,is it required we should build it for qemu?
I have the previously built qemu kernel image and i give it path to the eclipse's qemu kernel path field.

Qemu is launched but it gives error while switching from kernel to rootfs i.e init script execution problem.

If your rootfs does not have /sbin/init, your kernel won't be able to execute the topmost parent process(init) and the boot will fail? What is the error message?

Quoted 240 lines

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 1:14 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#19 lore raw

Re: How to build scon projects on yocto ADT

Hi Todor,

I have now familiar with building the autotool projects and the makefile projects with using the YOCTO ADT.

But how can I create and build the projects which have the "scons" support.

Could please tell me the proceadure for create and building the scon projects in ADT.

Thanks in Advance.
Regards,
Raghavendra K.
________________________________________
From: Raghavendra Kakarla
Sent: Wednesday, May 20, 2015 2:23 PM
To: Minchev, Todor
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

Thank you for your replies.

Now I fixed this issue.

Yocto ADT is now working.

I am able to run/debug application on qemu using the yocto eclipse plugin.

Regards,
Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:52 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 10 lines · Raghavendra Kakarla

Hi Todor,
sbin/init script is there in the rootfile system.

But i built rootfile system for my BSP and I give this rootfs to the eclipse sysroot path.

And i select the qemu instead of externel hardware. I give the qemu kernel path to prevuiously built qemumips kernel image which is built before my BSP is built.

When I click on the "external Tool -> qemu_mips-poky-linux" qemu image is booted and gives the following error. ->sbin/init exist but could not execute it

This error message should be followed by an error number. Also check that your /sbin/init is executable.

Quoted 268 lines

Regards,
Raghavenmdra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 5:01 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 4 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

Quoted 8 lines

Now I am able to build the application with my extracted rootfs.

I built the rootfs for our machine.

for launching the qemu from the eclipse,is it required we should build it for qemu?
I have the previously built qemu kernel image and i give it path to the eclipse's qemu kernel path field.

Qemu is launched but it gives error while switching from kernel to rootfs i.e init script execution problem.

If your rootfs does not have /sbin/init, your kernel won't be able to execute the topmost parent process(init) and the boot will fail? What is the error message?

Quoted 240 lines

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 1:14 PM
To: Raghavendra Kakarla
Cc: Surya Dommeti; Ramakrishna Chatram; [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

For not working scenario there is no makefile created.

For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables See `config.log' for more details

Please have a look at this thread, it explains how to resolve this problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

Quoted 207 lines

I attaching the makefile for working scenario.

Regards,

Raghavendra K.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Tuesday, May 19, 2015 12:13 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

I created four more new projects.

For all the projects I gives error like this only.

Is the error message the same as the original one you posted about a missing make all target?

Quoted 1 line

Can send those projects make files?

Please share both your working and non-working Makefiles.

Quoted 179 lines

But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.

When we give the extracted sysroot it gives problem. Regards,
Raghavendra.
________________________________________
From: Minchev, Todor [[email protected]]
Sent: Monday, May 18, 2015 9:51 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Quoted 3 lines · Raghavendra Kakarla

Hi Todor,

Could you please let me know the cause for the issue.

Please pastebin your Makefile and share the pastebin link.

Seem like your project is corrupt and the Makefile is not generated correctly.

Have you tried to delete the project and create a new one?

Quoted 152 lines

Thanks in advance.

Regards,
Raghavendra K.

________________________________________
From: Raghavendra Kakarla
Sent: Friday, May 15, 2015 5:31 PM
To: Minchev, Todor
Cc: [email protected]
Subject: RE: [yocto] Issue with yocto ADT

Hi Todor,

It is provided by the Yocto eclipse plugin itself.

Regards,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 5:27 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Quoted 5 lines · Raghavendra Kakarla

Hi Todor,

It is an autotool based example.
It is not generated makefile itself.

Is it an example you created yourself or is it the autotools C Hello World template provided by the Yocto Eclipse Plug-in.

Quoted 1 line

I attached the makefile.in and makefile.am file to the paste bin.

Could you please paste the Makefile and share the pastebin link?

Quoted 111 lines

Thanks,

Raghavendra.

________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:41 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Could you please pastebin the makefile from your project?

http://pastebin.com/

Cheers,
Todor

Quoted 88 lines · Raghavendra Kakarla

Hi Todor,

Thank you for your reply.

By default we have the setting like this only.

But we got the error.

Thanks,
Raghavendra.
________________________________________
From: Minchev, Todor <[email protected]>
Sent: Friday, May 15, 2015 4:05 PM
To: Raghavendra Kakarla
Cc: [email protected]
Subject: Re: [yocto] Issue with yocto ADT

Hello Raghavendra,

Please try the following:

Right click on your project - Properties - C/C++ Build - Select the 'Behavior' tab - untick 'Build on resource save' and remove 'all' from the 'Build' field

Cheers,
Todor

Quoted 58 lines · Raghavendra Kakarla

Hi All,

I have problem with the ADT while i am building the autotool example helloword project which is given in the "yocto ADT autotool project".

Could you please help me in resolving this issue.

I followed the following steps for installing the adt in my development PC:

I built the toolchain using the following command:

$cd ~/poky
$source ./oe-init-build-env
$bitbake meta-ide-support

Extract the root file system by using the following commands:

$cd ~
$source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux $runqemu-extract-sdk \
~/poky/build/tmp/deploy/images/arqlyn/
core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
$HOME/arqlyn

I followed the command given in the yocto project dev-manual for installing eclipse and adding yocto plugin to eclipse.

I Gave the following data to the eclipse for configuring the cross-compiler options:

1. I select the "Build System Derived Toolchain" 2.point the toolchain path to "home/testuser/poky/build" 3.gave sysroot path to /home/testuser/arqlyn

After entered this information I got the my machine-name in the "select the target architecture" filed.

After this I create a autotool support project and tried to build but it gives the error.

Regards,

Raghavendra.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto