I recently decided to upgrade from 1.4.x to 1.6.6 but I cannot get the filesys module to compile (and I need it). That wasn't the only problem actually (I use rh 6.1 - heavily upgraded of course ) but I updated a few things and all went well... erm, almost. The filesys module would not compile. Any tips? Shall I upgrade/install something else?
output:
make[2]: Entering directory `/home/sabrewulf/eggdrop1.6.6/src/mod/filesys.mod'
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -g3 -DDEBUG_ASSERT -DDEBUG_MEM -DMAKING_MODS -c .././filesys.mod/filesys.c
In file included from .././filesys.mod/filesys.c:129:
../filesys.mod/files.c: In function `resolve_dir':
../filesys.mod/files.c:154: `DIR' undeclared (first use in this function)
../filesys.mod/files.c:154: (Each undeclared identifier is reported only once
../filesys.mod/files.c:154: for each function it appears in.)
../filesys.mod/files.c:154: `dir' undeclared (first use in this function)
../filesys.mod/files.c:155: parse error before `*'
../filesys.mod/files.c:204: `fdbe' undeclared (first use in this function)
../filesys.mod/files.c:222: `user' undeclared (first use in this function)
../filesys.mod/files.c:228: `req' undeclared (first use in this function)
../filesys.mod/files.c:258: warning: implicit declaration of function `opendir'
../filesys.mod/files.c:262: warning: implicit declaration of function `closedir'
In file included from .././filesys.mod/filesys.c:130:
../filesys.mod/filedb3.c: In function `filedb_update':
../filesys.mod/filedb3.c:645: `DIR' undeclared (first use in this function)
../filesys.mod/filedb3.c:645: `dir' undeclared (first use in this function)
../filesys.mod/filedb3.c:646: parse error before `long'
../filesys.mod/filedb3.c:657: warning: implicit declaration of function `readdir'
../filesys.mod/filedb3.c:657: warning: assignment makes pointer from integer without a cast
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: `name' undeclared (first use in this function)
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:659: dereferencing pointer to incomplete type
../filesys.mod/filedb3.c:661: `s' undeclared (first use in this function)
../filesys.mod/filedb3.c:684: warning: assignment makes pointer from integer without a cast
../filesys.mod/filedb3.c:696: `where' undeclared (first use in this function)
make[2]: *** [../filesys.o] Error 1
make[2]: Leaving directory `/home/sabrewulf/eggdrop1.6.6/src/mod/filesys.mod'
make[1]: *** [filesys.mod_so] Error 2
make[1]: Leaving directory `/home/sabrewulf/eggdrop1.6.6/src/mod'
make: *** [debmodules] Error 2
Exerion