Hi Ganesh, Thanks for your feedback!
Your solution of using older versions of Barry is interesting, and I'm glad you found a version that worked, but it also points to a problem in Barry itself. I'd rather have it possible to ./configure Barry for minimal systems. Could you tell me why the latest Barry was unsatisfactory for your needs? If you need a way to disable the non-USB libraries, then I should add that as a configure option. It shouldn't be too hard, and then you'd be running the latest USB part of the library, and following our protocol improvements as well. - Chris On Wed, Sep 21, 2011 at 03:09:26PM +0530, ganesh hegde wrote: > Dear Chris, > > Sorry for delayed reply. > I have tried to compile barry-0.0.1 version in android since I needed very > minimal features in barry i.e. to detect blackberry phone. > But I couldn't compile it successfully due to some compile time issues. > > It compiles in normal linux pc running over 2.6.28...But btool is unable to > detect the device > I even tried barry from 0.0.1 to 0.14...All the packages gave same error... > > Lastly I successfully compiled barry 0.15 on linux PC...and It is able to > detect the device. So I am thinking to port barry 0.15 for my android > platform. > > I have ported libusb 0.1.12 on android since barry needs that. > Now I am cross compiling Barry 0.15 on android > > Thanks for the support, > > Regards, > Ganesh Hegde > > On Fri, Sep 16, 2011 at 1:43 PM, Chris Frey <cdf...@foursquare.net> wrote: > > > Thanks! > > > > Is there anything I should add to Barry to make this static compile easier? > > > > There's not much I can do about the lack of exception support. > > > > - Chris > > > > > > On Fri, Sep 16, 2011 at 09:43:44AM +0200, Nicolas CARRIER wrote: > > > Hello > > > Compiling barry for Android is not trivial. > > > The two main problems we encountered are barry's dependencies and the > > > lack of some features in Android's C and C++ support (mainly > > > exceptions). What we had to do was to compile statically the binary we > > > were interested in, statically linked with another version of the libc > > > and statically linked with barry's other dependencies. The binary is > > > bigger (and maybe slower, don't know) but it was the least painful > > > solution we could think of. > > > > > > > > > On 09/16/11 09:17, Chris Frey wrote: > > > > Hi Ganesh, > > > > > > > > This is a good question to keep on the mailing list, for future > > reference, > > > > so I've CC'd the list as well. > > > > > > > > As for cross compiling, I believe it is simply a matter of overriding > > the > > > > configure variables for CC and CXX. I haven't done this myself, > > though, > > > > so there are probably details I'm missing. > > > > > > > > You shouldn't have to write your own Makefile, unless Android > > cross-compiling > > > > cannot use autoconf for some reason. > > > > > > > > Please keep us posted on your progress! > > > > > > > > - Chris > > > > > > > > > > > > On Fri, Sep 16, 2011 at 12:28:11PM +0530, ganesh hegde wrote: > > > >> Dear Chris, > > > >> > > > >> I am currently working on Barry porting on android. > > > >> My primary task is to cross compile barry for android 2.1 running over > > linux > > > >> 2.6.28 and ARM Processor. > > > >> Because I have to connect my Blackberry phone to android device > > through > > > >> USB. So android device has to detect the my phone. > > > >> > > > >> Please suggest me how to write barry make file for android so that it > > will > > > >> include all the dependencies for barry. > > > >> and what is the procedure to cross compile it for android? > > > >> > > > >> Regards, > > > >> Ganesh Hegde > > > > > > ------------------------------------------------------------------------------ > > > > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > > > http://p.sf.net/sfu/rim-devcon-copy2 > > > > _______________________________________________ > > > > Barry-devel mailing list > > > > Barry-devel@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/barry-devel > > > > > > > > > > > > > -- > > > Nicolas CARRIER - 6081 - 2?me centre > > > > > > > > > > > ------------------------------------------------------------------------------ > > > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > > http://p.sf.net/sfu/rim-devcon-copy2 > > > _______________________________________________ > > > Barry-devel mailing list > > > Barry-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/barry-devel > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel