Re: Problem with opencbm, xu1541 and xubuntu12.04

From: Uffe Jakobsen <uffe_at_uffe.org>
Date: Mon, 28 May 2012 03:53:49 +0200
Message-ID: <4FC2DAAD.1080406@uffe.org>
Hi Gerrit,

On 05/26/2012 06:58 PM, Gerrit Heitsch wrote:
> On 05/24/2012 09:30 PM, Spiro Trikaliotis wrote:
>> * On Thu, May 24, 2012 at 11:33:38AM -0700 Nate Lawson wrote:
>>
>>> Probably better to ask this on the opencbm-user list.
>>
>> Indeed.
>
> Hm, subscribing to a mailing list for a single question feels like
> overkill to me.
>
>....
>
> My approach worked without problems the last time I installed opencbm.
>

Well you've upgraded to ubuntu 12.04 in the meantime - and that have 
changed everything ;-)

Anyway I've just posted this to the opencbm-user list - and as a special 
service for you I'm repeating it here :-)

===== Quote ON ======

Regarding OpenCBM libusb link-order problem:

The problem is quite generic and it is pure luck that is hasn't occoured 
long time ago.

The problem is (as always) related to binutils-ld.
Obejct files that refer to library based functions should always be
placed before the actual library on the commandline. This was not the
case with OpenCBM. The binutils-ld linker have always been quite picky
about placement of libraries - but now that ubuntu have gone from
binutils 2.21.x to 2.22.x it has become more picky than normal.

The attached patch fixes the above mentioned link-order problem for both 
xum1541 *and* xu1541 plugins.

Reports on the cbm-hacker list indicates that xu1541 has the same problem

===== Quote OFF =====

You should be able to download the patch here:

http://opencbm-user.22011.n6.nabble.com/opencbm-user-libusb-link-order-patch-td19.html

Disclaimer: The fix works for xum1541 - but as I have no xu1541 cable - 
I have no way of verifying the fix for xu1541 - and hence I rely on your 
feedback and tests before any commit to opencbm is made - thanks in advance.

Hope it works for you.

/Uffe



       Message was sent through the cbm-hackers mailing list
Received on 2012-05-28 02:00:04

Archive generated by hypermail 2.2.0.