LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1045|回复: 4

编译MPlayer类型指针不相容??????

[复制链接]
发表于 2006-3-7 01:01:22 | 显示全部楼层 |阅读模式
./config没出错
make时出现下面这些错误是什么意思?
.........
...........
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o dsputil.o dsputil.c
dsputil.c: In function `dsputil_init':
dsputil.c:3731: warning: assignment from incompatible pointer type
dsputil.c:3732: warning: assignment from incompatible pointer type
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

make[1]: *** [dsputil.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer/MPlayer-1.0pre7/libavcodec'
make: *** [libavcodec/libavcodec.a] 错误 2

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2006-3-7 07:25:20 | 显示全部楼层
你用的是gcc3吗?
回复 支持 反对

使用道具 举报

发表于 2006-3-7 09:03:42 | 显示全部楼层
“指针不相容”是警告,gcc产生了一个内部错误:
>cc: Internal error: Killed (program cc1)
>lease submit a full bug report.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>For Debian GNU/Linux specific bug reporting instructions,
>see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

我用GCC 4和Mplayer的HEAD分支编译没有问题。
回复 支持 反对

使用道具 举报

发表于 2006-3-7 09:29:39 | 显示全部楼层
试试用gcc-4.x编译
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-10 00:08:39 | 显示全部楼层
谢谢帮助

昨天突然断网真是气死人
我用的是gcc version 3.3.5 (Debian 1:3.3.5-13)编译
后来我重启不进X
再重新编译到这段的停了很久(有十多分钟)最后还是过了
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o dsputil.o dsputil.c
dsputil.c: In function `dsputil_init':
dsputil.c:3731: warning: assignment from incompatible pointer type
dsputil.c:3732: warning: assignment from incompatible pointer type
安装了之后居然也能用怪啊
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表