Hi Dan

Thanks for that! I had originally intended to use v15.1 but when I checked the 
user guides, I didn't twig that the web page format had changed! When I only 
saw the section headings, I thought that the documentation was incomplete! 
After your suggestion to look at the User Guide I then realised there were tabs 
along the top of the page that give the further detail! Duh!!


Anyway I have got far further along with the compilation Pseudo runs and 
compiles to completion at least but I'm left with one error and one warning. 
The error looks to be a double declaration of a hashtable iterator  variable! 
I'll attach the relevant log file.


Your help is greatly appreciated! I feel that I'm finally starting to get 
somewhere. All I have to do now is understand how this all works!![😊]


Regards


Dave Burke



________________________________
From: Dan Negvesky <[email protected]>
Sent: 03 June 2016 14:24:55
To: Dave Burke (PGR); [email protected]
Subject: RE: [Rfi] Issues with setting up Yocto build for SoCkit

Dave,

Can I suggest starting with the latest SoCKit GSRD v15.1 available here:

https://rocketboards.org/foswiki/view/Documentation/GSRD151UserManualArrowSoCKitEdition

and kernel/rootfs build instructions here:

https://rocketboards.org/foswiki/view/Documentation/GSRD151UserManualArrowSoCKitEdition

Let us know if you still encounter problems using the latest version.

Dan

From: Dave Burke (PGR) [mailto:[email protected]]
Sent: Friday, June 03, 2016 5:52 AM
To: [email protected]
Subject: [Rfi] Issues with setting up Yocto build for SoCkit


Hi



I'm currently working my way through familiarisation with the software build 
process for the Altera Cyclone V SoCkit, with the aim of getting it all under 
the control of EDS in order to move on to compiling software to be run as a 
linux app on the SoCkit.



I was following the recipe as in the documentation GSRDv13.1 - Yocto user 
manual.

Got the source package ok.

Setup the Yocto environment OK.

Tried to build with "bitbake virtual/kernel" and got the following

"Pseudo is not present but is required, building this first before the main 
build
ERROR: Failed to obtain external Linaro toolchain version: Execution of 
'/opt/altera-linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-gcc
 -v' failed with exit code 127:
/opt/altera-linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-gcc:
 error while loading shared libraries: libstdc++.so.6: cannot open shared 
object file: No such file or directory
"

I searched for "Pseudo is not present" and got various web based solutions of 
incantations which didn't work and eventually tracked it down to 
https://rocketboards.org/foswiki/view/Documentation/YoctoDoraBuildWithMetaAltera.

I trustingly followed the incantations to install poky as given in the section 
"Yocto 2.0 Jethro" finishing with

"source poky/oe-init-build-env ./build", got all the correct messages back and 
therefore ran "bitbake virtual/kernel"

This ran to completion after two or three hours and all seemed ok. I tried 
"bitbake altera-gsrd-image" and ended up with an error.

I realised from the following part of the document that I needed to configure 
the bblayers.conf. I then also realised that in configuring Pseudo that I had 
generated an extra /build directory below the existing /build , ie 
~/yocto/build/build! I had a conf directory in both build dirs. Checking the 
bblayers showed the upper one set for fpga and the lower one for x86. I tried 
to correct this by running "source poky/oe-init-build-env ." from ~/yocto/build 
but it came back with a message that the Pseudo environment is already set up!



How can I get out of this?



I archived the yocto directory in case I need to go back to it. I reasoned that 
I might need to install Pseudo before installing the yocto source package, so 
started again with a fresh yocto directory. That was unsuccessful as I think 
there may be things set in the etc/ path that thinks everything is already 
installed!!



Help!!



Regards



Dave Burke

MSc, C Eng, MIET

[email protected]<mailto:[email protected]>

[email protected]<mailto:[email protected]>

Attachment: log.do_compile.16929
Description: log.do_compile.16929

_______________________________________________
Rfi mailing list
[email protected]
http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi

Reply via email to