I've been following the "Yet another Linux Installation Guide" for making a server on Ubuntu and thus far its been pretty good, except when I got this:
Code:
make[1]: Entering directory `/home/eqemu/incoming/PEQ/EQEmuServer/world'
gcc -c [This stuff was stretching the page] ../common/SocketLib/Mime.cpp -o ../common/SocketLib/Mime.o
../common/SocketLib/Mime.cpp: In member function ‘bool Mime::LoadMimeFile(const std::string&)’:
../common/SocketLib/Mime.cpp:40: error: ‘fopen’ was not declared in this scope
../common/SocketLib/Mime.cpp:42: error: ‘fgets’ was not declared in this scope
../common/SocketLib/Mime.cpp:43: error: ‘feof’ was not declared in this scope
../common/SocketLib/Mime.cpp:61: error: ‘fclose’ was not declared in this scope
make[1]: *** [../common/SocketLib/Mime.o] Error 1
make[1]: Leaving directory `/home/eqemu/incoming/PEQ/EQEmuServer/world'
make: *** [all] Error 2
I dont know exactly what package I need for "fopen" etc. I have a bunch of the PHP5 dev's and builds. I have build-essential and everything...?
EDIT: I found that I had to uncomment stdio.h in Mime.cpp for it to work.