LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-20-2008, 07:58 PM   #1
nowshining
Member
 
Registered: Dec 2007
Distribution: Ibex
Posts: 93

Rep: Reputation: 15
undefined reference to `g_assertion_message_expr when trying to compile jpilot


When trying to compile jpilot J-Pilot version 0.99.9 from source i had to upgrade some libs such as pango and another I just forgot, the reason i'm trying to install from source on kubuntu is that the ubuntu 0.99.10 version has this bug where when one hotsyncs and backs it about every other time backups re-downloads the prc files from the palm pilot even tho they are up to date. I submitted this bug and was told to compile from source since it should of been fixed in the source version on the site, and so that' what i'm trying to do with not luck at all.

oh! i remember now, I had to update Glib and Pango from the main sites to compile/install GTK and libs which is needed to compile jpilot. & Again i got past the rest of the errors when compiling and this is where i'm stuck. A search hasn't gotten me really anywhere.


Code:
nowshining@botnetgodalphamale:~/Desktop/jpilot-0.99.9$ sudo make
[sudo] password for nowshining:
make  all-recursive
make[1]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9'
Making all in Expense
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/Expense'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/Expense'
Making all in SyncTime
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/SyncTime'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/SyncTime'
Making all in KeyRing
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/KeyRing'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/KeyRing'
Making all in docs
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/docs'
Making all in dialer
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/dialer'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/dialer'
Making all in po
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/po'
Making all in m4
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/m4'
Making all in empty
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/empty'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/empty'
Making all in icons
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9/icons'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9/icons'
make[2]: Entering directory `/home/nowshining/Desktop/jpilot-0.99.9'
/bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12   -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -g -O2  -I/usr/include   -o jpilot -export-dynamic address.o address_gui.o alarms.o category.o cp1250.o dat.o datebook.o datebook_gui.o dialer.o export_gui.o import_gui.o install_gui.o install_user.o japanese.o jpilot.o libplugin.o log.o memo.o memo_gui.o monthview_gui.o otherconv.o password.o pidfile.o plugins.o prefs.o prefs_gui.o print.o print_gui.o print_headers.o print_logo.o restore_gui.o russian.o search_gui.o sync.o todo.o todo_gui.o utils.o weekview_gui.o -L/usr/lib -lpisock -ldl -L/usr/lib -lpisock -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L/usr/lib -lpisock -ldl
gcc -I/usr/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -g -O2 -I/usr/include -o jpilot address.o address_gui.o alarms.o category.o cp1250.o dat.o datebook.o datebook_gui.o dialer.o export_gui.o import_gui.o install_gui.o install_user.o japanese.o jpilot.o libplugin.o log.o memo.o memo_gui.o monthview_gui.o otherconv.o password.o pidfile.o plugins.o prefs.o prefs_gui.o print.o print_gui.o print_headers.o print_logo.o restore_gui.o russian.o search_gui.o sync.o todo.o todo_gui.o utils.o weekview_gui.o -Wl,--export-dynamic  -L/usr/lib -L/usr/local/lib /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so -lz -lfontconfig -lpng12 -lXrender -lX11 -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libpisock.so /usr/lib/libusb.so -lpthread /usr/lib/libbluetooth.so -ldl
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `g_assertion_message_expr'
collect2: ld returned 1 exit status
make[2]: *** [jpilot] Error 1
make[2]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nowshining/Desktop/jpilot-0.99.9'
make: *** [all] Error 2
nowshining@botnetgodalphamale:~/Desktop/jpilot-0.99.9$

Last edited by nowshining; 04-20-2008 at 08:00 PM.
 
Old 04-28-2008, 11:37 PM   #2
nowshining
Member
 
Registered: Dec 2007
Distribution: Ibex
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks to Simon Bridge on this forum site, and of course a little thought afterwards as the libs weren't anywhere said in the Makefile, I was able to install/compile it and all along it was really simple, so if anyone has any problems with g_assertion errors try:

./configure

Open up the Makefile with a text editor, and replaced all /usr/lib with /usr/local/lib and try compiling again but first make sure to do a sudo make clean to clean up. If you get no g_assertion errors of any kind, try then to make install it or if you have checkinstall a checkinstall -D make install if using debian, and change D to the option for your specific distro.

oh what did Simon do, he told me where I had to go to make changes in which I was utternly confused of where to go to order the libaries as you have to do it in the programs Makefile of which I didn't do since like I said the libs weren't exactly in there as per a search, however like I said before just changing /usr/lib to /usr/local/lib fixed it for me and again lastly I hope this helps others out.

Last edited by nowshining; 04-28-2008 at 11:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gtkboard compile error: undefined reference to `FT_GlyphSlot_Embolden' rextor Linux - Games 2 11-18-2011 05:24 PM
Undefined Reference ChemicalBurn Programming 2 02-14-2005 03:01 AM
Compile QT get Undefined reference jordban Linux - General 14 01-15-2005 06:58 PM
2.6-test9 compile problem - undefined reference to `ide_hwifs' saint Linux - General 5 11-20-2003 04:53 PM
ncurses compile error: "undefined reference" Mr. Eek Linux From Scratch 1 05-12-2003 04:25 PM


All times are GMT -5. The time now is 06:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration