Article View: es.comp.os.linux.programacion
Article #16038Re: "undefined reference to..."
From: Julio Baixauli
Date: Mon, 15 May 2000 00:00
Date: Mon, 15 May 2000 00:00
33 lines
1515 bytes
1515 bytes
Jose A wrote: > Cambia la l�nea: > > cc captura.o -o captura > > por: > > cc captura.o -o captura -lpcap > ^^^^^^-----> esto es lo que te falta > > tal como lo haces no incluyes la libreria de pcap y por eso te da el fallo. > > saludos. Muchas gracias. Empezaba a estar desesperado. Por cierto, �como puedo hacer lo mismo desde un fichero makefile (sin tener que escribir toda la linea del "cc nombre.c .............") ? Me refiero a si se puede hacer: nombre: nombre.o otro.o lpcap.o o algo similar. Muchas gracias de nuevo. -- ******************************************** Julio Baixauli Garreta baixauli@mat.upc.es ********************************************
Technical Details
Message-ID:
<3920411A.AF891C41@mat.upc.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<391C562E.41AA6B38@mat.upc.es> <slrn8homqc.11o.MAQUI000@localhost.localdomain>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,72ff2f320f6f5a13 X-Google-Attributes: gidf86c8,public From: Julio Baixauli <baixauli@mat.upc.es> Subject: Re: "undefined reference to..." Date: 2000/05/15 Message-ID: <3920411A.AF891C41@mat.upc.es> X-Deja-AN: 624022402 Distribution: es Content-Transfer-Encoding: 8bit References: <391C562E.41AA6B38@mat.upc.es> <slrn8homqc.11o.MAQUI000@localhost.localdomain> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: newsmngr@upc.es X-Trace: defalla.upc.es 958407832 25601 147.83.39.211 (15 May 2000 16:23:52 GMT) Organization: Universitat Politecnica de Catalunya Mime-Version: 1.0 NNTP-Posting-Date: 15 May 2000 16:23:52 GMT Newsgroups: es.comp.os.linux.programacion