[Top][All Lists]

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

[Gm2] can't build package

From: tommy oines
Subject: [Gm2] can't build package
Date: Sun, 31 Jul 2011 22:25:36 +0200


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 when trying to build:

/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
address@hidden:~$ sudo apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.38-10-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

- Thanks in advance.

reply via email to

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