gmediaserver-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gmediaserver-devel] confused about id3lib


From: Robert Wuest
Subject: [gmediaserver-devel] confused about id3lib
Date: Mon, 17 Sep 2007 18:01:37 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 Fedora/1.7.12-1.5.1

I'm trying to build gmediaserver-0.12.0 and have downloaded/built/installed id3lib v3.8.3 from http://id3lib.sourceforge.net,a s per the requirements documentation. However, id3lib is a c++ library and gmediaserver is written in c. gmediaserver configure fails to acknowledge my id3lib, even when I use --with-id3lib=/usr/local.

I manually hacked the config.h (#define HAVE_ID3LIB 1) and Makefile (ID3_LIBS = -lid3) to try and force it, but I get bunches of errors (yeah, I did expect it). Errors like :

/usr/local/lib/libid3.so: undefined reference to `VTT for std::basic_ifstream<char, std::char_traits<char> >' /usr/local/lib/libid3.so: undefined reference to `operator new[](unsigned int)'
And on and on...........

I've also tried 'CC=g++ ./configure', but that still fails to find the installed id3lib. Hacked the config.h and makefiles and it then fails with:

full-write.c: In function ‘size_t full_read(int, void*, size_t)’:
full-write.c:65: error: invalid conversion from ‘void*’ to ‘char*’

I'm not going to win this one :)

What am I missing. I must have the wrong libid3. What is the right libid3 to use?


Robert






reply via email to

[Prev in Thread] Current Thread [Next in Thread]