new_auth.c: In function `fread_auth':
new_auth.c:147: warning: unused variable `buf'
This usually isn't anything major. The compiler is just telling you that you've declared a variable, and it was not used at all. BUT... This can be a sign that you may have left out a step in the snippet installation. The variable 'buf' is often used to store strings for a short time before being sent to the player or log... It also could mean that in the process of the installation you were suppose to remove some code and missed a few lines.
new_auth.c: In function `exists_player':
new_auth.c:63: `victim' undeclared (first use in this function)
new_auth.c:63: (Each undeclared identifier is reported only once
new_auth.c:63: for each function it appears in.)
Now this one is a little more tricky. As stated, without seeing code it's hard to tell. The very first thing I'd do is make sure that the variable 'victim' is declared at some point in the function 'exists_player'. Let it be in the arguments or in function itself. Either way, the line would look like this:
CHAR_DATA *victim;-- OR --void function_call( CHAR_DATA *victim, char *other_args )
Above all the first thing I'd do is retrace my steps through the installation read-me. It was installing Samson's snippets that taught me the most about C coding (This is true!), and I never found his instructions to lead me wrong. It was usually something I missed, forgot, or didn't do right.
ALSO... Very important...
Just to cover all the bases, retrace a few other steps back. If you're installing more than one snippet at a time, you could have stepped on your own toes. I do not recommend installing more than one snippet at a time to code. It's well worth the wait to compile, test, bugfix, and then move on. It also cuts down on the number of places you need to look to find your evil bug(s)
Hope this helps!