[MPlayer-users] RedHat 6.2 gcc
Draky Void
draky at iate.obninsk.ru
Tue Oct 30 13:07:48 CET 2001
Hello!
30 October 2001 10:45, you wrote:
> When I tried to compile mplayer with this compiler I got the following
> output: (the funny thing is that gcc 2.96 in a RedHat 7.x works perfectly)
>
> gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
> -D_REENTRANT -fomit-frame-pointer -Ilibmpdemux -Iloader -Ilibvo
> -I/usr/local/include -o mplayer.o mplayer.c
> In file included from /usr/include/sys/ioctl.h:27,
> from mplayer.c:8:
> /usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or directory
> In file included from /usr/include/sys/ioctl.h:30,
> from mplayer.c:8:
> /usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or
> directory
> In file included from /usr/include/signal.h:300,
> from mplayer.c:15:
> /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
> directory
> In file included from mplayer.c:15:
> /usr/include/signal.h:303: warning: `struct sigcontext' declared inside
> parameter list
> /usr/include/signal.h:303: warning: its scope is only this definition or
> declaration,
> /usr/include/signal.h:303: warning: which is probably not what you want.
> make: *** [mplayer.o] Error 1
You are expiriencing a problemm not with compiler, but with broken headers.
Check the following symlinks: /usr/include/asm should point to
/usr/src/linux/include/asm; this one should point to asm-i386 (located at
/usr/src/linux/include). And, ofc, /usr/src/linux should point to your
kernel's source.
Regards,
Draky Void
More information about the MPlayer-users
mailing list