Silly questions about do_gold

Posted by Nick Cash on Wed 03 Dec 2003 01:48 AM — 3 posts, 8,892 views.

USA #0
Alright, well, I figured I haven't stirred up any trouble for you guys in a while, so it was time to start back in, plus I just really kicked my mud into high gear. I recent transfered my ENTIRE codebase to SWR 1.0 FUSS, thus rewriting most of my codebase. Anyways, the transfer has been 100% successful except for this one stupid thing:

player.c:34: conflicting types for `do_gold'
mud.h:3893: previous declaration of `do_gold'

Funny thing is that thats the exact same do_gold function as its always been, and the mud.h line is the declare_do_fun line, so I'm not sure why if would even conflict since its just saying that its a function. Anyways, any clues on why this thing is doing this? Lol, I know, hardly enough of a problem to post on the forum but I'm tired so my brain isn't working right now. Anyways, thanks in advance, you guys are always a great help.

P.S. If you want me to post the function (stock function) then just ask...
USA #1
I actually answered that question for myself, just moments later. Once again I ask before I tinker. Anyways, I've found another.

I added a file that I created to my Makefile (I've added many before), but when I try to make it says this:

make[1]: *** No rule to make target `upgrade_ship.o', needed by `swr'. Stop.

Umm, what exactly does that mean? I've made sure that it is in the correct places, and it seems to be.
USA #2
Hmm, got this one too. Turns out the file was upgrade_ships.c instead of upgrade_ship.c, so it was just a spelling error, but a nasty one at that, sorry for wasting posts on the forum. :)