Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer compiling error
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
zonzi
n00b
n00b


Joined: 29 Jul 2004
Posts: 6

PostPosted: Sat May 21, 2005 6:28 pm    Post subject: mplayer compiling error Reply with quote

anyone can help me?
i meet a compile error while compiling mplayer 1.0 pre 7
the error message is the follow:

gtf.c:28: error: static declaration of 'round' follows non-static declaration
make[1]: *** [gtf.o] Error 1
make: *** [libvo/libvo.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre7 failed.
!!! Function src_compile, Line 486, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.

thanks:P
_________________
amd 64bit 3000+ nvidia ati9800pro gentoo
amd 1700+ nvidia geforce2
apple powerbook g4 1.5G tiger
i'm newbie
Back to top
View user's profile Send private message
arghnoname
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 84
Location: Washington, DC

PostPosted: Tue May 24, 2005 3:21 am    Post subject: Reply with quote

Can you please type emerge -av mplayer and post the content BEFORE you hit yes. It would be helpful to know which use flags you are using that apply to this specific build.

I had compile errors with mplayer in the past because I had use flags set that my processor did not support.
Back to top
View user's profile Send private message
Shiryou
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 131
Location: United Kingdom

PostPosted: Wed Oct 05, 2005 1:40 pm    Post subject: Reply with quote

I get a similar error:

Code:
cc -c -I../libvo -I../../libvo  -O4   -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I.. -I../osdep       -DMPG12PLAY  -o gtf.o gtf.c
gtf.c:28: error: static declaration of 'round' follows non-static declaration
make[1]: *** [gtf.o] Error 1
make: *** [libvo/libvo.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre7 failed.
!!! Function src_compile, Line 487, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.


Here are my use Flags:

Code:
ACCEPT_KEYWORDS="~ppc" USE="aac matroska real vorbis xvid"  emerge -apv mplayer
>>> --pretend disables --ask... removing --ask from options.

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-video/mplayer-1.0_pre7  (-3dfx) (-3dnow) (-3dnowext) -X +aac -aalib (-alsa) -altivec (-arts) -bidi -bl -cdparanoia -cpudetection -custom-cflags -debug -dga (-directfb) (-divx4linux) (-doc) (-dts) -dv (-dvb) -dvd -dvdread -edl -encode (-esd) (-fbcon) (-ggi) -gif (-gtk) (-i8x0) -ipv6 -jack -joystick -jpeg (-libcaca) (-lirc) (-live) -lzo -mad +matroska (-matrox) (-mmx) (-mmxext) -mythtv (-nas) -nls (-nvidia) +opengl (-oss) -png +real (-rtc) -samba -sdl (-sse) (-sse2) (-svga) -tga -theora -truetype (-v4l) (-v4l2) +vorbis (-win32codecs) -xanim -xinerama (-xmms) -xv +xvid -xvmc 0 kB

Total size of downloads: 0 kB


and my make.conf

Code:

# The Architecture

ARCH="ppc"

# GCC flags

CHOST="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"

# The next generation KEYWORD, including architecture, userland, kernel and libc

ACCEPT_KEYWORDS="ppc-macos"

# Change to -j3 for dual processor machines.

MAKEOPTS="-j2"

# Feature collistion prevent portage from overwriting packages it didn't install itself

FEATURES="collision-protect"

# The necessary code to make portage use curl instead of wget
# When these lines are removed, portage defaults to wget

FETCHCOMMAND="/usr/bin/curl --connect-timeout 15 -# -o \${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="/usr/bin/curl --connect-timeout 15 -# -C - -o \${DISTDIR}/\${FILE} \${URI}"


I wonder what i could be? Any help is cool! Cheers
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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