Am avut Mandriva LE 2005 pe doua calculatoare... Au mers super!
Pe unul din ele am inceput trecerea la 2006 progresiv: 2006 RC1, 2006 RC2 si acum 2006 Official cu un net-install (comanda urpmi --auto-select)
Pe celalalt (calculatorul pe care stau acum) am facut trecerea la 2006 direct in Official cu un net-install in aceasta noapte... Sistemul este updatat complet la 2006 (inclusiv kernel-ul) si am o problema:
[syl@jucarie QFileRenamer]$ make g++ -o renamer .obj/mainform.o .obj/qmake_image_collection.o .obj/moc_mainform.o -L/usr/lib/qt3//lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../crt1.o: In function `_start': ../sysdeps/i386/elf/start.S:115: undefined reference to `main' collect2: ld returned 1 exit status make: *** [renamer] Error 1
este tentativa de compilare a unui programel pe care l-am facut pe 2006 Official! Tot ce-am facut mai demult (LE2005, gcc 3.x) merge compilat pe 2006 cu gcc 4.0.1-5...
se mai observa si urmatoarea eroare:
[syl@jucarie ~]$ gcc -lblas /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../crt1.o: In function `_start': ../sysdeps/i386/elf/start.S:115: undefined reference to `main' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_st_write' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_transfer_character' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_runtime_error' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_st_write_done' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_compare_string' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_transfer_integer' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_filename' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_stop_numeric' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_ioparm' /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../libblas.so: undefined reference to `_gfortran_line' collect2: ld returned 1 exit status
am reinstalat libblas si am instalat si gfortran si tot nu vrea :(
Pe net nu am gasit decat o problema perfect identica, tot in Mandriva 2006, chiar pe mailing list-ul lor, dar nu s-a raspuns inca acolo... Problema persistă şi pe gcc 3.3.6. Aveţi vreo idee?
Nu stiu rezolvarea, dar flerul imi spune ca problema nu sta in gcc-ul din 2006 ci in "programelul" tau. :-D
We can't solve problems by using the same kind of thinking we used when we created them.
A.E.
da :(
nu creasem functia main... am fost prost timp de 24 de ore, iar acu sper ca mi-am revenit :P
[url=http://toxic-chat.sourceforge.net/]ToXic Chat[/url]. Come on people, let's talk sick! | [url=http://sourceforge.net/export/rss2_projnews.php?group_id=129863]Stiri RSS[/url]
[url=http://www.caramida-verde.as.ro/]Cărămida Verde[/url]: intelige
Oh man, I'm good ! :-D
We can't solve problems by using the same kind of thinking we used when we created them.
A.E.