[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] installation fail

From: Dragiša Durić
Subject: Re: [Gm2] installation fail
Date: Fri, 29 Jul 2011 08:21:49 +0200

You need kernel headers package, on Fedora it's called... kernel-headers, but YMMV… Search for packages with kernel in name and get kernel-headers equivalent if available, or kernel-devel.


On Jul 28, 2011, at 10:48 PM, tommy oines wrote:


I went to and downloaded the latest release of gm2 gcc-4.1.2+gm2-1.0.tar.gz and ended up with the following message:

/home/tommy/build-4.1.2/./gcc/xgcc -B/home/tommy/build-4.1.2/./gcc/ -B/home/tommy/opt/x86_64-unknown-linux-gnu/bin/ -B/home/tommy/opt/x86_64-unknown-linux-gnu/lib/ -isystem /home/tommy/opt/x86_64-unknown-linux-gnu/include -isystem /home/tommy/opt/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.1.2+gm2-20101211/gcc -I../../gcc-4.1.2+gm2-20101211/gcc/. -I../../gcc-4.1.2+gm2-20101211/gcc/../include -I../../gcc-4.1.2+gm2-20101211/gcc/../libcpp/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \ -c ../../gcc-4.1.2+gm2-20101211/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o cc1: warning: command line option "-fno-exceptions" is valid for Modula-2 but not for C In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from ../../gcc-4.1.2+gm2-20101211/gcc/tsystem.h:96, from ../../gcc-4.1.2+gm2-20101211/gcc/crtstuff.c:68: /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/home/tommy/build-4.1.2/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/home/tommy/build-4.1.2' make: *** [all] Error 2

Thanks in advance
- Tommy
gm2 mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]