Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133360 - media-libs/faad2-2.0-r12 compile error + solution
Summary: media-libs/faad2-2.0-r12 compile error + solution
Status: RESOLVED DUPLICATE of bug 128041
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 01:48 UTC by Sam
Modified: 2006-05-15 01:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam 2006-05-15 01:48:37 UTC
When emerging world today, updating faad2 to r12 gave me an error (shown below). The solution was to 
emerge libmp4v2 faad2
and that did the job.


Error:
http://pastebin.com/718342

make[4]: Entering directory `/var/tmp/portage/faad2-2.0-r12/work/faad2/plugins/xmms/src'
if /bin/sh ../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..    `xmms-config --cflags` -Wall `gtk-config --cflags` -DHAVE_GLIB_H=1 -I../../../include -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -MT libmp4_la-libmp4.lo -MD -MP -MF ".deps/libmp4_la-libmp4.Tpo" -c -o libmp4_la-libmp4.lo `test -f 'libmp4.c' || echo './'`libmp4.c; \
then mv -f ".deps/libmp4_la-libmp4.Tpo" ".deps/libmp4_la-libmp4.Plo"; else rm -f ".deps/libmp4_la-libmp4.Tpo"; exit 1; fi
if /bin/sh ../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..    `xmms-config --cflags` -Wall `gtk-config --cflags` -DHAVE_GLIB_H=1 -I../../../include -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -MT libmp4_la-mp4_utils.lo -MD -MP -MF ".deps/libmp4_la-mp4_utils.Tpo" -c -o libmp4_la-mp4_utils.lo `test -f 'mp4_utils.c' || echo './'`mp4_utils.c; \
then mv -f ".deps/libmp4_la-mp4_utils.Tpo" ".deps/libmp4_la-mp4_utils.Plo"; else rm -f ".deps/libmp4_la-mp4_utils.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_GLIB_H=1 -I../../../include -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -MT libmp4_la-libmp4.lo -MD -MP -MF .deps/libmp4_la-libmp4.Tpo -c libmp4.c  -fPIC -DPIC -o .libs/libmp4_la-libmp4.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_GLIB_H=1 -I../../../include -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -MT libmp4_la-mp4_utils.lo -MD -MP -MF .deps/libmp4_la-mp4_utils.Tpo -c mp4_utils.c  -fPIC -DPIC -o .libs/libmp4_la-mp4_utils.o
mp4_utils.c:4:17: mp4.h: No such file or directory
mp4_utils.c:18: error: syntax error before "mp4AudioTypes"
mp4_utils.c:18: warning: type defaults to `int' in declaration of `mp4AudioTypes'
mp4_utils.c:20: error: `MP4_MPEG1_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:20: error: initializer element is not constant
mp4_utils.c:20: error: (near initialization for `mp4AudioTypes[0]')
mp4_utils.c:21: error: `MP4_MPEG2_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:21: error: initializer element is not constant
mp4_utils.c:21: error: (near initialization for `mp4AudioTypes[1]')
mp4_utils.c:22: error: `MP4_MPEG2_AAC_MAIN_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:22: error: initializer element is not constant
mp4_utils.c:22: error: (near initialization for `mp4AudioTypes[2]')
mp4_utils.c:23: error: `MP4_MPEG2_AAC_LC_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:23: error: initializer element is not constant
mp4_utils.c:23: error: (near initialization for `mp4AudioTypes[3]')
mp4_utils.c:24: error: `MP4_MPEG2_AAC_SSR_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:24: error: initializer element is not constant
mp4_utils.c:24: error: (near initialization for `mp4AudioTypes[4]')
mp4_utils.c:25: error: `MP4_MPEG4_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:25: error: initializer element is not constant
mp4_utils.c:25: error: (near initialization for `mp4AudioTypes[5]')
mp4_utils.c:27: warning: data definition has no type or storage class
mp4_utils.c:47: error: syntax error before "file"
mp4_utils.c: In function `getAACTrack':
mp4_utils.c:49: warning: implicit declaration of function `MP4GetNumberOfTracks'
mp4_utils.c:49: error: `file' undeclared (first use in this function)
mp4_utils.c:49: error: (Each undeclared identifier is reported only once
mp4_utils.c:49: error: for each function it appears in.)
mp4_utils.c:49: error: `NULL' undeclared (first use in this function)
mp4_utils.c:53: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:53: error: syntax error before "trackID"
mp4_utils.c:54: warning: implicit declaration of function `MP4GetTrackType'
mp4_utils.c:54: error: `trackID' undeclared (first use in this function)
mp4_utils.c:54: warning: initialization makes pointer from integer without a cast
mp4_utils.c:55: warning: implicit declaration of function `strcmp'
mp4_utils.c:55: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c:57: error: `u_int8_t' undeclared (first use in this function)
mp4_utils.c:57: error: syntax error before "audiotype"
mp4_utils.c:59: error: `audiotype' undeclared (first use in this function)
mp4_utils.c:61: warning: implicit declaration of function `MP4GetTrackAudioMpeg4Type'
mp4_utils.c:62: warning: implicit declaration of function `printf'
mp4_utils.c: At top level:
mp4_utils.c:81: error: syntax error before "file"
mp4_utils.c: In function `getAudioTrack':
mp4_utils.c:83: error: `file' undeclared (first use in this function)
mp4_utils.c:83: error: `NULL' undeclared (first use in this function)
mp4_utils.c:87: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:87: error: syntax error before "trackID"
mp4_utils.c:88: error: `trackID' undeclared (first use in this function)
mp4_utils.c:88: warning: initialization makes pointer from integer without a cast
mp4_utils.c:89: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c: At top level:
mp4_utils.c:96: error: syntax error before "file"
mp4_utils.c: In function `getVideoTrack':
mp4_utils.c:98: error: `file' undeclared (first use in this function)
mp4_utils.c:98: error: `NULL' undeclared (first use in this function)
mp4_utils.c:102: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:102: error: syntax error before "trackID"
mp4_utils.c:103: error: `trackID' undeclared (first use in this function)
mp4_utils.c:103: warning: initialization makes pointer from integer without a cast
mp4_utils.c:104: error: `MP4_VIDEO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c: In function `getMP4info':
mp4_utils.c:113: error: `MP4FileHandle' undeclared (first use in this function)
mp4_utils.c:113: error: syntax error before "mp4file"
mp4_utils.c:114: error: `MP4Duration' undeclared (first use in this function)
mp4_utils.c:118: error: `mp4file' undeclared (first use in this function)
mp4_utils.c:118: warning: implicit declaration of function `MP4Read'
mp4_utils.c:121: error: `NULL' undeclared (first use in this function)
mp4_utils.c:122: warning: implicit declaration of function `g_print'
mp4_utils.c:124: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:124: error: syntax error before "trackID"
mp4_utils.c:125: error: `trackID' undeclared (first use in this function)
mp4_utils.c:125: warning: initialization makes pointer from integer without a cast
mp4_utils.c:127: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c:129: error: `u_int8_t' undeclared (first use in this function)
mp4_utils.c:129: error: syntax error before "audiotype"
mp4_utils.c:131: error: `audiotype' undeclared (first use in this function)
mp4_utils.c:140: warning: implicit declaration of function `MP4ConvertFromTrackDuration'
mp4_utils.c:141: warning: implicit declaration of function `MP4GetTrackDuration'
mp4_utils.c:143: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in this function)
mp4_utils.c:150: warning: implicit declaration of function `MP4Close'
make[4]: *** [libmp4_la-mp4_utils.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libmp4.c:12:17: mp4.h: No such file or directory
libmp4.c:26: error: syntax error before "file"
libmp4.c:41: error: syntax error before "file"
libmp4.c: In function `mp4_init':
libmp4.c:92: warning: implicit declaration of function `memset'
libmp4.c: In function `mp4_isFile':
libmp4.c:120: warning: implicit declaration of function `strrchr'
libmp4.c:123: warning: implicit declaration of function `strcasecmp'
libmp4.c: In function `mp4Decode':
libmp4.c:183: error: `MP4FileHandle' undeclared (first use in this function)
libmp4.c:183: error: (Each undeclared identifier is reported only once
libmp4.c:183: error: for each function it appears in.)
libmp4.c:183: error: syntax error before "mp4file"
libmp4.c:188: error: `mp4file' undeclared (first use in this function)
libmp4.c:188: warning: implicit declaration of function `MP4Read'
libmp4.c:190: warning: implicit declaration of function `MP4Close'
libmp4.c:214: error: `MP4Duration' undeclared (first use in this function)
libmp4.c:214: error: syntax error before "duration"
libmp4.c:216: error: `MP4SampleId' undeclared (first use in this function)
libmp4.c:216: error: syntax error before "numSamples"
libmp4.c:220: warning: implicit declaration of function `MP4GetTrackESConfiguration'
libmp4.c:229: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type
libmp4.c:247: error: `duration' undeclared (first use in this function)
libmp4.c:247: warning: implicit declaration of function `MP4GetTrackDuration'
libmp4.c:248: warning: implicit declaration of function `MP4ConvertFromTrackDuration'
libmp4.c:249: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in this function)
libmp4.c:250: error: `numSamples' undeclared (first use in this function)
libmp4.c:250: warning: implicit declaration of function `MP4GetTrackNumberOfSamples'
libmp4.c:254: warning: int format, gulong arg (arg 3)
libmp4.c:262: warning: implicit declaration of function `MP4ConvertToTrackDuration'
libmp4.c:266: error: `sampleID' undeclared (first use in this function)
libmp4.c:266: warning: implicit declaration of function `MP4GetSampleIdFromTime'
libmp4.c:281: warning: implicit declaration of function `MP4ReadSample'
libmp4.c:213: warning: unused variable `avgBitrate'
libmp4.c:335: error: `FILE' undeclared (first use in this function)
libmp4.c:335: error: `file' undeclared (first use in this function)
libmp4.c:348: warning: implicit declaration of function `fopen'
libmp4.c:349: warning: char format, void arg (arg 2)
libmp4.c:356: warning: implicit declaration of function `fclose'
libmp4.c:372: warning: implicit declaration of function `fread'
libmp4.c:385: warning: implicit declaration of function `strncmp'
libmp4.c:388: warning: implicit declaration of function `fseek'
libmp4.c:388: error: `SEEK_SET' undeclared (first use in this function)
libmp4.c:407: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
libmp4.c:445: warning: implicit declaration of function `memmove'
libmp4.c:466: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
make[4]: *** [libmp4_la-libmp4.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/faad2-2.0-r12/work/faad2/plugins/xmms/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/faad2-2.0-r12/work/faad2/plugins/xmms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r12/work/faad2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r12/work/faad2'
make: *** [all] Error 2

!!! ERROR: media-libs/faad2-2.0-r12 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

localhost ~ #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-15 01:54:32 UTC

*** This bug has been marked as a duplicate of 128041 ***