Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Error building OpenEmbedded toolchain
PostPosted: Sun Oct 23, 2011 4:10 pm 
Offline

Joined: Fri Feb 18, 2011 1:56 pm
Posts: 8
Hi,

I'm following the tutorial at http://www.at91.com/linux4sam/bin/view/ ... gstrom_9x5 but I got an issue when bitbaking (bitbake base-image).

While building openssl I get:

NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/ste/stuff/tmp/work/x86_64-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.2476 for further information)
ERROR: Task 2081 (/home/ste/stuff/openembedded/recipes/openssl/openssl-native_1.0.0d.bb, do_compile) failed with exit code '1'
Waiting for 1 active tasks to finish:
0: readline-native-5.2-r8 do_compile (pid 2525)
NOTE: package readline-native-5.2-r8: task do_compile: Succeeded
ERROR: '/home/ste/stuff/openembedded/recipes/openssl/openssl-native_1.0.0d.bb' failed

I couldn't find any solution to the problem, any hint? I tried to upload the log file but I couldn't find any extension accepted!


Top
 Profile  
 
 Post subject: Re: Error building OpenEmbedded toolchain
PostPosted: Tue Oct 25, 2011 5:33 pm 
Offline
User avatar

Joined: Mon Jul 19, 2010 8:47 pm
Posts: 59
I've seen this problem as well. I believe it's caused (for my system, at least) by a change in the GCC toolchain when I upgraded from Ubuntu 11.04 to 11.10.

The problem has supposedly been fixed in the main branch of openembedded-core, but not yet in the maintenance branch, 2011.03.

This thread on the Gumstix users mailing list has some more details: http://old.nabble.com/openssl-native-co ... 58241.html

See also this thread on the OE list: http://lists.linuxtogo.org/pipermail/op ... html#35598

_________________
Brandon Stafford
Rascal Micro


Top
 Profile  
 
 Post subject: Re: Error building OpenEmbedded toolchain
PostPosted: Tue Oct 25, 2011 5:55 pm 
Offline
User avatar

Joined: Mon Jul 19, 2010 8:47 pm
Posts: 59
I think I've found a relatively simple solution from http://lists.linuxtogo.org/pipermail/op ... 35776.html

I just commented out the following line in recipes/openssl/openssl-native_1.0.0d.bb:
file://libdeps-first.patch \

I then ran:
bitbake -c clean openssl-native

After that, the build appears to have worked. I'm not sure if the second step was necessary.

_________________
Brandon Stafford
Rascal Micro


Top
 Profile  
 
 Post subject: Re: Error building OpenEmbedded toolchain
PostPosted: Tue Oct 25, 2011 9:26 pm 
Offline
User avatar

Joined: Mon Jul 19, 2010 8:47 pm
Posts: 59
One more thing: to build OpenEmbedded on Ubuntu 11.10, you're also need this patch from Ulf Samuelsson: http://patchwork.openembedded.org/patch/13737/

This patch will likely make it into one of the OE branches shortly, but I don't believe it has been applied as of October 25, 2011. Here's where Ulf sent it to the mailing list: http://lists.linuxtogo.org/pipermail/op ... 35768.html

(Thanks for the work, Ulf!)

_________________
Brandon Stafford
Rascal Micro


Top
 Profile  
 
 Post subject: Re: Error building OpenEmbedded toolchain
PostPosted: Wed Oct 26, 2011 5:49 pm 
Offline

Joined: Thu Jan 06, 2011 11:13 am
Posts: 31
I confirm, I had the same issue and the one about Python with Ubuntu 11.10.

Patches given by pingswept solve these issues.

You may also have ca checksum issue with the binutils package.


Ludovic


Top
 Profile  
 
 Post subject: Re: Error building OpenEmbedded toolchain
PostPosted: Wed Oct 26, 2011 6:49 pm 
Offline

Joined: Fri Feb 18, 2011 1:56 pm
Posts: 8
Thank you pingswept and Odulo for your help!

I just finished building, to sum up, the issues I faced were:
- Binutils wrong checksum (also happened with Ubuntu 11.04), solved just substituting the wrong checksum with the one required (according to a post found on the net)
- Openssl (patch suggested by pingswept)
- Python (patch suggested by pingswept)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: