Josh, I am confused. there are to definitions in stdio.h, but it is a one or the other situation as defined in the features.h file. Do you think that both are being defined? I read the netrek FAQ. is for how to use the software. so far I have been unable to find any docs that deal with compile problems for netrek. thanks for your help
gcc -O -s -DLinux -DHAVE_RAND48 -I/usr/local/include -c listen.c -o listen.o listen.c:505: conflicting types for `sys_errlist' /usr/include/stdio.h:221: previous declaration of `sys_errlist' make: *** [listen.o] Error 1
If you look at the stdio header, you'll see that sys_errlist will be defined in stdio.h if __USE_BSD is defined. This is in turn defined if _BSD_SOURCE or _GNU_SOURCE is defined over in feature.h.
I'm not sure where this comes from, but I suspect the compiler turns it on. I suspect the solution to this problem has a lot more to do with listen.c's design than with SuSE Linux. Have you tried poking at the nettrek FAQ? You might just compare the two defenitions and kludge listen.c to match if necessary.
___________________ Jt "The Squeegy" Chiodi <A HREF="http://c54820-a.carneg1.pa.home.com/"><A HREF="http://c54820-a.carneg1.pa.home.com/</A">http://c54820-a.carneg1.pa.home.com/</A</A>> squeegy@c54820-a.carneg1.pa.home.com -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>