Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Gigabeat S unstable

Re: Gigabeat S unstable

From: Rafaël Carré <rafael.carre_at_gmail.com>
Date: Fri, 30 Oct 2009 20:54:09 +0100

On Fri, 30 Oct 2009 20:32:30 +0100
Barry Wardell <barry.wardell_at_gmail.com> wrote:

> On Fri, Oct 30, 2009 at 5:51 PM, Rafaël Carré
> <rafael.carre_at_gmail.com>wrote:
>
> > open$unix_2003 or something like that?
> >
>
> These were the kind of errors that were affecting the compile of
> beastpatcher and were fixed by splitting the compiling and linking
> into two steps.
>
> The specific error, I get when compiling libusb with -arch ppc is:
>
> /bin/sh ./libtool --mode=link g++ -g -O2 -arch ppc -o libusbpp.la
                                             ^^^^^^^^^
> -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic
> -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation
> -Wl,-prebind -no-undefined -lusb -Wl,-seg1addr,0x01676000 usbpp.lo


> g++ -dynamiclib -single_module -o .libs/libusbpp-0.1.4.4.4.dylib
> .libs/usbpp.o /Users/barry/Rockbox/libusb/libusb-0.1.12/.libs/libusb.dylib
> -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation
> -Wl,-prebind -Wl,-seg1addr -Wl,0x01676000 -install_name
> /usr/local/lib/libusbpp-0.1.4.dylib -compatibility_version 9
> -current_version 9.4

libtool removes -arch for some reason, typing the g++ command line with
-arch ppc should work

-- 
Rafaël Carré

Received on 2009-10-30

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy