Re: [twitter-dev] Re: IPhone + Twitter + LinkedIn Error : Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

2011-03-14 Thread Bess Ho
*From Linkedin response:*
http://developer.linkedin.com/message/8675#8675

If you are not using an oauth callback, the user will need to return to your
application themselves and input the token for you to use for verification.
If you are using a callback, the user will never see the PIN screen.  See
the documentation on Using OAuth with the LinkedIn
APIsfor more information.

*See more explanation here*
http://developer.linkedin.com/docs/DOC-1008#comment-1337

If the member chooses to authorize your application, you'll get two fields
back: oauth_token and an oauth_verifier. The oauth_token will be the same
requestToken you received in the first step. You'll want to temporarily
store the oauth_verifier so that you can use it as part of your accessToken
request in the next step.

In the examples used so far, the callback specified in the requestToken step
would receive a request like this:

http://localhost/oauth_callback?oauth_token=94ab03c4-ae2c-45e4-8732-0e6c4899db63&oauth_verifier=98295

If the member chooses to deny your application a token (by pressing the
Cancel button in the authorization flow), we redirect them back to your
server. We send them to either the "Integration URL" you defined for your
application, or, if that value is blank, the OAuth callback URL you passed
in your request.  However we do not send a token or secret. Instead your
callback will include the url parameter oauth_problem with the value
user_refused.

Note: If you're performing an out-of-band style request (indicated by
setting the oauth_callback to "oob", the user is be directed to a page
containing the OAuth Verifier step. They can then return to your application
and hand-enter the OAuth verifier code, which you pass back to us in the
next step. Otherwise, all of these steps remain the same. Out of band
requests are done where there is no natural web flow available as part of
your application.
On Mon, Mar 14, 2011 at 4:35 PM, Bess Ho  wrote:

>
> http://stackoverflow.com/questions/5297783/linkedin-successfull-authrized-interface-on-iphone
>
> The problems you are facing on Linkedin authorized page are similar to
> Twitter. Initially Twitter authorized page is not optimized to mobile
> browser screen size. This is not related to your code at all.
>
> Since I am not sure where Linkedin developer group is and I didn't sign up
> for the developer group mailing list, I'll see if I could contact Linkedin
> directly about this issue.
>
>
> On Mon, Mar 14, 2011 at 2:08 AM, Bess Ho  wrote:
>
>> Congratulation. Are you planning to post photos than updating status on
>> Twitter, FB, & Linkedin at the same time?
>>
>>
>> On Mon, Mar 14, 2011 at 2:01 AM, Battan Amit  wrote:
>>
>>> *Solved *
>>>
>>> solved now...I have given the same key and secret to both linkedin and
>>> twitter ..after changing them it works
>>> 
>>> AB
>>>
>>> On 14 March 2011 11:55, Battan Amit  wrote:
>>>
 I done one thing that is ... I remove the library files of linkedin
 sdk.. and add the source files of it with oAuth files from twiiter sdk...
 then it works ok for linkedin http://i.imgur.com/cXLXU.png
 http://i.imgur.com/ntV9G.png then I integrate all twitter code then
 project run ok without error but for twitter login interface it shows PAGE
 NOT FOUND ..http://i.imgur.com/8a1ua.png


 
 AB




 On 12 March 2011 11:44, Bess  wrote:

> First of all it is difficult to identify errors esp you don't have the
> source code. However the stockoverflow discussion was good enough to
> point out the general problems.
>
> ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
> Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
> Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
> and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
> +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
>
> Problem is: duplicate symbol
>
> It occurs on _EstimateBas64EncodedDataSize from LinkedinClientLibrary
> in libLinkedInClientLibrary.a(Base64Transcoder.o) and Twitter+OAuth in
> libOAuth.a(Base64Transcoder.o).
>
> Note: LinkedIn library and Ben Gottlieb's Twitter client include the
> same OAuthConsumer code. It is duplicated. libLinkedInClientLibrary
> and libOAuth both symbolicate the same method
> '_EstimateBas64EncodedDataSize'. Check your #imports.
>
> Just do a search within your Xcode project on
> _EstimateBas64EncodedDataSize. Find out where the duplicated methods.
> Determine which one you should remove.
>
> On Mar 11, 4:56 am, Battan Ror  wrote:
> > HI All
> >
> > I am using MGTwitterEngine oAuth and LinkedIn iOS sdk in my Iphone
> > application with facebook-ios-sdk
> >
> > TwitterEngine :https://github.com/bengottlieb/Twitter-OAuth-iPhone
> >
> 

Re: [twitter-dev] Re: IPhone + Twitter + LinkedIn Error : Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

2011-03-14 Thread Bess Ho
http://stackoverflow.com/questions/5297783/linkedin-successfull-authrized-interface-on-iphone

The problems you are facing on Linkedin authorized page are similar to
Twitter. Initially Twitter authorized page is not optimized to mobile
browser screen size. This is not related to your code at all.

Since I am not sure where Linkedin developer group is and I didn't sign up
for the developer group mailing list, I'll see if I could contact Linkedin
directly about this issue.

On Mon, Mar 14, 2011 at 2:08 AM, Bess Ho  wrote:

> Congratulation. Are you planning to post photos than updating status on
> Twitter, FB, & Linkedin at the same time?
>
>
> On Mon, Mar 14, 2011 at 2:01 AM, Battan Amit  wrote:
>
>> *Solved *
>>
>> solved now...I have given the same key and secret to both linkedin and
>> twitter ..after changing them it works
>> 
>> AB
>>
>> On 14 March 2011 11:55, Battan Amit  wrote:
>>
>>> I done one thing that is ... I remove the library files of linkedin sdk..
>>> and add the source files of it with oAuth files from twiiter sdk... then it
>>> works ok for linkedin http://i.imgur.com/cXLXU.png
>>> http://i.imgur.com/ntV9G.png then I integrate all twitter code then
>>> project run ok without error but for twitter login interface it shows PAGE
>>> NOT FOUND ..http://i.imgur.com/8a1ua.png
>>>
>>>
>>> 
>>> AB
>>>
>>>
>>>
>>>
>>> On 12 March 2011 11:44, Bess  wrote:
>>>
 First of all it is difficult to identify errors esp you don't have the
 source code. However the stockoverflow discussion was good enough to
 point out the general problems.

 ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
 Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
 Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
 and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
 +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)

 Problem is: duplicate symbol

 It occurs on _EstimateBas64EncodedDataSize from LinkedinClientLibrary
 in libLinkedInClientLibrary.a(Base64Transcoder.o) and Twitter+OAuth in
 libOAuth.a(Base64Transcoder.o).

 Note: LinkedIn library and Ben Gottlieb's Twitter client include the
 same OAuthConsumer code. It is duplicated. libLinkedInClientLibrary
 and libOAuth both symbolicate the same method
 '_EstimateBas64EncodedDataSize'. Check your #imports.

 Just do a search within your Xcode project on
 _EstimateBas64EncodedDataSize. Find out where the duplicated methods.
 Determine which one you should remove.

 On Mar 11, 4:56 am, Battan Ror  wrote:
 > HI All
 >
 > I am using MGTwitterEngine oAuth and LinkedIn iOS sdk in my Iphone
 > application with facebook-ios-sdk
 >
 > TwitterEngine :https://github.com/bengottlieb/Twitter-OAuth-iPhone
 >
 > LinkedInIphone :https://github.com/ResultsDirect/LinkedIn-iPhone
 >
 > Both integrated well separately, But when I have used both in
 > application then error coming
 >
 > FB + Twitter = working well
 > FB + LinkedIn = Working Well
 > FB + Twitter + LinkedIn = Not Working
 >
 > and giving error
 >
 > Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
 > bin/gcc-4.2 failed with exit code 1
 >
 > Please help me where I am wrong.
 >
 > Error Transcript Text File
 >
 > Build butterfli of project butterfli with configuration Debug
 >
 > Ld build/Debug-iphonesimulator/butterfli.app/butterfli normal i386
 > cd /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli
 > setenv MACOSX_DEPLOYMENT_TARGET 10.6
 > setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/
 > usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
 > /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
 > gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
 > iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/
 > Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-
 > iphonesimulator "-L/Users/pratgupta/Desktop/Settinglinkedin/
 > 10_mar_butterfli/Twitter+OAuth/Libraries & Headers"
 -F/Users/pratgupta/
 > Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator -
 > filelist /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/
 > build/butterfli.build/Debug-iphonesimulator/butterfli.build/Objects-
 > normal/i386/butterfli.LinkFileList -mmacosx-version-min=10.6 -all_load
 > -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework
 > UIKit -framework CoreGraphics -lOAuth -lxml2 /Users/pratgupta/Desktop/
 > Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/Debug-
 > iphonesimulator/libLinkedInClientLibrary.a -o
 /Users/pratgupta/Desktop/
 > Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator/
 > but

Re: [twitter-dev] Re: IPhone + Twitter + LinkedIn Error : Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

2011-03-14 Thread Bess Ho
Congratulation. Are you planning to post photos than updating status on
Twitter, FB, & Linkedin at the same time?

On Mon, Mar 14, 2011 at 2:01 AM, Battan Amit  wrote:

> *Solved *
>
> solved now...I have given the same key and secret to both linkedin and
> twitter ..after changing them it works
> 
> AB
>
> On 14 March 2011 11:55, Battan Amit  wrote:
>
>> I done one thing that is ... I remove the library files of linkedin sdk..
>> and add the source files of it with oAuth files from twiiter sdk... then it
>> works ok for linkedin http://i.imgur.com/cXLXU.png
>> http://i.imgur.com/ntV9G.png then I integrate all twitter code then
>> project run ok without error but for twitter login interface it shows PAGE
>> NOT FOUND ..http://i.imgur.com/8a1ua.png
>>
>>
>> 
>> AB
>>
>>
>>
>>
>> On 12 March 2011 11:44, Bess  wrote:
>>
>>> First of all it is difficult to identify errors esp you don't have the
>>> source code. However the stockoverflow discussion was good enough to
>>> point out the general problems.
>>>
>>> ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
>>> Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
>>> Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
>>> and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
>>> +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
>>>
>>> Problem is: duplicate symbol
>>>
>>> It occurs on _EstimateBas64EncodedDataSize from LinkedinClientLibrary
>>> in libLinkedInClientLibrary.a(Base64Transcoder.o) and Twitter+OAuth in
>>> libOAuth.a(Base64Transcoder.o).
>>>
>>> Note: LinkedIn library and Ben Gottlieb's Twitter client include the
>>> same OAuthConsumer code. It is duplicated. libLinkedInClientLibrary
>>> and libOAuth both symbolicate the same method
>>> '_EstimateBas64EncodedDataSize'. Check your #imports.
>>>
>>> Just do a search within your Xcode project on
>>> _EstimateBas64EncodedDataSize. Find out where the duplicated methods.
>>> Determine which one you should remove.
>>>
>>> On Mar 11, 4:56 am, Battan Ror  wrote:
>>> > HI All
>>> >
>>> > I am using MGTwitterEngine oAuth and LinkedIn iOS sdk in my Iphone
>>> > application with facebook-ios-sdk
>>> >
>>> > TwitterEngine :https://github.com/bengottlieb/Twitter-OAuth-iPhone
>>> >
>>> > LinkedInIphone :https://github.com/ResultsDirect/LinkedIn-iPhone
>>> >
>>> > Both integrated well separately, But when I have used both in
>>> > application then error coming
>>> >
>>> > FB + Twitter = working well
>>> > FB + LinkedIn = Working Well
>>> > FB + Twitter + LinkedIn = Not Working
>>> >
>>> > and giving error
>>> >
>>> > Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
>>> > bin/gcc-4.2 failed with exit code 1
>>> >
>>> > Please help me where I am wrong.
>>> >
>>> > Error Transcript Text File
>>> >
>>> > Build butterfli of project butterfli with configuration Debug
>>> >
>>> > Ld build/Debug-iphonesimulator/butterfli.app/butterfli normal i386
>>> > cd /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli
>>> > setenv MACOSX_DEPLOYMENT_TARGET 10.6
>>> > setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/
>>> > usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>>> > /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
>>> > gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
>>> > iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/
>>> > Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-
>>> > iphonesimulator "-L/Users/pratgupta/Desktop/Settinglinkedin/
>>> > 10_mar_butterfli/Twitter+OAuth/Libraries & Headers" -F/Users/pratgupta/
>>> > Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator -
>>> > filelist /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/
>>> > build/butterfli.build/Debug-iphonesimulator/butterfli.build/Objects-
>>> > normal/i386/butterfli.LinkFileList -mmacosx-version-min=10.6 -all_load
>>> > -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework
>>> > UIKit -framework CoreGraphics -lOAuth -lxml2 /Users/pratgupta/Desktop/
>>> > Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/Debug-
>>> > iphonesimulator/libLinkedInClientLibrary.a -o /Users/pratgupta/Desktop/
>>> > Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator/
>>> > butterfli.app/butterfli
>>> >
>>> > ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
>>> > Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
>>> > Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
>>> > and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
>>> > +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
>>> > collect2: ld returned 1 exit status
>>> > Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
>>> > bin/gcc-4.2 failed with exit code 1
>>> >
>>> > Some discussion on the Issue herehttp://
>>> stackoverflow.com/questions/525974

