-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Provando a fare il programma piu` stupido del mondo (hello world) in C++, il g++ di un altro computer (un sSuse con versione del gcc 2.95.3) funziona, mentre il g++ di mandrake (il 3.2) mi da i seguenti errori: [EMAIL PROTECTED] C++]$ gcc cap1.C -o test In file included from /usr/include/c++/3.2/backward/iostream.h:31, from cap1.C:1: /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This fi le includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples in clude substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning us e - -Wno-deprecated. /home/ferris/tmp/ccdQbsfd.o: In function `main': /home/ferris/tmp/ccdQbsfd.o(.text+0x14): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char,std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)' /home/ferris/tmp/ccdQbsfd.o(.text+0x21): undefined reference to `std::cout' /home/ferris/tmp/ccdQbsfd.o(.text+0x26): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char> >&, char const*)' /home/ferris/tmp/ccdQbsfd.o(.text+0x2f): undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))' /home/ferris/tmp/ccdQbsfd.o: In function `__static_initialization_and_destruction_0(int, int)': /home/ferris/tmp/ccdQbsfd.o(.text+0x5c): undefined reference to `std::ios_base::Init::Init[in-charge]()' /home/ferris/tmp/ccdQbsfd.o: In function `__tcf_0': /home/ferris/tmp/ccdQbsfd.o(.text+0x8b): undefined reference to `std::ios_base::Init::~Init [in-charge]()' /home/ferris/tmp/ccdQbsfd.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status
Che cambiamenti hanno fatto? come faccio a farlo compilare con il 3.2? e se volessi farlo copilare con il 2.95? Grazie! Luigi - -- Le ballerine sono coraggiosissime! Quante donne conoscete in grado di gettarsi tra le braccia di un omossessuale sperando che lui le afferri? Rita Rüdner -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+ZyndTvJtVxCNwP4RAoq+AJ9Ft7HihpGgMNIOeVai04667zPRGgCgkOTJ BiUe7LLSs+SwRWQnlIqezcc= =+eCo -----END PGP SIGNATURE-----