Re: Linux From Scratch 7.1
Postano: 23 srp 2012, 17:29
Evo jedan savjet. Pretplati se na njihove mailing liste (imaš ih nekoliko), poskidaj arhive tih lista, importiraj ih u svoj mail klijent (potrajat će, ali će se isplatiti). Primjer tvog problema s lfs-support mailing liste:
Naravno, Google je glavni, a kad su patchevi u pitanju i nema odgovora na LFS mailing listama ili u dokumentaciji, odgovor često nađeš na Gentoo stranicama, wikiju i forumima. Ja sam svojevremeno hrpe kojekakvih patcheva poskidao odande, a pogotovo mi je to trebalo kad nisam išao striktno po (B)LFS knjizi.This is my first try at LFS and I ran into a problem when trying to
make gcc-4.6.2 Pass 1. The error message was:
gtype-desc.c:8893:18: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9012:36: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9096:31: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9117:31: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9124:31: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9131:31: error: subscripted value is neither array nor
pointer nor vector
make[2]: *** [gtype-desc.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
I am building on an Arch Linux host system which is running the latest
versions of each installed package, including gcc-4.7.1-4. A Google
search showed that this is a known issue and the solution requires
making a simple change [1] to /gcc-4.6.2/gcc/gengtype.c after
extracting the package.
As I couldn't find any similar posting on this list I am posting this
in case it can help others. Thanks for a great project and a
fantastic learning experience.
Harry
[1] http://gcc.gnu.org/viewcvs/branches/gcc ... f_format=h
-- http://linuxfromscratch.org/mailman/lis ... fs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page