diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-07-02 12:28:47 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-07-02 12:34:38 +0200 |
commit | d6789f1384eb515f7bbe0d25762ffb82567eec38 (patch) | |
tree | 1c9289a49dd64889b18582edf263c8db2a46c06f /src/ogAdmLib.h | |
parent | f520a57f58bc450e3a7c7b3e61bf2dd60a17bf33 (diff) |
#971 linkage error after split
/usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmServer.h:25: multiple definition of `servidoradm'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmServer.h:25: first defined here
/usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmServer.h:26: multiple definition of `puerto'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmServer.h:26: first defined here
/usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmServer.h:35: multiple definition of `tbsockets'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmServer.h:35: first defined here
/usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmLib.h:81: multiple definition of `ndebug'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmLib.h:81: first defined here
/usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmLib.h:80: multiple definition of `szPathFileLog'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmLib.h:80: first defined here
/usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmLib.h:80: multiple definition of `szPathFileCfg'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmLib.h:80: first defined here
Diffstat (limited to 'src/ogAdmLib.h')
-rw-r--r-- | src/ogAdmLib.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ogAdmLib.h b/src/ogAdmLib.h index fde24eb..c6c251d 100644 --- a/src/ogAdmLib.h +++ b/src/ogAdmLib.h @@ -74,11 +74,8 @@ typedef void* LPVOID; #define TRUE 1 #define FALSE 0 -// ________________________________________________________________________________________________________ -// Variables globales -// ________________________________________________________________________________________________________ -char szPathFileCfg[LONSTD],szPathFileLog[LONSTD]; -int ndebug; // Nivel de debuger +extern char szPathFileCfg[4096],szPathFileLog[4096]; +extern int ndebug; // Nivel de debuger typedef struct{ // Estructura de las tramas char arroba; // Caracter arroba siempre |