I'm using debian squeeze and tried to build mediatomb but got several errors:
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
before that there are 2 more errors when build but fixed with these two patches:
libav_0.7_support.patch
mediatomb-0.12.1-gcc46.patch
Any idea?
I'm having the same issue on Gentoo with gcc 4.5.3, mediatomb 0.12.1 with the following patches : gcc46, libav7 and mozjs185. Compiling without mp4 support work, but it's less than optimal.
< Previous |
1 |
Next >
Add a Reply
This forum does not allow anonymous participation.
Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.