While compiling on my machine, diald presented a bug. In proxy_dev.c,
there is an undeclared variable "to_len", it appears first in line 57 as
"to_len = sizeof(sp);". It is declared, and used before line 57,
inside "#ifdef HAVE_AF_PACKET", since it was not being declared I
assumed I did not have af_packet. What I did to get around this was one
line before the #ifdef. I added the line "size_t to_len;" in order to
declare it. Perhaps I could have added an "#ifndef HAVE_AF_PACKET" but
I'm not sure if that will work as I have no experience using #ifdef
stuff.
Is this a common problem, and can anyone tell me if my 'hack' will work
properly? After declaring the variable, diald had no problem compiling,
except for one warning. I'm wondering if the fix will cause more
problems down the road when running diald because/if it was done
improperly.
I'm running kernel 2.0.36 (i486), on a Slackware 3.5 machine (libc5),
gcc 2.7.2.3. If more info. is required please let me know.
Thanx.
--
- Matt DeLuco.
http://www3.sympatico.ca/mad
--
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]