gcc update
Alexandros Papadopoulos
A.Papadopoulos at Bradford.ac.uk
Fri Feb 2 00:36:01 EET 2001
Xairetw paidia!
Prospa8wntas na egkatasthsw ton kernel 2.4.0 ekana ta ekshs:
(Xrhsimopoiw SuSE 6.4 (2.2.14 kernel) se AMD Duron 650MHz)
Anaba8misa stis ekseis ekdoseis ta antistoixa paketa, opws elege sto
Changes:
- modutils 2.4.2
- util-linux 2.10o
- e2fsprogrs 1.19
- pcmcia-cs 3.1.22
- ppp 2.4.0
- gcc 2.91.66
(ta ypoloipa paketa pou xreiazontai ta eixa se ekdosh neoterh apo ayth
pou xreiazotan)
Meta ekana:
make xconfig (epeleksa K7 processor ktl)
make dep (ok)
make clean (ok)
make bzImage
ekei kollhsa me to ekshs:
/.../linux/include/asm/string.h: In function '__memcpy3d':
/.../linux/include/asm/string.h: string.h:312: 'current' undeclared
(first use in this function)
make: *** [init/main.o] Error 1
kai terma.
Twra, kapoia side-effects pou sigoura syndeontai me to gegonos. Afotou
ebala th nea ekdosh tou gcc (h opoia fanhke na ekatse kala epeidh h
entolh gcc --version dinei th nea version) den mporw na trexw programma
ths C++ pou exw kanei compile xwris na mou petaksei segfault. Na sas
diaskedasw me to parakatw paradeigma (demonstration purposes only, eimai
ligo pio proxwrhmenos :))
As poume oti grafw ayto:
#include <iostream>
using namespace std;
int main()
{
cout << "lalala";
return 0;
}
To kanw compile kai link (g++ -o lala lala.c) kai otan to trexw:
Segmentation fault
Allo side effect einai oti o neos pppd pe8ainei me exit code 2 otan paw
na kanw ena kanoniko dialup. Omws to /etc/ppp/options einai aparallaxto
me prin, to tsekara me mia allh kopia tou pou eixa. To version tou ppp
kai pali anaferetai swsta san to kainourgio, alla profanws kati exei
paei straba...
Ola ta paketa pou ekana update (gcc ktl) ta katebasa se source kai
kanane compile kai install mia xara.
Opoiadhpote idea xrhsimotath, den kserw na antimetwpizw 8ymwmenous
compilers :)
TIA
Alex
More information about the Linux-greek-users
mailing list