porting finch to uClinux

Bill Fassler bill.fassler at yahoo.com
Tue Jun 12 09:46:05 EDT 2007


I did seem to get past purple-client-example by disabling dbus, but I still fail in the examples and this type of failure also explains why I believe the build is still trying to link to host machine libraries instead of target libraries.

make  all-recursive
make[1]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0'
Making all in libpurple
make[2]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple'
make  all-recursive
make[3]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple'
Making all in gconf
make[4]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/gconf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/gconf'
Making all in plugins
make[4]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/plugins'
Making all in ssl
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/plugins/ssl'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/plugins/ssl'
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/plugins'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/plugins'
make[4]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/plugins'
Making all in protocols
make[4]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols'
Making all in gg
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/gg'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/gg'
Making all in irc
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/irc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/irc'
Making all in jabber
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/jabber'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/jabber'
Making all in msn
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/msn'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/msn'
Making all in novell
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/novell'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/novell'
Making all in oscar
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/oscar'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/oscar'
Making all in qq
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/qq'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/qq'
Making all in simple
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/simple'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/simple'
Making all in yahoo
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/yahoo'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/yahoo'
Making all in zephyr
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/zephyr'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/zephyr'
make[5]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols'
make[4]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols'
Making all in tests
make[4]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/tests'
Making all in .
make[4]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple'
Making all in example
make[4]: Entering directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/example'
/bin/sh ../../libtool --silent --tag=CC --mode=link bfin-uclinux-gcc -Wl,-elf2flt  -g -g -O2   -o nullclient -export-dynamic nullclient.o   -Wl,--export-dynamic -pthread -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0   -lxml2 -lz -lm   ../../libpurple/libpurple.la -lnsl -lresolv 
/usr/local/lib/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [nullclient] Error 1
make[4]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/example'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0'
make: *** [all] Error 2


Stu Tomlinson <stu at nosnilmot.com> wrote: On Mon, 2007-06-11 at 14:52 -0700, Bill Fassler wrote:
> I have managed to cross compile (I think) all the protocols and am
> currently failing in purple-client-example.  Is this truly necessary
> for finch?  It might be easier for me NOT to build this if it is just
> an example..... Can I safely remove this from the build??

I suggest you start by trying --disable-dbus added to your ./configure
arguments. Once you have libpurple/finch going you can then look at
adding dbus support (as required by purple-client-example)

> I also think the libtool script is outsmarting me and still pulling in
> host includes and libraries..... so I'm not sure if my executable will
> work....but I seem to be making progress...

What makes you think this?

Regards,


Stu.

_______________________________________________
Devel mailing list
Devel at pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/devel


 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20070612/f1eb12df/attachment.html>


More information about the Devel mailing list