[sebby@sebby operservice2]$ make gcc -o Operservice -ldl -Wall -O3 -g -fPIC -export-dynamic -I/usr/include/mysql Operservice.o subnetlist.o subnettrust.o fakeuser.o realnamegline.o stringtools. o general.o serverhandlers.o usercommands.o splitdb.o arrays.o dynamic.o trusts. o md5.o chandb.o chancheck.o -L/usr/lib -lmysqlclient cd modules ; make make[1]: Entering directory `/home/sebby/Desktop/operservice2/modules' gcc -o testmod.so -I/usr/include/mysql -Wall -O3 -g -fPIC -shared -export-dynami c -Wl,-Bdynamic testmod.c testmod.c:38:21: error: globals.h: No such file or directory testmod.c: In function ‘dotestcmd’: testmod.c:62: warning: implicit declaration of function ‘checkauthlevel’ testmod.c:63: warning: implicit declaration of function ‘msgtouser’ testmod.c: In function ‘testmod_init’: testmod.c:73: warning: implicit declaration of function ‘setmoduledesc’ testmod.c:95: warning: implicit declaration of function ‘registercommand’ testmod.c: In function ‘testmod_cleanup’: testmod.c:105: warning: implicit declaration of function ‘deregistercommand’ make[1]: *** [testmod.so] Error 1 make[1]: Leaving directory `/home/sebby/Desktop/operservice2/modules' make: *** [all] Error 2 [sebby@sebby operservice2]$ cd modules [sebby@sebby modules]$ make gcc -o testmod.so -I/usr/include/mysql -Wall -O3 -g -fPIC -shared -export-dynami c -Wl,-Bdynamic testmod.c testmod.c:38:21: error: globals.h: No such file or directory testmod.c: In function ‘dotestcmd’: testmod.c:62: warning: implicit declaration of function ‘checkauthlevel’ testmod.c:63: warning: implicit declaration of function ‘msgtouser’ testmod.c: In function ‘testmod_init’: testmod.c:73: warning: implicit declaration of function ‘setmoduledesc’ testmod.c:95: warning: implicit declaration of function ‘registercommand’ testmod.c: In function ‘testmod_cleanup’: testmod.c:105: warning: implicit declaration of function ‘deregistercommand’ make: *** [testmod.so] Error 1