PDA

View Full Version : FreeBSD 4.6 (compiling 4.4 Release Version)


Glasswalker
10-15-2003, 09:26 PM
Ok I know it's old...

But I am having some trouble compiling the world and zone binaries...

I am using the FreeBSD Makefile,

But I am getting an error that says:

../common/EQNetwork.cpp: In method `bool EQNetworkServer::Open(short unsigned int = 0)':
../common/EQNetwork.cpp:117: aggregate `struct sockaddr_in address' has incomplete type and cannot be initialized
../common/EQNetwork.cpp:126: confused by earlier errors, bailing out
*** Error code 1

So I dunno what is up...

If anyone can help I would appreciate it

(in case you are wondering me and a bunch of friends, like 20 or so of us all have backups of the client from 4.4, so we are planning on setting up a server on that for now, until 5.0 is fixed)

Thanks

kathgar
10-16-2003, 05:30 AM
The FreeBSD makefile is not offically supported by us. If one of the devs has the time and the experience with BSD sockets they'll look at it.. but most of us don't. IIRC it was just someone on the forums that originally got it to compile on fbsd.

var1ety
12-26-2003, 09:04 PM
we're all using BSD sockets deep down in our hearts.

The makefile that got included with the release became out of date/incorrect between submission and the final version being released.

Looks like a missing or out of order header to me, or maybe a missing -DFREEBSD.

struct sockaddr_in is defined in netinet/in.h, so that's a place to start.


This, of course, comes two months too late - see my thread at

http://www.everquestserver.com/forums/viewtopic.php?t=12004

for information on running 0.5.3dr2 on FreeBSD 5.2rc2. Enough incompatibilities between the source and gcc 2.95 (4-STABLE's compiler) exist that you will probably want to upgrade to 5.x instead of trying to get it to work on 4.x, as I chose to, but you might be able to get 0.5.3dr2 working on 4.x with some sweat.