----- Original Message Header -----
Subject: Re: need help linking??
From: [EMAIL PROTECTED]; 
To: freebsd-stable@freebsd.org; 
Cc: [EMAIL PROTECTED]; 
-----------------------------------

Warning: Attachment contains virus code or meets the filtering/blocking rules.  
Use caution when accessing the contents. 
--- Begin Message ---
On Tuesday, 26. July 2005 17:06, Eriq Lamar wrote:
> A programmer needs your help to get his program to compile properly on
> freebsd. Presently he has no problems in Linux and winblows, but I could
> not get it running in 4.11. This is important to me because it is the
> strongest free chess program available and he is even giving the source!
> and so can be made into a port some day. 

[...]

I just tried fruit_21_linux.zip and had no problems with linking whatsoever. 

There's a little compile-time glitch on 4.x due to to 4.x being overly 
sensitive to include-order, the attached patch fixes it. On 5.x, it compiles 
out of the box.

-- 
   ,_,   | Michael Nottebrock               | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
--- posix.cpp.orig      Tue Jul 26 21:00:15 2005
+++ posix.cpp   Tue Jul 26 21:00:35 2005
@@ -12,11 +12,11 @@
 #if defined(_WIN32) || defined(_WIN64)
 #  include <windows.h>
 #else // assume POSIX
-#  include <sys/resource.h>
 // #  include <sys/select.h>
 #  include <sys/time.h>
 #  include <sys/types.h>
 #  include <unistd.h>
+#  include <sys/resource.h>
 #endif
 
 #include "posix.h"

Attachment: pgpBPSunyKdUB.pgp
Description: PGP signature


--- End Message ---
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to