Re: [twitter-dev] Re: IPhone + Twitter + LinkedIn Error : Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

2011-03-14 Thread Battan Amit
*Solved *


solved now...I have given the same key and secret to both linkedin and
twitter ..after changing them it works


AB



On 14 March 2011 11:55, Battan Amit  wrote:

> I done one thing that is ... I remove the library files of linkedin sdk..
> and add the source files of it with oAuth files from twiiter sdk... then it
> works ok for linkedin http://i.imgur.com/cXLXU.png
> http://i.imgur.com/ntV9G.png then I integrate all twitter code then
> project run ok without error but for twitter login interface it shows PAGE
> NOT FOUND ..http://i.imgur.com/8a1ua.png
>
>
> 
> AB
>
>
>
>
> On 12 March 2011 11:44, Bess  wrote:
>
>> First of all it is difficult to identify errors esp you don't have the
>> source code. However the stockoverflow discussion was good enough to
>> point out the general problems.
>>
>> ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
>> Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
>> Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
>> and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
>> +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
>>
>> Problem is: duplicate symbol
>>
>> It occurs on _EstimateBas64EncodedDataSize from LinkedinClientLibrary
>> in libLinkedInClientLibrary.a(Base64Transcoder.o) and Twitter+OAuth in
>> libOAuth.a(Base64Transcoder.o).
>>
>> Note: LinkedIn library and Ben Gottlieb's Twitter client include the
>> same OAuthConsumer code. It is duplicated. libLinkedInClientLibrary
>> and libOAuth both symbolicate the same method
>> '_EstimateBas64EncodedDataSize'. Check your #imports.
>>
>> Just do a search within your Xcode project on
>> _EstimateBas64EncodedDataSize. Find out where the duplicated methods.
>> Determine which one you should remove.
>>
>> On Mar 11, 4:56 am, Battan Ror  wrote:
>> > HI All
>> >
>> > I am using MGTwitterEngine oAuth and LinkedIn iOS sdk in my Iphone
>> > application with facebook-ios-sdk
>> >
>> > TwitterEngine :https://github.com/bengottlieb/Twitter-OAuth-iPhone
>> >
>> > LinkedInIphone :https://github.com/ResultsDirect/LinkedIn-iPhone
>> >
>> > Both integrated well separately, But when I have used both in
>> > application then error coming
>> >
>> > FB + Twitter = working well
>> > FB + LinkedIn = Working Well
>> > FB + Twitter + LinkedIn = Not Working
>> >
>> > and giving error
>> >
>> > Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
>> > bin/gcc-4.2 failed with exit code 1
>> >
>> > Please help me where I am wrong.
>> >
>> > Error Transcript Text File
>> >
>> > Build butterfli of project butterfli with configuration Debug
>> >
>> > Ld build/Debug-iphonesimulator/butterfli.app/butterfli normal i386
>> > cd /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli
>> > setenv MACOSX_DEPLOYMENT_TARGET 10.6
>> > setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/
>> > usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>> > /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
>> > gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
>> > iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/
>> > Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-
>> > iphonesimulator "-L/Users/pratgupta/Desktop/Settinglinkedin/
>> > 10_mar_butterfli/Twitter+OAuth/Libraries & Headers" -F/Users/pratgupta/
>> > Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator -
>> > filelist /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/
>> > build/butterfli.build/Debug-iphonesimulator/butterfli.build/Objects-
>> > normal/i386/butterfli.LinkFileList -mmacosx-version-min=10.6 -all_load
>> > -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework
>> > UIKit -framework CoreGraphics -lOAuth -lxml2 /Users/pratgupta/Desktop/
>> > Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/Debug-
>> > iphonesimulator/libLinkedInClientLibrary.a -o /Users/pratgupta/Desktop/
>> > Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator/
>> > butterfli.app/butterfli
>> >
>> > ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
>> > Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
>> > Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
>> > and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
>> > +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
>> > collect2: ld returned 1 exit status
>> > Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
>> > bin/gcc-4.2 failed with exit code 1
>> >
>> > Some discussion on the Issue herehttp://
>> stackoverflow.com/questions/5259747
>> >
>> > Amit Battan
>>
>> --
>> Twitter developer documentation and resources: http://dev.twitter.com/doc
>> API updates via Twitter: http://twitter.com/twitterapi
>> Issues/Enhancements Tracker:
>> http://code.google.com/p/twitter-api/issues/list
>> Change your membership to t

Re: [twitter-dev] Re: IPhone + Twitter + LinkedIn Error : Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

2011-03-13 Thread Battan Amit
I done one thing that is ... I remove the library files of linkedin sdk..
and add the source files of it with oAuth files from twiiter sdk... then it
works ok for linkedin http://i.imgur.com/cXLXU.png
http://i.imgur.com/ntV9G.png then I integrate all twitter code then
project run ok without error but for twitter login interface it shows PAGE
NOT FOUND ..http://i.imgur.com/8a1ua.png



AB



On 12 March 2011 11:44, Bess  wrote:

> First of all it is difficult to identify errors esp you don't have the
> source code. However the stockoverflow discussion was good enough to
> point out the general problems.
>
> ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
> Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
> Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
> and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
> +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
>
> Problem is: duplicate symbol
>
> It occurs on _EstimateBas64EncodedDataSize from LinkedinClientLibrary
> in libLinkedInClientLibrary.a(Base64Transcoder.o) and Twitter+OAuth in
> libOAuth.a(Base64Transcoder.o).
>
> Note: LinkedIn library and Ben Gottlieb's Twitter client include the
> same OAuthConsumer code. It is duplicated. libLinkedInClientLibrary
> and libOAuth both symbolicate the same method
> '_EstimateBas64EncodedDataSize'. Check your #imports.
>
> Just do a search within your Xcode project on
> _EstimateBas64EncodedDataSize. Find out where the duplicated methods.
> Determine which one you should remove.
>
> On Mar 11, 4:56 am, Battan Ror  wrote:
> > HI All
> >
> > I am using MGTwitterEngine oAuth and LinkedIn iOS sdk in my Iphone
> > application with facebook-ios-sdk
> >
> > TwitterEngine :https://github.com/bengottlieb/Twitter-OAuth-iPhone
> >
> > LinkedInIphone :https://github.com/ResultsDirect/LinkedIn-iPhone
> >
> > Both integrated well separately, But when I have used both in
> > application then error coming
> >
> > FB + Twitter = working well
> > FB + LinkedIn = Working Well
> > FB + Twitter + LinkedIn = Not Working
> >
> > and giving error
> >
> > Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
> > bin/gcc-4.2 failed with exit code 1
> >
> > Please help me where I am wrong.
> >
> > Error Transcript Text File
> >
> > Build butterfli of project butterfli with configuration Debug
> >
> > Ld build/Debug-iphonesimulator/butterfli.app/butterfli normal i386
> > cd /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli
> > setenv MACOSX_DEPLOYMENT_TARGET 10.6
> > setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/
> > usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
> > /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
> > gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
> > iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/
> > Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-
> > iphonesimulator "-L/Users/pratgupta/Desktop/Settinglinkedin/
> > 10_mar_butterfli/Twitter+OAuth/Libraries & Headers" -F/Users/pratgupta/
> > Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator -
> > filelist /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/
> > build/butterfli.build/Debug-iphonesimulator/butterfli.build/Objects-
> > normal/i386/butterfli.LinkFileList -mmacosx-version-min=10.6 -all_load
> > -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework
> > UIKit -framework CoreGraphics -lOAuth -lxml2 /Users/pratgupta/Desktop/
> > Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/Debug-
> > iphonesimulator/libLinkedInClientLibrary.a -o /Users/pratgupta/Desktop/
> > Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator/
> > butterfli.app/butterfli
> >
> > ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
> > Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
> > Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
> > and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
> > +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
> > collect2: ld returned 1 exit status
> > Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
> > bin/gcc-4.2 failed with exit code 1
> >
> > Some discussion on the Issue herehttp://
> stackoverflow.com/questions/5259747
> >
> > Amit Battan
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membe

[twitter-dev] Re: IPhone + Twitter + LinkedIn Error : Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

2011-03-11 Thread Bess
First of all it is difficult to identify errors esp you don't have the
source code. However the stockoverflow discussion was good enough to
point out the general problems.

ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
+OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)

Problem is: duplicate symbol

It occurs on _EstimateBas64EncodedDataSize from LinkedinClientLibrary
in libLinkedInClientLibrary.a(Base64Transcoder.o) and Twitter+OAuth in
libOAuth.a(Base64Transcoder.o).

Note: LinkedIn library and Ben Gottlieb's Twitter client include the
same OAuthConsumer code. It is duplicated. libLinkedInClientLibrary
and libOAuth both symbolicate the same method
'_EstimateBas64EncodedDataSize'. Check your #imports.

Just do a search within your Xcode project on
_EstimateBas64EncodedDataSize. Find out where the duplicated methods.
Determine which one you should remove.

On Mar 11, 4:56 am, Battan Ror  wrote:
> HI All
>
> I am using MGTwitterEngine oAuth and LinkedIn iOS sdk in my Iphone
> application with facebook-ios-sdk
>
> TwitterEngine :https://github.com/bengottlieb/Twitter-OAuth-iPhone
>
> LinkedInIphone :https://github.com/ResultsDirect/LinkedIn-iPhone
>
> Both integrated well separately, But when I have used both in
> application then error coming
>
> FB + Twitter = working well
> FB + LinkedIn = Working Well
> FB + Twitter + LinkedIn = Not Working
>
> and giving error
>
> Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
> bin/gcc-4.2 failed with exit code 1
>
> Please help me where I am wrong.
>
> Error Transcript Text File
>
> Build butterfli of project butterfli with configuration Debug
>
> Ld build/Debug-iphonesimulator/butterfli.app/butterfli normal i386
> cd /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli
> setenv MACOSX_DEPLOYMENT_TARGET 10.6
> setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/
> usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
> gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
> iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/
> Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-
> iphonesimulator "-L/Users/pratgupta/Desktop/Settinglinkedin/
> 10_mar_butterfli/Twitter+OAuth/Libraries & Headers" -F/Users/pratgupta/
> Desktop/Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator -
> filelist /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/
> build/butterfli.build/Debug-iphonesimulator/butterfli.build/Objects-
> normal/i386/butterfli.LinkFileList -mmacosx-version-min=10.6 -all_load
> -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework
> UIKit -framework CoreGraphics -lOAuth -lxml2 /Users/pratgupta/Desktop/
> Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/Debug-
> iphonesimulator/libLinkedInClientLibrary.a -o /Users/pratgupta/Desktop/
> Settinglinkedin/10_mar_butterfli/build/Debug-iphonesimulator/
> butterfli.app/butterfli
>
> ld: duplicate symbol _EstimateBas64EncodedDataSize in /Users/pratgupta/
> Desktop/Settinglinkedin/10_mar_butterfli/LinkedInClientLibrary/build/
> Debug-iphonesimulator/libLinkedInClientLibrary.a(Base64Transcoder.o)
> and /Users/pratgupta/Desktop/Settinglinkedin/10_mar_butterfli/Twitter
> +OAuth/Libraries & Headers/libOAuth.a(Base64Transcoder.o)
> collect2: ld returned 1 exit status
> Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
> bin/gcc-4.2 failed with exit code 1
>
> Some discussion on the Issue herehttp://stackoverflow.com/questions/5259747
>
> Amit Battan

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk