Hello

On Wed, Aug 18, 2010 at 12:36 PM, Eric Arseneau <e...@assetscience.com> wrote:
> So I pulled your latest, and got further.  Now I get
>
> libtool: link: g++ -ansi -Wall -g -g -O2 -o .libs/bidentify bidentify.o 
> -Wl,-bind_at_load  ../src/.libs/libbarry.dylib -L/opt/local/lib -lz 
> /opt/local/lib/libiconv.dylib /opt/local/lib/libusb.dylib 
> /opt/local/lib/libusb-1.0.dylib -lpthread -pthread
> Undefined symbols:
>  "_libintl_textdomain", referenced from:
>      _main in bidentify.o
>  "_libintl_bindtextdomain", referenced from:
>      _main in bidentify.o
>  "_libintl_setlocale", referenced from:
>      _main in bidentify.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> I tried to do a
>        configure --with-included-gettext --disable-nls

I've successfully built Barry for use on the Mac.  Where you're
presently at is quite close to the end :)  If you don't need other
language support (you're already used disable-nls, so I assume you
don't), you need to go into each and every file in the tools directory
and make sure to disable the imports for i18n package.  Here is what
my source looked like:

azazel:tools sheran$ grep -n "I18" *.cc
bcharge.cc:329: //INIT_I18N(PACKAGE);
bdptest.cc:52:  //INIT_I18N(PACKAGE);
bfuse.cc:753:   //INIT_I18N(PACKAGE);
bidentify.cc:51:        //INIT_I18N(PACKAGE);
bjavaloader.cc:222:     //INIT_I18N(PACKAGE);
bjdwp.cc:62:    //INIT_I18N(PACKAGE);
bjvmdebug.cc:60:        //INIT_I18N(PACKAGE);
bktrans.cc:113: //INIT_I18N(PACKAGE);
brecsum.cc:106: //INIT_I18N(PACKAGE);
breset.cc:60:   //INIT_I18N(PACKAGE);
brimtrans.cc:47:        //INIT_I18N(PACKAGE);
bs11nread.cc:118:       //INIT_I18N(PACKAGE);
btool.cc:565:   INIT_I18N(PACKAGE);
btranslate.cc:64:       //INIT_I18N(PACKAGE);
pppob.cc:131:   //INIT_I18N(PACKAGE);
upldif.cc:110:  //INIT_I18N(PACKAGE);

Give this a go and let us know how you get on.

Kind regards,
Sheran

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to