[IRC-DEV] Re: [IRC-DEV] Fallo de compilación activando debug.

Sergio aka ^sektor^ sektor at wanadoo.es
Mon Aug 19 16:23:07 CEST 2002


----- Original Message -----
From: "Alejandro Vazquez aka hPmK" <hppmkk at terra.es>
To: <irc-dev at argo.es>
Sent: Monday, August 19, 2002 3:14 PM
Subject: [IRC-DEV] Fallo de compilación activando debug.


> diferentes (varias *BSD, Debian, Red Hat 7.x, etc...)... dándome error en
> todos ellos al hacer el make en la linea '67': 'redefinition of struct
> Client'.

En Geocrawler hay un mensaje del 31 de Octubre del 2000 informando de un
error similar, esta vez compilando ircu 2.10.07 en OpenBSD

Textualmente dice esto:

"My guess is that struct Client is defined both in the source and in a
header file, or that the header file doesn`t properly protect itself
from being #included twice"

Es decir, que hay una definición doble tanto en el source como en el header
o bien que el fichero de cabecera no tiene la sintaxis correcta para impedir
redundancias si es invocado dos veces.

Una posible solución sería blindar el header con un bucle que impida que se
redefina la estructura y por tanto, que sea incluido una única vez.

Un saludo :)

************************************
Powered by Mars is Here

<^sektor^> sektor at wanadoo.es

PGP key available at KeyServer.com

************************************





More information about the IRC-Dev mailing list