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

Build error on mediatomb



I've tried to compile mediatomb myself but caught some errors when compiling:

root@Penguin-debian:/home/penguin# cd /srv/Temp/mediatomb-0.12.1
root@Penguin-debian:/srv/Temp/mediatomb-0.12.1# make
make  all-recursive
make[1]: Entering directory `/srv/Temp/mediatomb-0.12.1'
Making all in tombupnp
make[2]: Entering directory `/srv/Temp/mediatomb-0.12.1/tombupnp'
Making all in build
make[3]: Entering directory `/srv/Temp/mediatomb-0.12.1/tombupnp/build'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/srv/Temp/mediatomb-0.12.1/tombupnp/build'
make[3]: Entering directory `/srv/Temp/mediatomb-0.12.1/tombupnp'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/srv/Temp/mediatomb-0.12.1/tombupnp'
make[2]: Leaving directory `/srv/Temp/mediatomb-0.12.1/tombupnp'
Making all in build
make[2]: Entering directory `/srv/Temp/mediatomb-0.12.1/build'
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src
-I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc
-I../tombupnp/upnp/inc -I..  -I/usr/include/mysql  -DBIG_JOINS=1
-fno-strict-aliasing   -DUNIV_LINUX -DUNIV_LINUX -I/usr/include/mozjs
-I/usr/include/taglib       -pthread        -g -O2  -MT
libmediatomb_a-libmp4v2_handler.o -MD -MP -MF
.deps/libmediatomb_a-libmp4v2_handler.Tpo -c -o
libmediatomb_a-libmp4v2_handler.o `test -f
'../src/metadata/libmp4v2_handler.cc' || echo
'./'`../src/metadata/libmp4v2_handler.cc
../src/metadata/libmp4v2_handler.cc: In function 『void
addMetaField(metadata_fields_t, MP4FileHandle, zmm::Ref<CdsItem>)』:
../src/metadata/libmp4v2_handler.cc:77:48: error: 『MP4GetMetadataName'
was not declared in this scope
../src/metadata/libmp4v2_handler.cc:80:50: error:
『MP4GetMetadataArtist' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:83:49: error:
『MP4GetMetadataAlbum' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:86:48: error: 『MP4GetMetadataYear'
was not declared in this scope
../src/metadata/libmp4v2_handler.cc:98:49: error:
『MP4GetMetadataGenre' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:101:51: error:
『MP4GetMetadataComment' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:104:59: error:
『MP4GetMetadataTrack' was not declared in this scope
../src/metadata/libmp4v2_handler.cc: In member function 『virtual void
LibMP4V2Handler::fillMetadata(zmm::Ref<CdsItem>)』:
../src/metadata/libmp4v2_handler.cc:200:65: error:
『MP4GetMetadataCoverArt' was not declared in this scope
../src/metadata/libmp4v2_handler.cc: In member function 『virtual
zmm::Ref<IOHandler> LibMP4V2Handler::serveContent(zmm::Ref<CdsItem>,
int, off_t*)』:
../src/metadata/libmp4v2_handler.cc:258:61: error:
『MP4GetMetadataCoverArt' was not declared in this scope
make[2]: *** [libmediatomb_a-libmp4v2_handler.o] Error 1
make[2]: Leaving directory `/srv/Temp/mediatomb-0.12.1/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/srv/Temp/mediatomb-0.12.1'
make: *** [all] Error 2
root@Penguin-debian:/srv/Temp/mediatomb-0.12.1#
make>/srv/Temp/mediatomb.buildlog
../src/metadata/libmp4v2_handler.cc: In function 『void
addMetaField(metadata_fields_t, MP4FileHandle, zmm::Ref<CdsItem>)』:
../src/metadata/libmp4v2_handler.cc:77:48: error: 『MP4GetMetadataName'
was not declared in this scope
../src/metadata/libmp4v2_handler.cc:80:50: error:
『MP4GetMetadataArtist' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:83:49: error:
『MP4GetMetadataAlbum' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:86:48: error: 『MP4GetMetadataYear'
was not declared in this scope
../src/metadata/libmp4v2_handler.cc:98:49: error:
『MP4GetMetadataGenre' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:101:51: error:
『MP4GetMetadataComment' was not declared in this scope
../src/metadata/libmp4v2_handler.cc:104:59: error:
『MP4GetMetadataTrack' was not declared in this scope
../src/metadata/libmp4v2_handler.cc: In member function 『virtual void
LibMP4V2Handler::fillMetadata(zmm::Ref<CdsItem>)』:
../src/metadata/libmp4v2_handler.cc:200:65: error:
『MP4GetMetadataCoverArt' was not declared in this scope
../src/metadata/libmp4v2_handler.cc: In member function 『virtual
zmm::Ref<IOHandler> LibMP4V2Handler::serveContent(zmm::Ref<CdsItem>,
int, off_t*)』:
../src/metadata/libmp4v2_handler.cc:258:61: error:
『MP4GetMetadataCoverArt' was not declared in this scope
make[2]: *** [libmediatomb_a-libmp4v2_handler.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I've googled for several hours but couldn't found a solution for it.
I don't know any of the c++ language but I tried to dig in and wonder
what the problem is...

I THINK that something has changed for the compiler gcc 4.2 to gcc 4.4
, cause I've seen some google result, it was a warning in gcc4.2 but
an error in gcc4.4.
also, perhaps those method was really not declared, or something is missing.



PS: I'd also made a post on mediatomb SF forum page:
https://sourceforge.net/projects/mediatomb/forums/forum/440751/topic/4977874


Regards,
Panguin

-- 
筆使文富,卻使人窮。


Reply to: