3.2.9 - Solved but strange : Error compiling (m_svsmotd)

These are old archives. They are kept for historic purposes only.
Post Reply
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

3.2.9 - Solved but strange : Error compiling (m_svsmotd)

Post by CrazyCat »

Hello there,

I'm trying upgrading my UnrealIrcd (3.2.8) and I've an error when doing the make:

Code: Select all

gcc -I../include -I/home/zeolia/Unreal3.2/extras/regexp/include -I/home/zeolia/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -export-dynamic   -fPIC -DPIC -shared  -c m_svsmotd.c
m_svsmotd.c: In function ‘m_svsmotd’:
m_svsmotd.c:115: error: ‘conf_files’ undeclared (first use in this function)
m_svsmotd.c:115: error: (Each undeclared identifier is reported only once
m_svsmotd.c:115: error: for each function it appears in.)
m_svsmotd.c:121: warning: passing argument 1 of ‘free_motd’ from incompatible pointer type
../include/h.h:785: note: expected ‘struct aMotd *’ but argument is of type ‘struct aMotd **’
m_svsmotd.c:151: error: too many arguments to function ‘read_motd’
make[2]: *** [m_svsmotd.o] Erreur 1
make[2]: quittant le répertoire « /home/zeolia/Unreal3.2/src/modules »
make[1]: *** [mods] Erreur 2
make[1]: quittant le répertoire « /home/zeolia/Unreal3.2/src »
make: *** [build] Erreur 2
I've expanded the archive in the existing Unreal3.2 directory (and did a make clean before ./Config).

To bypass this trouble, I'd to extract the archive in a new directory, copying my custom modules into this fresh directory and all goes on...
Post Reply