+ -
当前位置:首页 → 问答吧 → 这里有人在LFS上安装RedHat Package Manager吗?

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

时间:2008-12-24

来源:互联网

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

作者: think365   发布时间: 2008-12-24

rpminstall.c: In function 'rpmErase':
rpminstall.c:750: error: assignment of read-only location
先去看看这个函数吧,到底在哪里assign了,是不是还需要其他的权限

作者: sspipipipi   发布时间: 2008-12-24

引用:
作者: sspipipipi
rpminstall.c: In function 'rpmErase':
rpminstall.c:750: error: assignment of read-only location
先去看看这个函数吧,到底在哪里assign了,是不是还需要其他的权限
我是用root进行make的。

作者: think365   发布时间: 2008-12-24

热门下载

更多