Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Jul 26, 2014 4:12 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Jun 01, 2008 6:57 pm 
Offline
Regular Member

Joined: Mon Oct 01, 2007 11:29 pm
Posts: 79
Optware build environment download and setup a cross toolchain on linux PC. This is the toolchain that builds all the optware ipkg's.

see http://www.nslu2-linux.org/wiki/MSSII/HomePage the section starts with "To build optware ipkg for it".

In fact, you can use either cs05q3armel or cs06q3armel.

With cs06q3armel, a recent addition allows you to build a native toolchain as well (make binutils-ipk gcc). There are still some manual tweaking needed in the "make gcc-ipk" stage, so these two packages are still in alpha. See http://tech.groups.yahoo.com/group/nslu ... sage/21701

I'll of course gladly add these two packages to optware feed when they get sufficient alpha test results.

-Brian Zhou
bzhou at nslu2 dash linux dot org


Last edited by bzhou on Sun Jun 08, 2008 7:34 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Jun 08, 2008 7:33 pm 
Offline
Regular Member

Joined: Mon Oct 01, 2007 11:29 pm
Posts: 79
Although I have not received much feedback, since I've already tested the native toolchain on MSS II and HP MV2120, I decided to promote binutils/gcc to the optware/cs06q3armel feed. This is still alpha testing (use it at your own risk), but much easier to install.

This new feed is at
http://ipkg.nslu2-linux.org/feeds/optware/cs06q3armel/cross/unstable/

You can add this feed with either /opt/etc/ipkg.conf or /opt/etc/ipkg/some.conf file.

There is a known problem of optware gcc ipkg installing two files outside of /opt
Code:
/usr/lib/libc_nonshared.a
/usr/lib/libpthread_nonshared.a

This problem is not easy to solve, so I'll just leave it like that.

The gcc package probably can be more granular, but I'm too lazy.


Top
 Profile  
 
PostPosted: Mon Jun 09, 2008 4:13 pm 
Offline
Newbie

Joined: Mon Jan 29, 2007 3:07 am
Posts: 6
I got the following errors as I installed the package "libnsl" already. Should I use the libnsl from "stable" feed or I must use this for gcc?

Installing gcc (4.1.2-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa ... -1_arm.ipk
An error ocurred, return value: 2.
Collected errors:
Package gcc wants to install file /opt/lib/libnsl-2.3.6.so
But that file is already provided by package libnsl
Package gcc wants to install file /opt/lib/libnsl.so.1
But that file is already provided by package libnsl


Top
 Profile  
 
PostPosted: Mon Jun 09, 2008 6:43 pm 
Offline
Regular Member

Joined: Mon Oct 01, 2007 11:29 pm
Posts: 79
Thanks for testing. Fixed in svn to have gcc depend on libnsl instead of copying.

Probably it will take some while before gcc_4.1.2-2 reaching the feed.

I think files from either package should work, to be safe, before the new package reaches feed, install gcc with -force-overwrite, re-install libnsl with -force-overwrite.


Top
 Profile  
 
PostPosted: Sun Jun 15, 2008 8:27 pm 
Offline
Regular Member

Joined: Mon Oct 01, 2007 11:29 pm
Posts: 79
http://www.openmss.org/forum/viewtopic. ... 1044#p5018

use gcc_4.1.2-3 as gcc_4.1.2-2 breaks other packages.


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

All times are UTC [ 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:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group