ampu
Posts: 6
Joined: Tue Apr 05, 2016 9:51 am

Error building crosstol-ng for RaspberryPi

Thu Aug 25, 2016 10:04 am

Hi,

I am trying to install crosstool-ng to run DDS applications on my Pi following this HOWTO: https://community.rti.com/content/forum ... spberry-pi

In epigraph 5, it is exaplained HOWTO proceed to install, configure and build Cross-compiler crosstool-ng.
However, when I run 'ct-ng build' command I get the next errors:

Code: Select all

ampu@ampu:/opt/rti_connext_dds-5.2.3/build_tools/crosstool-ng-1.19/bin$ ./ct-ng build 
[INFO ]  Performing some trivial sanity checks 
[INFO ]  Build started 20160824.213251 
[INFO ]  Building environment variables 
[ERROR]    
[ERROR]  >> 
[ERROR]  >>  Build failed in step '(top-level)' 
[ERROR]  >> 
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257] 
[ERROR]  >>        called from: CT_DoForceRmdir[scripts/functions@469] 
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@244] 
[ERROR]  >> 
[ERROR]  >>  For more info on this error, look at the file: 'build.log' 
[ERROR]  >>  There is a list of known issues, some with workarounds, in: 
[ERROR]  >>      '/opt/rti_connext_dds-5.2.3/build_tools/crosstool-ng-1.19/share/doc/crosstool-ng/ct-ng.1.19.0/B - Known issues.txt' 
[ERROR]    
[ERROR]  (elapsed: 0:00.48) 
[00:01] / ct-ng:148: recipe for target 'build' failed
There is no trace of this kind of problem in the "B - Known Issues.txt"

Any idea to solve these issues?

Thank you in advance for any help that you provide.

AndyPi
Posts: 83
Joined: Wed Feb 22, 2012 10:24 pm
Location: Gloucestershire,UK

Re: Error building crosstol-ng for RaspberryPi

Thu Aug 25, 2016 10:46 am

Have you looked in the build.log ?
also ct-ng list-samples lists some custom rpi samples configs
take a look at http://www.bootc.net/archives/2012/05/2 ... pberry-pi/ and http://crosstool-ng.org/#download_and_usage

regards

ampu
Posts: 6
Joined: Tue Apr 05, 2016 9:51 am

Re: Error building crosstol-ng for RaspberryPi

Thu Aug 25, 2016 6:20 pm

Hi Andy,

thank you for your answer. I have tried with ct-ng list-samples, concretely with ct-ng armv6-rpi-linux-gnueabi and then when I have typed ct-ng build I have these errors, after 13.54 minutes of building:

Code: Select all


[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library headers & start files'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@347]
[ERROR]  >>        called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143]
[ERROR]  >>        called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@632]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      '/opt/rti_connext_dds-5.2.3/build_tools/crosstool-ng-1.19/share/doc/crosstool-ng/ct-ng.1.19.0/B - Known issues.txt'
[ERROR]   
[ERROR]  (elapsed: 13:54.30)
[13:55] / ct-ng:148: recipe for target 'build' failed
make: *** [build] Error 1

I attach to this message build.log file

Any idea?

Thank you, regards

EDIT: I can't upload build.log because is too big for this forum (only 64kb can be uploaded like attachment), so can be downloaded from my db.

https://www.dropbox.com/s/0mqq4i1cwhtp5 ... d.zip?dl=0

ampu
Posts: 6
Joined: Tue Apr 05, 2016 9:51 am

Re: Error building crosstol-ng for RaspberryPi

Sun Aug 28, 2016 11:10 am

I have solved installing crosstool-ng 1.22

Return to “General programming discussion”