01/03/2004 build, 0.5.3-DR2 Make fails (fix inside)
The latest version of 0.5.3-DR2 is failing to make on Linux.
The error received is: client.cpp:3413: name lookup of `i' changed for new ISO `for' scoping client.cpp:3401: using obsolete binding at `i' Just need to give the second for loop in Client::Message_StringID it's own declared iterator rather than reusing 'i'. Diff of the fix is below: Code:
3413,3416c3413,3416 |
I should also mention I'm using gcc 3.2.2, in case this a compiler version issue.
|
Did you get the source from the 319Shawn.eqemulator.net/cvs? I looked at it, and it didn't seem to be compileable under linux.
I edited the makefiles to make them all point to the root directory when compiling (and made 3 makefiles for world, zone and the memory). However, I had the same problem you had with client.o. For me, however, the "variable i problem" you're describing is only a warning (not a error). I made the change and it still fails to compile. Instead, it seems that the error is that UpdateWindowTitle(char*) isn't getting the right arguments (in net.cpp/h). I was wondering if you have gotten the source (the 1/3/2004 source) to compile and work completely yet. Thanks Lawrence |
Also, out of curiosity, does the newest (1/4?) EQLive patch work with the original 5.3DR2 source? --- or does it *only* work with the new source offered by 319Shawn?
I'm asking this because I can't compile it, and though my friend doesn't have a problem logging onto brightblade, he has a problem logging onto my server (1017 error). Just wondering if its a version issue, or another server issue that I didn't look into yet Lawrence |
Paste the output.. that diff isn't the best way to deal with it but it will work.. and UpdateWindowTitle doesn't do anything in linux.. you can just comment out the line but it should compile fine.. but I need to know where it is to check anyways.
|
I made the change mentioned above.. and i get this when i try to compile:
Code:
client.cpp:3413: `j' undeclared (first use this function) |
i must have missed something the first time..
I did it again, and it works now.. :D |
Gangrif, I'm assuming you're using the most recent code from 319Shawn?
|
hmm,
I'm just wondering, are you all referring to the code in the post by Shawn319: ? Quote:
Has any of you linux people gotten the version I'm talking about to compile? If so, how did you go about doing it? I'm using Debian and gcc 3.3. Thanks Lawrence |
Yes, tahts the package i dled. The one you quoted that is.
in a nutshell heres what i did. dled that rar to a windows box, and extracted it (i dont have a unrar utility on my linux box) re-compressed it as a zip. sent it over to the linux box. unzipped it to ~/eqemu/053dr2/ it created its own directories for zone, world, and the mem lib, along with a few other things. for world, and the mem lib, i just entered the directory, and typed make. they compiled with no errors. for zone, i had a little trouble, eventually what did it was this: # make clean # vi client.cpp ripped out the block that this thread says to replace, and pasted the code from this thread in its place. edited out the spaces before each line, and replaced them with tabs to retain format. then i had to edit the makefile.. the first 10 or so lines, i had to remove the 3 spaces before each line fo the makefile to not produce any errors. then # make it compiled. |
Ahh, something is probably wrong w/ my unraring program. Thanks for the help!
|
Sorry for bothering everyone w/ my stupidity. Thanks a lot Gangrif!
|
dont thank me until it works! :)
It worked for me, that doesnt mean itll work for you. ;) you're welcome anyway. |
Well,
it compiles, it runs, people see my server-name. However, no one can log on, as it gives them a 1017 error. Still beyond me why that is. |
1017.... 1017...... lemme remember what that is.
|
All times are GMT -4. The time now is 07:53 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.