编译错误
编译前面都很正常,执行make dep时出现错误:gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:221: (Each undeclared identifier is reported only once
scripts/mkdep.c:221: for each function it appears in.)
scripts/mkdep.c:221: size of array `resolved_path' has non-integer type
make: *** Error 系统为redhat9,升级到2.4.21,安装oracle时gcc的版本改成了2。1,会不会跟这个有关系? 2.1 is too old. can u try 3.2? 我很菜啊,如果升级了,我的oracle还能用吗? no idea. but u should be able to keep two gcc on one system i think.
am i wrong?
why oracle need 2.1 gcc. i think oracle can run on rh8 or 9 well. 我用的是oracle817,安装必须要gcc2。1,不然装不上。
ps:怎么保持2个gcc? if install oracle need gcc 2.1 does it need even after installing? 我很菜啊,对linux和oracle都不是很懂。。呵呵
怎么样在机器上保持2个gcc?
怎么查看gcc的版本,是这个:rpm -e gcc 吗? no, that is delete.
rpm -q i think.
for 2 gcc, u need to check some doc. i use gentoo, which handle this easier. not sure about rh. 我看了一下,gcc的版本是3。2。2-5 not 2.1? hehe. find that sb has this problem before. check if u have /usr/include/linux/limit.h.
u user space header files are incomplete. 同一台机器上装着redhat72,全新完全安装,成功编译内核2.4.21,看来跟安装oracle817有很大关系,又打补丁又降级的。。
页:
[1]