Gentoo Archives: gentoo-amd64

From: "Michal Žeravík" <michalz@×××××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] error emerging media-libs/faad2-2.0-r11
Date: Thu, 09 Feb 2006 10:13:27
Message-Id: 43EB154F.5070105@olomouc.com
1 Hi all,
2
3 got error while compiling
4 media-libs/faad2-2.0-r11 +xmms
5
6 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..
7 -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
8 -I/usr/lib64/glib/include -Wall -I/usr/include/gtk-1.2
9 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DHAVE_GLIB_H=1
10 -I../../../include -O2 -march=k8 -pipe -fomit-frame-pointer -MT
11 libmp4_la-mp4_utils.lo -MD -MP -MF .deps/libmp4_la-mp4_utils.Tpo -c
12 mp4_utils.c -fPIC -DPIC -o .libs/libmp4_la-mp4_utils.o
13 mp4_utils.c:4:17: mp4.h: No such file or directory
14 mp4_utils.c:18: error: parse error before "mp4AudioTypes"
15 mp4_utils.c:18: warning: type defaults to `int' in declaration of
16 `mp4AudioTypes'
17 mp4_utils.c:20: error: `MP4_MPEG1_AUDIO_TYPE' undeclared here (not in a
18 function)
19 mp4_utils.c:20: error: initializer element is not constant
20 mp4_utils.c:20: error: (near initialization for `mp4AudioTypes[0]')
21 mp4_utils.c:21: error: `MP4_MPEG2_AUDIO_TYPE' undeclared here (not in a
22 function)
23 mp4_utils.c:21: error: initializer element is not constant
24 mp4_utils.c:21: error: (near initialization for `mp4AudioTypes[1]')
25 mp4_utils.c:22: error: `MP4_MPEG2_AAC_MAIN_AUDIO_TYPE' undeclared here
26 (not in a function)
27 mp4_utils.c:22: error: initializer element is not constant
28 mp4_utils.c:22: error: (near initialization for `mp4AudioTypes[2]')
29 mp4_utils.c:23: error: `MP4_MPEG2_AAC_LC_AUDIO_TYPE' undeclared here
30 (not in a function)
31 mp4_utils.c:23: error: initializer element is not constant
32 mp4_utils.c:23: error: (near initialization for `mp4AudioTypes[3]')
33 mp4_utils.c:24: error: `MP4_MPEG2_AAC_SSR_AUDIO_TYPE' undeclared here
34 (not in a function)
35 mp4_utils.c:24: error: initializer element is not constant
36 mp4_utils.c:24: error: (near initialization for `mp4AudioTypes[4]')
37 mp4_utils.c:25: error: `MP4_MPEG4_AUDIO_TYPE' undeclared here (not in a
38 function)
39 mp4_utils.c:25: error: initializer element is not constant
40 mp4_utils.c:25: error: (near initialization for `mp4AudioTypes[5]')
41 mp4_utils.c:27: warning: data definition has no type or storage class
42 mp4_utils.c:47: error: parse error before "file"
43 mp4_utils.c: In function `getAACTrack':
44 mp4_utils.c:49: warning: implicit declaration of function
45 `MP4GetNumberOfTracks'
46 mp4_utils.c:49: error: `file' undeclared (first use in this function)
47 mp4_utils.c:49: error: (Each undeclared identifier is reported only once
48 mp4_utils.c:49: error: for each function it appears in.)
49 mp4_utils.c:49: error: `NULL' undeclared (first use in this function)
50 mp4_utils.c:53: error: `MP4TrackId' undeclared (first use in this function)
51 mp4_utils.c:53: error: parse error before "trackID"
52 mp4_utils.c:54: warning: implicit declaration of function `MP4GetTrackType'
53 mp4_utils.c:54: error: `trackID' undeclared (first use in this function)
54 mp4_utils.c:54: warning: initialization makes pointer from integer
55 without a cast
56 mp4_utils.c:55: warning: implicit declaration of function `strcmp'
57 mp4_utils.c:55: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in
58 this function)
59 mp4_utils.c:57: error: `u_int8_t' undeclared (first use in this function)
60 mp4_utils.c:57: error: parse error before "audiotype"
61 mp4_utils.c:59: error: `audiotype' undeclared (first use in this function)
62 mp4_utils.c:61: warning: implicit declaration of function
63 `MP4GetTrackAudioMpeg4Type'
64 mp4_utils.c:62: warning: implicit declaration of function `printf'
65 mp4_utils.c: At top level:
66 mp4_utils.c:81: error: parse error before "file"
67 mp4_utils.c: In function `getAudioTrack':
68 mp4_utils.c:83: error: `file' undeclared (first use in this function)
69 mp4_utils.c:83: error: `NULL' undeclared (first use in this function)
70 mp4_utils.c:87: error: `MP4TrackId' undeclared (first use in this function)
71 mp4_utils.c:87: error: parse error before "trackID"
72 mp4_utils.c:88: error: `trackID' undeclared (first use in this function)
73 mp4_utils.c:88: warning: initialization makes pointer from integer
74 without a cast
75 mp4_utils.c:89: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in
76 this function)
77 mp4_utils.c: At top level:
78 mp4_utils.c:96: error: parse error before "file"
79 mp4_utils.c: In function `getVideoTrack':
80 mp4_utils.c:98: error: `file' undeclared (first use in this function)
81 mp4_utils.c:98: error: `NULL' undeclared (first use in this function)
82 mp4_utils.c:102: error: `MP4TrackId' undeclared (first use in this function)
83 mp4_utils.c:102: error: parse error before "trackID"
84 mp4_utils.c:103: error: `trackID' undeclared (first use in this function)
85 mp4_utils.c:103: warning: initialization makes pointer from integer
86 without a cast
87 mp4_utils.c:104: error: `MP4_VIDEO_TRACK_TYPE' undeclared (first use in
88 this function)
89 mp4_utils.c: In function `getMP4info':
90 mp4_utils.c:113: error: `MP4FileHandle' undeclared (first use in this
91 function)
92 mp4_utils.c:113: error: parse error before "mp4file"
93 mp4_utils.c:114: error: `MP4Duration' undeclared (first use in this
94 function)
95 mp4_utils.c:118: error: `mp4file' undeclared (first use in this function)
96 mp4_utils.c:118: warning: implicit declaration of function `MP4Read'
97 mp4_utils.c:121: error: `NULL' undeclared (first use in this function)
98 mp4_utils.c:122: warning: implicit declaration of function `g_print'
99 mp4_utils.c:124: error: `MP4TrackId' undeclared (first use in this function)
100 mp4_utils.c:124: error: parse error before "trackID"
101 mp4_utils.c:125: error: `trackID' undeclared (first use in this function)
102 mp4_utils.c:125: warning: initialization makes pointer from integer
103 without a cast
104 mp4_utils.c:127: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in
105 this function)
106 mp4_utils.c:129: error: `u_int8_t' undeclared (first use in this function)
107 mp4_utils.c:129: error: parse error before "audiotype"
108 mp4_utils.c:131: error: `audiotype' undeclared (first use in this function)
109 mp4_utils.c:140: warning: implicit declaration of function
110 `MP4ConvertFromTrackDuration'
111 mp4_utils.c:141: warning: implicit declaration of function
112 `MP4GetTrackDuration'
113 mp4_utils.c:143: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in
114 this function)
115 mp4_utils.c:150: warning: implicit declaration of function `MP4Close'
116 make[4]: *** [libmp4_la-mp4_utils.lo] Error 1
117 make[4]: *** Waiting for unfinished jobs....
118 libmp4.c:12:17: mp4.h: No such file or directory
119 libmp4.c:26: error: parse error before "file"
120 libmp4.c:41: error: parse error before "file"
121 libmp4.c: In function `mp4_init':
122 libmp4.c:92: warning: implicit declaration of function `memset'
123 libmp4.c: In function `mp4_isFile':
124 libmp4.c:120: warning: implicit declaration of function `strrchr'
125 libmp4.c:123: warning: implicit declaration of function `strcasecmp'
126 libmp4.c: In function `mp4Decode':
127 libmp4.c:183: error: `MP4FileHandle' undeclared (first use in this function)
128 libmp4.c:183: error: (Each undeclared identifier is reported only once
129 libmp4.c:183: error: for each function it appears in.)
130 libmp4.c:183: error: parse error before "mp4file"
131 libmp4.c:188: error: `mp4file' undeclared (first use in this function)
132 libmp4.c:188: warning: implicit declaration of function `MP4Read'
133 libmp4.c:190: warning: implicit declaration of function `MP4Close'
134 libmp4.c:214: error: `MP4Duration' undeclared (first use in this function)
135 libmp4.c:214: error: parse error before "duration"
136 libmp4.c:216: error: `MP4SampleId' undeclared (first use in this function)
137 libmp4.c:216: error: parse error before "numSamples"
138 libmp4.c:220: warning: implicit declaration of function
139 `MP4GetTrackESConfiguration'
140 libmp4.c:229: warning: passing arg 4 of `faacDecInit2' from incompatible
141 pointer type
142 libmp4.c:247: error: `duration' undeclared (first use in this function)
143 libmp4.c:247: warning: implicit declaration of function
144 `MP4GetTrackDuration'
145 libmp4.c:248: warning: implicit declaration of function
146 `MP4ConvertFromTrackDuration'
147 libmp4.c:249: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in
148 this function)
149 libmp4.c:250: error: `numSamples' undeclared (first use in this function)
150 libmp4.c:250: warning: implicit declaration of function
151 `MP4GetTrackNumberOfSamples'
152 libmp4.c:254: warning: int format, different type arg (arg 3)
153 libmp4.c:262: warning: implicit declaration of function
154 `MP4ConvertToTrackDuration'
155 libmp4.c:266: error: `sampleID' undeclared (first use in this function)
156 libmp4.c:266: warning: implicit declaration of function
157 `MP4GetSampleIdFromTime'
158 libmp4.c:281: warning: implicit declaration of function `MP4ReadSample'
159 libmp4.c:213: warning: unused variable `avgBitrate'
160 libmp4.c:335: error: `FILE' undeclared (first use in this function)
161 libmp4.c:335: error: `file' undeclared (first use in this function)
162 libmp4.c:348: warning: implicit declaration of function `fopen'
163 libmp4.c:349: warning: char format, void arg (arg 2)
164 libmp4.c:356: warning: implicit declaration of function `fclose'
165 libmp4.c:372: warning: implicit declaration of function `fread'
166 libmp4.c:385: warning: implicit declaration of function `strncmp'
167 libmp4.c:388: warning: implicit declaration of function `fseek'
168 libmp4.c:388: error: `SEEK_SET' undeclared (first use in this function)
169 libmp4.c:407: warning: passing arg 4 of `faacDecInit' from incompatible
170 pointer type
171 libmp4.c:445: warning: implicit declaration of function `memmove'
172 libmp4.c:466: warning: passing arg 4 of `faacDecInit' from incompatible
173 pointer type
174 make[4]: *** [libmp4_la-libmp4.lo] Error 1
175 make[4]: Leaving directory
176 `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms/src'
177 make[3]: *** [all-recursive] Error 1
178 make[3]: Leaving directory
179 `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms'
180 make[2]: *** [all-recursive] Error 1
181 make[2]: Leaving directory
182 `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins'
183 make[1]: *** [all-recursive] Error 1
184 make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2'
185 make: *** [all] Error 2
186
187 michal
188 --
189 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] error emerging media-libs/faad2-2.0-r11 Simon Stelling <blubb@g.o>