LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem compiling libgpod for gtkpod. (http://www.linuxquestions.org/questions/linux-software-2/problem-compiling-libgpod-for-gtkpod-829360/)

guriinii 08-30-2010 01:26 PM

problem compiling libgpod for gtkpod.
 
After installing iFuse, gtkpod and many dependencies, I've hit a problem far beyond my current understanding. Following this comment:http://cgsbay.com/mount-iphone-ipod-...x/#comment-190 everything was going well until I got this make error:
Code:

/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_ptr_array_new_with_free_func'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_error_new_valist'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_realloc_n'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_hostname_is_non_ascii'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_malloc0_n'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_hostname_to_ascii'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_mkstemp_full'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_array_get_type'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_byte_array_unref'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_byte_array_get_type'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_malloc_n'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_main_context_get_thread_default'
collect2: ld returned 1 exit status
make[2]: *** [ipod-read-sysinfo-extended] Error 1
make[2]: Leaving directory `/home/greenys/libgpod/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/greenys/libgpod'
make: *** [all] Error 2

Can anyone please advise.

Meson 08-31-2010 05:49 AM

You might be missing a dependency, or the version of glib2 (which is where libgio comes from) is out of date.

guriinii 08-31-2010 06:25 AM

How do I check which version I have and if its old how do I upgrade?

Meson 08-31-2010 05:59 PM

I don't know how you check. I've never heard of crunchbang, but given the version number, I can assume you use aptitude.

guriinii 09-01-2010 02:08 AM

Correct, it's an ubuntu derivative, but good and not filled with endless menus.

knudfl 09-01-2010 12:48 PM

Suggest : Delete or uninstall the glib etc. in /usr/local/.
Will most possible disturb / trash some applications, e.g. Gnome.

And install "The 9.04 version" with : apt-get install libglib2.0-dev
.. which will provide "glib-2.20.1", the development files.

'Synaptic', the Package Manager can also be used for the install.
..

'libgpod-0.7.93' requires minimum (lib)glib-2.16 : configure, line 16489, 16493 →
16489: ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16.0") 2>&5
16493: pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16.0" 2>/dev/null`
..


All times are GMT -5. The time now is 01:40 AM.