3.12 compile errors on FreeBSD 4.5
Well, first off, make doesn't work to compile because I get dependency errors. So I'm using gmake instead.
Here are the errors I get: Code:
[4:22](veeshan@shell3)[~/emu/zone]> gmake Code:
[4:23](veeshan@shell3)[~/emu/world]> gmake |
Anyone? :)
|
The errors that I get during my compilation of EQEmu, I get errors myself. I usually ignore most of them, because they seem more towards Win32 issues--and not Linux/Unix based code; correct me there if I am wrong.
Quote:
|
It never finishes compiling, it dies and stops on those errors.
|
I am not a linux guru, but working with ShowEQ and getting that compiled, its a good idea to make sure your gcc libs and g++ libs are up to date.
|
We don't have any *bsd code, I have not coded in it yet but it seems atleast the socket struct is different.. also what version of gcc are you using? some of the 3.XX versions have problems
|
Try replacing:
unsigned int fromlen; with: socklen_t fromlen; |
eqemu compiles out of the box on freebsd on 0.4.1 .. some more stuff got changed between 0.4.1 and 0.4.2, and again between 0.4.3, so the compile is crapping out.
i used to have a readme file included with the distro detailing what changes had to be made, but that didn't make it over from 0.4.1 to 0.4.2, or something. anyhow, you need linuxthreads installed, as well as mysql stuff, and you need to compile using gmake -f makefilefreebsd. Note, this isn't working atm with 0.4.2, as I mentioned above, but hopefully by 0.4.3 we'll be up and going again. |
fix against 0.4.2
nightly CVS isn't in a state to compile for me yet, maybe in another few days. Gonna try to hook up with some devs so I can get at it before they release so us FreeBSD users won't be out in the cold this time =)
Until then, I'm going to try to attach a diff against 0.4.2-RELEASE to allow it to compile out of the box on FreeBSD (4.8-prelease, at least). My old readme is gone, but I'll briefly summarize it here: you need to install devel/linuxthreads to compile, in addition to mysql. The relevant headers should automatically put themselves into /usr/local/include/mysql if you don't futz with anything. you *must* compile with make -f makefilefreebsd Note: the problems from 0.4.1->0.4.2 consisted entirely of someone moving socket.h before types.h in several files. as always, grab my patch from: http://sourceforge.net/tracker/index...81&atid=430534 |
All times are GMT -4. The time now is 01:22 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.