View previous topic :: View next topic |
Author |
Message |
garnie Tux's lil' helper
Joined: 09 Jan 2004 Posts: 108 Location: Vinderup, Denmark
|
Posted: Fri Sep 30, 2005 6:33 am Post subject: Problems compiling libipoddevice |
|
|
I am trying to install banshee so i can get my Nano ipod in use on my linux desktop
but i get a problem installing the latest version of libipoddevice my error is :
Code: | ./.libs/libipoddevice.so: undefined reference to `g_mkdir_with_parents'
collect2: ld returned 1 exit status
make[2]: *** [ipod] Fejl 1
make[2]: Leaving directory `/test/libipoddevice/src'
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/test/libipoddevice'
make: *** [all] Fejl 2
|
fejl = error (running danish system )
Could it be because i am using to latest cvs version ?
According to this side : http://64.14.94.162/index.php/Gentoo_Compilation that have a guide . . i have every thing needed.
//Garnie |
|
Back to top |
|
|
mickywicky Tux's lil' helper
Joined: 05 Nov 2002 Posts: 86 Location: London, UK
|
Posted: Fri Sep 30, 2005 6:43 pm Post subject: |
|
|
Hate to post this: I've had the exact same error around the time you posted this last night.
Bit'o googling didn't reveal anything that I could make sense of. Seems to be linked to glib somehow, but then everything else on this system has been working flawlessly for 6 months... (save udev )
Anyone else got this error? _________________ lt = (1+1) * 3 * 3 * 37 = The prime factorization of The Beast |
|
Back to top |
|
|
mickywicky Tux's lil' helper
Joined: 05 Nov 2002 Posts: 86 Location: London, UK
|
Posted: Sat Oct 01, 2005 8:50 pm Post subject: |
|
|
OK I got it to work, but it's dirty:
Tell portage that libipoddevice is really emerged:
echo "dev-libs/libipoddevice-0.3.2" >> /etc/portage/profile/package.provided
then uncompress the sources to a dir of your choice (you can probably just do a tar -zxvf /usr/portage/distfiles/libipoddevice-0.3.2.tar.gz wherever)
cd into libipoddevice-0.3.2/src/
in ipod-device.c replace g_mkdir_with_parents with g_mkdir
save
cd ../
./configure --prefix=/usr
make
make install
emerge banshee will handle the rest.
I think the reason may be an outdated glib. The use of g_mkdir_with_parents was introduced in libipoddevice-0.3.2 only, which is why 0.3.1 compiled without problems (but was useless for the banshee ebuild).
It is a more elegant and correct function to use, so the above should be used with extreme caution.
But it works. _________________ lt = (1+1) * 3 * 3 * 37 = The prime factorization of The Beast |
|
Back to top |
|
|
garnie Tux's lil' helper
Joined: 09 Jan 2004 Posts: 108 Location: Vinderup, Denmark
|
Posted: Mon Oct 03, 2005 8:27 am Post subject: |
|
|
Perhaps its just me but i fail at this :
in ipod-device.c replace g_mkdir_with_parents with g_mkdir
with this
bash: syntax error near unexpected token `in'
do i need to install a package for this or something ? |
|
Back to top |
|
|
mickywicky Tux's lil' helper
Joined: 05 Nov 2002 Posts: 86 Location: London, UK
|
Posted: Thu Nov 17, 2005 4:21 pm Post subject: |
|
|
I meant replace in the actual text file, i.e. open it, and to a find/replace. _________________ lt = (1+1) * 3 * 3 * 37 = The prime factorization of The Beast |
|
Back to top |
|
|
|