problems (98% sure they are mine....) building crosstool-ng

bradshawlupton
Posts: 2
Joined: Tue Jan 05, 2016 7:26 pm

problems (98% sure they are mine....) building crosstool-ng

Postby bradshawlupton » Wed Jan 06, 2016 3:13 am

Hi, I am trying to build the firmware and unable to get through the building of crosstool-ng prior to building the firmware.

Most likely me, as a 30 year firmware guy, love the downloadable firmware, dying to jump in!! :D .

Trying to build the most vanilla versions to start. I appreciate the community guidance.

Thanks Bradshaw in Buzzards Bay MA 3 stones throws from the Army Corps of Engineers RailRoad Bridge over the Canal.

pi@dev-D630:/opt/Espressif/crosstool-NG$ ./ct-ng xtensa-esp108-elf
CONF config/config.in
#
# configuration saved
#

***********************************************************

Initially reported by: Max Filippov <jcmvbkbc@gmail.com>
URL:

***********************************************************

WARNING! This sample may enable experimental features.
Please be sure to review the configuration prior
to building and using your toolchain!
Now, you have been warned!

***********************************************************

Now configured for "xtensa-esp108-elf"
pi@dev-D630:/opt/Espressif/crosstool-NG$ ./ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20160105.213316
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Retrieving needed toolchain components' tarballs: done in 205.69s (at 03:27)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[INFO ] Extracting and patching toolchain components: done in 109.65s (at 05:17)
[INFO ] =================================================================
[INFO ] Installing GMP for host
[INFO ] Installing GMP for host: done in 80.64s (at 06:38)
[INFO ] =================================================================
[INFO ] Installing MPFR for host
[INFO ] Installing MPFR for host: done in 34.97s (at 07:13)
[INFO ] =================================================================
[INFO ] Installing ISL for host
[INFO ] Installing ISL for host: done in 57.84s (at 08:11)
[INFO ] =================================================================
[INFO ] Installing MPC for host
[INFO ] Installing MPC for host: done in 12.83s (at 08:23)
[INFO ] =================================================================
[INFO ] Installing binutils for host
[INFO ] Installing binutils for host: done in 132.72s (at 10:36)
[INFO ] =================================================================
[INFO ] Installing C library headers & start files
[INFO ] Installing C library headers & start files: done in 0.04s (at 10:36)
[INFO ] =================================================================
[INFO ] Installing pass-2 core C compiler
[ERROR] configure: error: in `/opt/Espressif/crosstool-NG/.build/xtensa-esp108-elf/build/build-cc-core-pass-2':
[ERROR] configure: error: C compiler cannot create executables

[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing pass-2 core C compiler'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: do_cc_core_backend[scripts/build/cc/gcc.sh@386]
[ERROR] >> called from: do_cc_core_pass_2[scripts/build/cc/gcc.sh@158]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@638]
[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] >> 'share/doc/crosstool-ng/ct-ng.1.21.0/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 10:37.04)
[10:37] / ct-ng:147: recipe for target 'build' failed
make: *** [build] Error 77
pi@dev-D630:/opt/Espressif/crosstool-NG$
Attachments
unnamed.jpg
Bradshaw piRshared.com business card
unnamed.jpg (24.93 KiB) Viewed 19100 times

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: problems (98% sure they are mine....) building crosstool-ng

Postby ESP_Sprite » Fri Jan 08, 2016 8:02 am

Can you attach the mentioned build.log file?

bradshawlupton
Posts: 2
Joined: Tue Jan 05, 2016 7:26 pm

Re: problems (98% sure they are mine....) building crosstool-ng

Postby bradshawlupton » Fri Jan 08, 2016 5:55 pm

Sure, thanks, here is the link to my full sick log.
http://pirshared.com/ray/build.log 10MB.....

Hey, a totally different way to solve MY problem.


I would happily send a paypal equivalent of a dunkin donuts coffee and sandwich to the first person who sends me
a TGZ of /opt/Espressif that works with my Ubuntu 64 bit 15.04 . I love to work for food, and will
very gladly, appreciatively, reciprocate.

Its a fun! funny! working paradigm for 2016.
Bradshaw

:D

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: problems (98% sure they are mine....) building crosstool-ng

Postby ESP_Sprite » Mon Jan 11, 2016 5:43 am

Just checking: did you do this step?
sudo apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev python-serial libexpat-dev libtool-bin

If you did (or if that didn't work), could you try
apt-get install g++
and then re-try?

ESP_tuanpm
Posts: 14
Joined: Sat Dec 05, 2015 7:59 am

Re: problems (98% sure they are mine....) building crosstool-ng

Postby ESP_tuanpm » Tue Jun 14, 2016 8:46 am

Hello,
I also meet same error with you when installing on ubuntu 16.04, but success with ubuntu 14.04

Who is online

Users browsing this forum: No registered users and 38 guests