🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problemas con gcc

#8703
From: xsidius
Date: Thu, 17 Oct 2002 20:51
23 lines
2102 bytes
En el art�culo <pan.2002.10.17.19.28.12.30292@usuarios.retecal.es>, 
Javi escribi�:

>>> [jav@cable213a078 ahorcado]$ gcc main.cc -Ilibs -Llibs
>> 
>> g++ main.cc ...
>> 
> 
> [jav@cable213a078 ahorcado]$ g++ main.cc -Llibs -Ilibs
> /tmp/cc42hNKb.o: In function `main':
> /tmp/cc42hNKb.o(.text+0x6a): undefined reference to `ahorcado::ahorcado[in-charge](char*, int)'
> /tmp/cc42hNKb.o(.text+0xf9): undefined reference to `ahorcado::getPalabra()'
> /tmp/cc42hNKb.o(.text+0x119): undefined reference to `ahorcado::getMaxIntentos()'
> /tmp/cc42hNKb.o(.text+0x1d5): undefined reference to `ahorcado::~ahorcado [in-charge]()'
> collect2: ld devolvi� el estado de salida 1
> 
> Seguimos en las mismas (eso s�, hay muchos menos mensajes d ese tipo)...
> 

Ante todo g++ que es un programa en c++ luego ese es un problema de
linkado �Solo tienes ese fichero?�Donde prototipas el objeto ahorcado? 

Saludos..
Technical Details
Message-ID: <slrnaqu8n7.sk.xsidius@dhp.net.dhis.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!news01.chello.se!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!btnet-peer!btnet!newsfeed.bt.es!newsfeed.telecable.es!not-for-mail
References: <pan.2002.10.17.17.39.39.852674@usuarios.retecal.es> <3DAEFDAF.CD5E5D8B@tengo.no> <pan.2002.10.17.19.28.12.30292@usuarios.retecal.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,9f3fcccd4447583e
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-10-17 13:52:51 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!news01.chello.se!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!btnet-peer!btnet!newsfeed.bt.es!newsfeed.telecable.es!not-for-mail
From: xsidius <xsidius@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Problemas con gcc
Date: Thu, 17 Oct 2002 20:51:52 +0000 (UTC)
Organization: Telecable S.A.
Lines: 23
Message-ID: <slrnaqu8n7.sk.xsidius@dhp.net.dhis.org>
References: <pan.2002.10.17.17.39.39.852674@usuarios.retecal.es> <3DAEFDAF.CD5E5D8B@tengo.no> <pan.2002.10.17.19.28.12.30292@usuarios.retecal.es>
NNTP-Posting-Host: cm18927.telecable.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: filemon1.isp.telecable.es 1034887912 19762 81.9.146.137 (17 Oct 2002 20:51:52 GMT)
X-Complaints-To: abuse@telecable.es
NNTP-Posting-Date: Thu, 17 Oct 2002 20:51:52 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)