Sounds like you're running into a fairly common problem that people have when they switch OS's like that... some OS's have their gcc libraries with more functions than others, which is why, for example, in comm.c, you'll see a section of precompiler directives that add function prototypes for some functions while other OS's don't... if you're have previous declaration errors, try commenting out the function declaration for fread in merc.h, as long as it's actually a call to the system function of fread and not to a ROM-specific function of some kind (like fread_char, fread_obj, etc, which you shouldn't be getting errors for anyway, but just in case you changed your fread_char to fread or something like that :D)... I've never run on Solaris before, but that's generally how those errors work, hope that helps :)
Richard Lindsey. -----Original Message----- From: Doug Brewer [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 12:03 PM To: [email protected] Subject: Solaris 10 and Rom2.4 Hello everyone, Is there anyone here running Rom2.4 on a Solaris v10 server that would be willing to take the time to share their experiences with compiling the Rom code? The server I am/was hosting my mud on changed from RedHat 8 to Solaris 10 and the mud code is not very happy to say the least. Any suggestions would be great, here is as far as it gets after a 'make clean'. gcc -c -Wall -ggdb -O2 locker.c In file included from locker.c:7: merc.h:2847: error: conflicting types for 'fread' /usr/include/iso/stdio_iso.h:237: error: previous declaration of 'fread' was here merc.h:2847: error: conflicting types for 'fread' /usr/include/iso/stdio_iso.h:237: error: previous declaration of 'fread' was here merc.h:2937: warning: conflicting types for built-in function 'logf' *** Error code 1 make: Fatal error: Command failed for target `locker.o' [EMAIL PROTECTED]:~/windsmud/nowwoc/woc/src> Thanks, Doug -- ROM mailing list [email protected] Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom

