Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error emerging faac-1.24
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ninailer
n00b
n00b


Joined: 10 Oct 2003
Posts: 39
Location: Buenos Aires, Argentina

PostPosted: Tue Sep 14, 2004 10:08 pm    Post subject: error emerging faac-1.24 Reply with quote

Is anyone else having this problem? I am trying to install avidemux.

Quote:
In file included from main.c:33:
/usr/include/mp4.h:43: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:44: error: syntax error before "MP4SampleId"
/usr/include/mp4.h:45: error: syntax error before "MP4Timestamp"
/usr/include/mp4.h:46: error: syntax error before "MP4Duration"
/usr/include/mp4.h:47: error: syntax error before "MP4EditId"
/usr/include/mp4.h:219: error: syntax error before "u_int32_t"
/usr/include/mp4.h:225: error: syntax error before "u_int32_t"
/usr/include/mp4.h:230: error: syntax error before "u_int32_t"
/usr/include/mp4.h:238: error: syntax error before "u_int32_t"
/usr/include/mp4.h:247: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:251: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:257: error: syntax error before "MP4GetVerbosity"
/usr/include/mp4.h:259: error: syntax error before "u_int32_t"
/usr/include/mp4.h:261: error: syntax error before "MP4GetDuration"
/usr/include/mp4.h:263: error: syntax error before "MP4GetTimeScale"
/usr/include/mp4.h:265: error: syntax error before "u_int32_t"
/usr/include/mp4.h:267: error: syntax error before "MP4GetODProfileLevel"
/usr/include/mp4.h:269: error: syntax error before "u_int8_t"
/usr/include/mp4.h:271: error: syntax error before "MP4GetSceneProfileLevel"
/usr/include/mp4.h:273: error: syntax error before "u_int8_t"
/usr/include/mp4.h:275: error: syntax error before "MP4GetVideoProfileLevel"
/usr/include/mp4.h:277: error: syntax error before "u_int8_t"
/usr/include/mp4.h:279: error: syntax error before "MP4GetAudioProfileLevel"
/usr/include/mp4.h:281: error: syntax error before "u_int8_t"
/usr/include/mp4.h:283: error: syntax error before "MP4GetGraphicsProfileLevel"
/usr/include/mp4.h:285: error: syntax error before "u_int8_t"
/usr/include/mp4.h:289: error: syntax error before "MP4GetIntegerProperty"
/usr/include/mp4.h:304: error: syntax error before "u_int8_t"
/usr/include/mp4.h:310: error: syntax error before "int64_t"
/usr/include/mp4.h:322: error: syntax error before '*' token
/usr/include/mp4.h:326: error: syntax error before "MP4AddTrack"
/usr/include/mp4.h:330: error: syntax error before "MP4AddSystemsTrack"
/usr/include/mp4.h:334: error: syntax error before "MP4AddODTrack"
/usr/include/mp4.h:337: error: syntax error before "MP4AddSceneTrack"
/usr/include/mp4.h:340: error: syntax error before "MP4AddAudioTrack"
/usr/include/mp4.h:342: error: syntax error before "u_int32_t"
/usr/include/mp4.h:346: error: syntax error before "MP4AddEncAudioTrack"
/usr/include/mp4.h:348: error: syntax error before "u_int32_t"
/usr/include/mp4.h:352: error: syntax error before "MP4AddVideoTrack"
/usr/include/mp4.h:354: error: syntax error before "u_int32_t"
/usr/include/mp4.h:360: error: syntax error before "MP4AddEncVideoTrack"
/usr/include/mp4.h:362: error: syntax error before "u_int32_t"
/usr/include/mp4.h:368: error: syntax error before "MP4AddHintTrack"
/usr/include/mp4.h:370: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:372: error: syntax error before "MP4CloneTrack"
/usr/include/mp4.h:374: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:377: error: syntax error before "MP4EncAndCloneTrack"
/usr/include/mp4.h:379: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:382: error: syntax error before "MP4CopyTrack"
/usr/include/mp4.h:384: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:388: error: syntax error before "MP4EncAndCopyTrack"
/usr/include/mp4.h:390: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:396: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:398: error: syntax error before "MP4GetNumberOfTracks"
/usr/include/mp4.h:401: error: syntax error before "u_int8_t"
/usr/include/mp4.h:403: error: syntax error before "MP4FindTrackId"
/usr/include/mp4.h:405: error: syntax error before "u_int16_t"
/usr/include/mp4.h:409: error: syntax error before "MP4FindTrackIndex"
/usr/include/mp4.h:411: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:419: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:421: error: syntax error before "MP4GetTrackDuration"
/usr/include/mp4.h:423: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:425: error: syntax error before "MP4GetTrackTimeScale"
/usr/include/mp4.h:427: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:431: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:435: error: syntax error before "MP4GetTrackAudioType"
/usr/include/mp4.h:437: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:439: error: syntax error before "MP4GetTrackAudioMpeg4Type"
/usr/include/mp4.h:441: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:444: error: syntax error before "MP4GetTrackVideoType"
/usr/include/mp4.h:446: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:448: error: syntax error before "MP4GetTrackEsdsObjectTypeId"
/usr/include/mp4.h:450: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:453: error: syntax error before "MP4GetTrackFixedSampleDuration"
/usr/include/mp4.h:455: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:457: error: syntax error before "MP4GetTrackBitRate"
/usr/include/mp4.h:459: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:463: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:469: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:473: error: syntax error before "MP4GetTrackNumberOfSamples"
/usr/include/mp4.h:475: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:477: error: syntax error before "MP4GetTrackVideoWidth"
/usr/include/mp4.h:479: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:481: error: syntax error before "MP4GetTrackVideoHeight"
/usr/include/mp4.h:483: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:487: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:491: error: syntax error before "MP4GetTrackIntegerProperty"
/usr/include/mp4.h:493: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:498: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:503: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:508: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:515: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:521: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:527: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:533: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:543: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:558: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:571: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:580: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:589: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:595: error: syntax error before "MP4GetSampleSize"
/usr/include/mp4.h:597: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:600: error: syntax error before "MP4GetTrackMaxSampleSize"
/usr/include/mp4.h:602: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:604: error: syntax error before "MP4GetSampleIdFromTime"
/usr/include/mp4.h:606: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:610: error: syntax error before "MP4GetSampleTime"
/usr/include/mp4.h:612: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:615: error: syntax error before "MP4GetSampleDuration"
/usr/include/mp4.h:617: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:620: error: syntax error before "MP4GetSampleRenderingOffset"
/usr/include/mp4.h:622: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:627: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:631: error: syntax error before "MP4GetSampleSync"
/usr/include/mp4.h:633: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:640: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:650: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:671: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:675: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:680: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:683: error: syntax error before "MP4GetHintTrackReferenceTrackId"
/usr/include/mp4.h:685: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:689: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:693: error: syntax error before "MP4GetRtpHintNumberOfPackets"
/usr/include/mp4.h:695: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:697: error: syntax error before "MP4GetRtpPacketBFrame"
/usr/include/mp4.h:699: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:702: error: syntax error before "MP4GetRtpPacketTransmitOffset"
/usr/include/mp4.h:704: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:709: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:717: error: syntax error before "MP4GetRtpTimestampStart"
/usr/include/mp4.h:719: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:723: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:728: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:732: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:738: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:744: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:750: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:757: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:761: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:768: error: syntax error before "u_int32_t"
/usr/include/mp4.h:772: error: syntax error before "videoProfile"
/usr/include/mp4.h:788: error: syntax error before "MP4AddTrackEdit"
/usr/include/mp4.h:790: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:798: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:801: error: syntax error before "MP4GetTrackNumberOfEdits"
/usr/include/mp4.h:803: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:805: error: syntax error before "MP4GetTrackEditStart"
/usr/include/mp4.h:807: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:810: error: syntax error before "MP4GetTrackEditTotalDuration"
/usr/include/mp4.h:812: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:815: error: syntax error before "MP4GetTrackEditMediaStart"
/usr/include/mp4.h:817: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:822: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:826: error: syntax error before "MP4GetTrackEditDuration"
/usr/include/mp4.h:828: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:833: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:837: error: syntax error before "MP4GetTrackEditDwell"
/usr/include/mp4.h:839: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:844: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:851: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:862: error: syntax error before "MP4GetSampleIdFromEditTime"
/usr/include/mp4.h:864: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:882: error: syntax error before "MP4ConvertFromMovieDuration"
/usr/include/mp4.h:884: error: syntax error before "MP4Duration"
/usr/include/mp4.h:887: error: syntax error before "MP4ConvertFromTrackTimestamp"
/usr/include/mp4.h:889: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:893: error: syntax error before "MP4ConvertToTrackTimestamp"
/usr/include/mp4.h:895: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:899: error: syntax error before "MP4ConvertFromTrackDuration"
/usr/include/mp4.h:901: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:905: error: syntax error before "MP4ConvertToTrackDuration"
/usr/include/mp4.h:907: error: syntax error before "MP4TrackId"
/usr/include/mp4.h:912: error: syntax error before '*' token
/usr/include/mp4.h:916: error: syntax error before '*' token
/usr/include/mp4.h:921: error: syntax error before "u_int32_t"
/usr/include/mp4.h:939: error: syntax error before "u_int16_t"
/usr/include/mp4.h:941: error: syntax error before "u_int16_t"
/usr/include/mp4.h:943: error: syntax error before "u_int16_t"
/usr/include/mp4.h:945: error: syntax error before "u_int16_t"
/usr/include/mp4.h:948: error: syntax error before "u_int16_t"
/usr/include/mp4.h:949: error: syntax error before "u_int16_t"
/usr/include/mp4.h:950: error: syntax error before "u_int8_t"
/usr/include/mp4.h:951: error: syntax error before "u_int8_t"
/usr/include/mp4.h:953: error: syntax error before "u_int8_t"
/usr/include/mp4.h:955: error: syntax error before "u_int8_t"
/usr/include/mp4.h:957: error: syntax error before "u_int8_t"
/usr/include/mp4.h:959: error: syntax error before "u_int8_t"
/usr/include/mp4.h:962: error: syntax error before '*' token
/usr/include/mp4.h:962: error: `u_int32_t' declared as function returning a function
/usr/include/mp4.h:964: error: `MP4ReadCallback' declared as function returning a function
/usr/include/mp4.h:965: error: `MP4WriteCallback' declared as function returning a function
/usr/include/mp4.h:966: error: syntax error before '*' token
/usr/include/mp4.h:966: error: `int32_t' declared as function returning a function
/usr/include/mp4.h:967: error: syntax error before '*' token
/usr/include/mp4.h:967: error: `int64_t' declared as function returning a function
/usr/include/mp4.h:968: error: `MP4FilesizeCallback' declared as function returning a function
/usr/include/mp4.h:973: error: syntax error before "MP4OpenCallback"
/usr/include/mp4.h:983: error: syntax error before "MP4OpenCallback"
/usr/include/mp4.h:993: error: syntax error before "MP4OpenCallback"
In file included from /usr/include/stdlib.h:416,
from main.c:52:
/usr/include/sys/types.h:193: error: conflicting types for `int32_t'
/usr/include/mp4.h:966: error: previous declaration of `int32_t'
/usr/include/sys/types.h:194: error: conflicting types for `int64_t'
/usr/include/mp4.h:967: error: previous declaration of `int64_t'
/usr/include/sys/types.h:199: error: conflicting types for `u_int32_t'
/usr/include/mp4.h:962: error: previous declaration of `u_int32_t'
main.c: In function `main':
main.c:426: error: syntax error before "MP4track"
main.c:876: error: `MP4track' undeclared (first use in this function)
main.c:876: error: (Each undeclared identifier is reported only once
main.c:876: error: for each function it appears in.)
main.c:1087: error: syntax error before "dur"
main.c:1093: error: `dur' undeclared (first use in this function)
main.c:1093: error: `ofs' undeclared (first use in this function)
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/faac-1.24/work/faac/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faac-1.24/work/faac'
make: *** [all] Error 2

!!! ERROR: media-libs/faac-1.24 failed.
!!! Function src_compile, Line 415, Exitcode 2
!!! emake failed




Quote:
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -fPIC -DPIC"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -fPIC -DPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib aim alsa apm arts avi berkdb bidi bitmap-fonts bonobo cdr crypt cups dga divx4linux encode esd ethereal faac fam fastcgi flac foomaticdb ftp gd gdbm gif gnome gphoto2 gpm gtk gtk2 icq imagemagick imlib java jpeg kde libg++ libwww lirc live mad matroska mikmod mmx motif mozilla mpeg msn nas ncurses nls odbc offensive oggvorbis opengl oscar oss pam pda pdflib perl png ppd ppds prelude python qt quicktime readline samba scanner sdl slang sockets spell sse ssl svga tcltk tcpd theora truetype unicode usb v4l v4l2 wxwindows x86 xml xml2 xmms xprint xv xvid zlib"

_________________
"Love is the estate of mind where a person see the things exactly the way they are not"
- Friedrich Nietzsche -
Back to top
View user's profile Send private message
theCoder
n00b
n00b


Joined: 03 Mar 2003
Posts: 39
Location: Florida, USA

PostPosted: Thu Sep 16, 2004 4:06 am    Post subject: solution Reply with quote

I had the same problem with the /usr/include/mp4.h file. I found that this header file was owned by the faad2 package, which had a newer version available (2.0-r3, versus my installed version of 2.0-r2). After upgrading to the newest version, emerging faac worked just fine.

HTH!

Details: it appears the new version of faad2 installed an updated /usr/include/mpeg4ip.h that correctly included <sys/types.h>, which defines the u_int32_t type (among others). This is what allows faac to compile.
Back to top
View user's profile Send private message
ninailer
n00b
n00b


Joined: 10 Oct 2003
Posts: 39
Location: Buenos Aires, Argentina

PostPosted: Thu Sep 16, 2004 8:41 pm    Post subject: Reply with quote

thanks, theCoder. Upgrading faad2 made me compile faac with no problem. Still I can't compile avidemux though :(

new post..
_________________
"Love is the estate of mind where a person see the things exactly the way they are not"
- Friedrich Nietzsche -
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum