porting finch to uClinux on blackfin

Bill Fassler bill.fassler at yahoo.com
Tue Oct 16 11:38:08 EDT 2007


Stu (et al) -

I am now using the newest tarball.  I still had some sort of problem with Jabber, but for the
short term I just removed it (once I get past this hurdle I will reenable it and give feedback). 
I was able to build OSCAR without any known issues. I still had to modify configure.ac in
order to get my linking flags (-lpanel, -lncurses) in the proper order.  I will submit a patch
for the team's consideration since I do not think my modifications will adversely affect the
main stream users but should help all those just building Finch, it is certainly a mandatory
modification for me to get the console enabled.

I now have a problem with libgnt.so and undefined libpanel symbols.

I now crash in a fashion that looks like panel.h can not be found.  It is there and I even copied
it over to a couple other locations just to try to figure out why the automake environment
couldn't seem to find it.

I am still digging, but if anyone has any thoughts.... I'm listening. Keep in mind this problem
seems to be unique to 2.2.1:

*********************************************************************
                                 ERROR
*********************************************************************
/bin/bash ../libtool --silent --tag=CC   --mode=link bfin-linux-uclibc-gcc  -g -D__linux__ -DNOMMU -I/home/vocal/project/blackfin-svn-release/uClinux-dist/romfs/usr/include -I/home/vocal/project/blackfin-svn-release/uClinux-dist/staging/usr/include -export-dynamic -lpthread -L/home/vocal/project/blackfin-svn-release/uClinux-dist/romfs/usr/lib -L/home/vocal/project/blackfin-svn-release/uClinux-dist/romfs/lib -L/home/vocal/project/blackfin-svn-release/uClinux-dist/staging/usr/lib -Wl,-rpath-link=/home/vocal/project/blackfin-svn-release/uClinux-dist/romfs/usr/lib -L/home/vocal/project/blackfin-svn-release/uClinux-dist/romfs/lib -L/home/vocal/project/blackfin-svn-release/staging/usr/lib -o finch gntaccount.o gntblist.o gntcertmgr.o gntconn.o gntconv.o gntdebug.o gntft.o finch.o gntidle.o gntnotify.o gntplugin.o gntpounce.o gntprefs.o gntrequest.o gntsound.o gntstatus.o gntui.o  -lintl  -Wl,--export-dynamic -pthread
 -L/home/vocal/project/blackfin-svn-release/uClinux-dist/romfs/usr/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lintl -liconv   -L/home/vocal/project/blackfin-svn-release/uClinux-dist/romfs/usr/lib -lxml2   -lncurses  ./libgnt/libgnt.la ../libpurple/libpurple.la -lnsl -lresolv 
./libgnt/.libs/libgnt.so: undefined reference to `_panel_userptr'
./libgnt/.libs/libgnt.so: undefined reference to `_hide_panel'
./libgnt/.libs/libgnt.so: undefined reference to `_bottom_panel'
./libgnt/.libs/libgnt.so: undefined reference to `_top_panel'
./libgnt/.libs/libgnt.so: undefined reference to `_update_panels'
./libgnt/.libs/libgnt.so: undefined reference to `_panel_below'
./libgnt/.libs/libgnt.so: undefined reference to `_set_panel_userptr'
./libgnt/.libs/libgnt.so: undefined reference to `_replace_panel'
./libgnt/.libs/libgnt.so: undefined reference to `_del_panel'
./libgnt/.libs/libgnt.so: undefined reference to `_new_panel'
./libgnt/.libs/libgnt.so: undefined reference to `_move_panel'
./libgnt/.libs/libgnt.so: undefined reference to `_show_panel'
collect2: ld returned 1 exit status

*********************************************************************
                      TRYING TO FIND WHICH FILE MIGHT BE MISSING
                      #include <panel.h>
*********************************************************************
vocal at Grumpy:~/project/blackfin-svn-release/uClinux-dist/user/pidgin-2.2.1/finch/libgnt$ grep -ir panel.h *
gntmain.c:#include <panel.h>
gntwm.c: * In short, if a panel hides one cell of a multi-cell character, then the rest
gntwm.h:#include <panel.h>
gntws.h:#include <panel.h>
Binary file wms/.libs/s.so matches
Binary file wms/.libs/s.o matches
Binary file wms/.libs/irssi.so matches
Binary file wms/.libs/irssi.o matches
wms/.deps/s.Plo:  /home/vocal/project/blackfin-svn-release/uClinux-dist/staging/usr/include/panel.h \
wms/.deps/s.Plo:/home/vocal/project/blackfin-svn-release/uClinux-dist/staging/usr/include/panel.h:
wms/.deps/irssi.Plo:  /home/vocal/project/blackfin-svn-release/uClinux-dist/staging/usr/include/panel.h \
wms/.deps/irssi.Plo:/home/vocal/project/blackfin-svn-release/uClinux-dist/staging/usr/include/panel.h:
vocal at Grumpy:~/project/blackfin-svn-release/uClinux-dist/user/pidgin-2.2.1/finch/libgnt$ 


Regards,
Bill

----- Original Message ----
From: Stu Tomlinson <stu at nosnilmot.com>
To: devel at pidgin.im
Cc: Bill Fassler <bill.fassler at yahoo.com>
Sent: Tuesday, October 16, 2007 9:38:44 AM
Subject: Re: porting finch to uClinux on blackfin


On Tue, 2007-10-16 at 06:33 -0700, Bill Fassler wrote:
> Are you saying that simply updating my tarball might take
> care of this problem?

Yes, it will. Or at least it is required for static compilation of
 oscar
and jabber to update, that may or may not solve the whole of this
problem for you.

Regards,


Stu.







       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20071016/504613f2/attachment.html>


More information about the Devel mailing list