🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10888

Re: Compiladores

#10888
From: Jose Alberto
Date: Tue, 22 Jan 2002 08:55
49 lines
2549 bytes
"Reinoso G." escribi�:

>
>
> En teor�a dice que no encuentra ese fichero �lo has buscado? Yo lo tengo
> en:
> /usr/lib/gcc-lib/i486-suse-linux/2.95.2/cc1plus

si....yo tambien lo tengo. Lo he a�adido al path y ahora me dice que...
/tmp/ccUrOIWd.o: In function `main':
/tmp/ccUrOIWd.o(.text+0xd): undefined reference to `endl(ostream&)'
/tmp/ccUrOIWd.o(.text+0x27): undefined reference to `cout'
/tmp/ccUrOIWd.o(.text+0x2c): undefined reference to `ostream::operator<<(char
const*)'
/tmp/ccUrOIWd.o(.text+0x35): undefined reference to
`ostream::operator<<(int)'
/tmp/ccUrOIWd.o(.text+0x3e): undefined reference to `ostream::operator<<(char
const*)'
/tmp/ccUrOIWd.o(.text+0x47): undefined reference to
`ostream::operator<<(ostream& (*)(ostream&))'
/tmp/ccUrOIWd.o(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status

Para asegurarnos te dir� que estoy intentando compilar
#include <iostream> // Stream declarations
     using namespace std;

     int main() {
       cout << "Hello, World! I am "
            << 8 << " Today!" << endl;
     } ///:~

No creo que sea la std pero en fin. De todas formas hay alguna
incompatibilidad entre los compiladores
que actualic�.
Gracias en cualquier caso.
Un saludo.



>

--
-----------------------------------------
Jose Alberto Castillejo Mart�nez
-----------------------------------------

Linux Registered User #199059
Technical Details
Message-ID: <3C4D2914.D6CCE423@mad.tecsidel.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!news.comunitel.net!news.rediris.es!news-2.rediris.es!tidos.tid.es!not-for-mail
References: <3C457917.6D63E900@mad.tecsidel.es> <slrna4l7gd.gq.reinoso@EA4BAO.PLLANO.ESP.EU> <3C4C22F8.A6074DD2@mad.tecsidel.es> <slrna4p46n.8q.reinoso@EA4BAO.PLLANO.ESP.EU>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,8a0eabd3a56292df
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-01-22 03:25:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!news.comunitel.net!news.rediris.es!news-2.rediris.es!tidos.tid.es!not-for-mail
From: Jose Alberto <alberto.castillejo@mad.tecsidel.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Compiladores
Date: Tue, 22 Jan 2002 09:55:48 +0100
Organization: TECSIDEL
Lines: 52
Message-ID: <3C4D2914.D6CCE423@mad.tecsidel.es>
References: <3C457917.6D63E900@mad.tecsidel.es> <slrna4l7gd.gq.reinoso@EA4BAO.PLLANO.ESP.EU> <3C4C22F8.A6074DD2@mad.tecsidel.es> <slrna4p46n.8q.reinoso@EA4BAO.PLLANO.ESP.EU>
NNTP-Posting-Host: 172.18.74.72
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mozilla 4.78 [es] (X11; U; Linux 2.4.7-10 i686)
X-Accept-Language: en