🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problemas con gcc

#8705
From: NotFound
Date: Thu, 17 Oct 2002 21:15
23 lines
1919 bytes
Javi escribió:

> [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)...

No son del mismo tipo, los otros eran que te faltaban cosas del
lenguaje, estos son de que te faltan cosas tuyas. Que has declarado
cosas pero no las has definido, o que estás usando una librería pero no
le pides que la enlace.

Salu2
Technical Details
Message-ID: <3DAF2865.18997792@tengo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!cesio.mundo-r.com!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 15:02:30 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!cesio.mundo-r.com!not-for-mail
From: NotFound <correo@tengo.no>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Problemas con gcc
Date: Thu, 17 Oct 2002 23:15:17 +0200
Organization: Another Netscape Collabra Server User
Lines: 23
Message-ID: <3DAF2865.18997792@tengo.no>
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: cm65123.red.mundo-r.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mozilla 4.77 [es] (X11; U; Linux 2.4.4-4GB i686)
X-Accept-Language: en