LinuxSir.cn,穿越时空的Linuxsir!

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

这里有人在LFS上安装RedHat Package Manager吗?

[复制链接]
发表于 2008-12-24 13:12:30 | 显示全部楼层 |阅读模式
make 的时候报错了。。。

../popt/popt.h:444: warning: type qualifiers ignored on function return type
In file included from ./rpmcli.h:8,
                 from rpminstall.c:7:
./rpmlib.h:1020: warning: type qualifiers ignored on function return type
In file included from rpminstall.c:9:
../rpmdb/rpmdb.h:482: warning: type qualifiers ignored on function return type
rpminstall.c: In function 'rpmInstall':
rpminstall.c:508: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpminstall.c: In function 'rpmErase':
rpminstall.c:750: error: assignment of read-only location
rpminstall.c: In function 'IDTXload':
rpminstall.c:942: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpminstall.c: In function 'IDTXglob':
rpminstall.c:1018: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [rpminstall.lo] Error 1
make[3]: Leaving directory `/root/socks/rpm-4.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/socks/rpm-4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/socks/rpm-4.1'
make: *** [all] Error 2
发表于 2008-12-24 14:40:40 | 显示全部楼层
rpminstall.c: In function 'rpmErase':
rpminstall.c:750: error: assignment of read-only location
先去看看这个函数吧,到底在哪里assign了,是不是还需要其他的权限
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-24 17:22:57 | 显示全部楼层
Post by sspipipipi;1928965
rpminstall.c: In function 'rpmErase':
rpminstall.c:750: error: assignment of read-only location
先去看看这个函数吧,到底在哪里assign了,是不是还需要其他的权限

我是用root进行make的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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