Message from discussion
-all_load breaks my app
Received: by 10.204.143.145 with SMTP id v17mr2507032bku.7.1338401147629;
Wed, 30 May 2012 11:05:47 -0700 (PDT)
X-BeenThere: rdio-api@googlegroups.com
Received: by 10.205.129.148 with SMTP id hi20ls407944bkc.0.gmail; Wed, 30 May
2012 11:05:46 -0700 (PDT)
Received: by 10.204.157.134 with SMTP id b6mr2510771bkx.5.1338401146013;
Wed, 30 May 2012 11:05:46 -0700 (PDT)
Received: by 10.204.157.134 with SMTP id b6mr2510770bkx.5.1338401145998;
Wed, 30 May 2012 11:05:45 -0700 (PDT)
Return-Path: <devin.sevi...@rd.io>
Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53])
by gmr-mx.google.com with ESMTPS id iv15si306468bkc.0.2012.05.30.11.05.45
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 30 May 2012 11:05:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of devin.sevi...@rd.io designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of devin.sevi...@rd.io designates 209.85.215.53 as permitted sender) smtp.mail=devin.sevi...@rd.io
Received: by mail-lpp01m010-f53.google.com with SMTP id u2so78301lag.26
for <rdio-api@googlegroups.com>; Wed, 30 May 2012 11:05:45 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:x-gm-message-state;
bh=miUsrGrTKQ9/swlvu4ikU/aPd/TE7U0COdPE0TgVYBU=;
b=Q5EwDpKbrKlXXMTfClmOaVLsUl0sbpbCqVHMvrWpNafFWAqMy6MqW0hmyRLRNdf0IR
R3SH5BANzSrZHmLcxkchaEJlKKQ+mx5T/N3DoYCK5kuaOFOzQUpLVcwTwhvQHXfCJir+
BnRNXUnoNet32I563Eh2cqt1h6Mqt1XyV0ZYQz54nO5myMvZt9OOqoPFT/SVHJh5IAk/
PBi4qa5wlXZbyZexGeuZwjKkdPdmk0btEDWjWrj130Oauo+6WBLQXSGS/0XvIR5pbMPh
xUhtoZ6JVu+WPBIzuYdbYuyWBICsXpUafC0aTUSPkYp1PbFZK9TTVEp6votkY/OeSpmR
a1fg==
MIME-Version: 1.0
Received: by 10.112.84.65 with SMTP id w1mr7255345lby.40.1338401145216; Wed,
30 May 2012 11:05:45 -0700 (PDT)
Received: by 10.114.65.46 with HTTP; Wed, 30 May 2012 11:05:45 -0700 (PDT)
In-Reply-To: <8ab7ee93-9cdb-478a-b1eb-ff8b9f83d...@ra8g2000pbc.googlegroups.com>
References: <8ab7ee93-9cdb-478a-b1eb-ff8b9f83d...@ra8g2000pbc.googlegroups.com>
Date: Wed, 30 May 2012 11:05:45 -0700
Message-ID: <CAGa4ncdFKwyyxazhBbi+rdDui=8DqN+FrXS8+c6eG44kVGd...@mail.gmail.com>
Subject: Re: [rdio-api] -all_load breaks my app
From: Devin Sevilla <devin.sevi...@rd.io>
To: rdio-api@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQnRSt0IFvAmIVmUK62QoKC7fcWl5hfMW8t8Zp5RocGS7Tuw+nQxtfSFl8Mdk12IHn0cBnwj
On Tue, May 29, 2012 at 6:53 PM, JoshWright <joshinnor...@gmail.com> wrote:
> If I add that flag, then another third party library breaks giving me
> the error message:
>
> ld: duplicate symbol _vw_chartype_table_p in /Users/joshinnorman/
> Projects/app/libs/libvt_universal.a(vw_ctype-3279EF26D0C25F3A.o) and /
> Users/joshinnorman/Projects/app/libs/
> libvt_universal.a(vw_ctype-34AB9EC0B46D954C.o) for architecture i386
>
I believe this is an issue with the library you are using,
libvt_universal.a. It is defining the symbol _vw_chartype_table_p
twice. This is a common issue that can occur with improper use of
header includes or implementing functions with the same name in two
places.
What is the name of the third-party library you are using? I'd like to
compile it myself and look at the symbol table.
> Is there any way to use the Rdio library without using -all_load?
The -all_load flag is required because the library uses categories.
See Apple Technical Q&A QA1490 for a detailed description.
--
Devin Sevilla
API Engineer, Rdio Inc.