
sean at chittenden
Feb 6, 2001, 11:10 PM
Post #3 of 4
(1197 views)
Permalink
|
|
Unsupported platform apue.c? (FreeBSD 4.2-STABLE)
[In reply to]
|
|
--+JUInw4efm7IfTNU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Howdy. Yup, that worked with the sys/types.h in there. Here's the patch if anyone needs it, but it looks Theo's already applied it to=20 CVS. Thanks! -sc --- apue.c.orig Tue Feb 6 22:05:29 2001 +++ apue.c Tue Feb 6 22:04:46 2001 @@ -13,6 +13,7 @@ =20 #include <stdio.h> #include <stdlib.h> +#include <sys/types.h> #include <sys/socket.h> #include <sys/uio.h> #include <sys/stat.h> @@ -38,6 +39,9 @@ #define _BSDISH #endif #ifdef BSD +#define _BSDISH +#endif +#ifdef __FreeBSD__ #define _BSDISH #endif #ifdef SOLARIS2 On Tue, Feb 06, 2001 at 11:45:23PM -0500, Theo E. Schlossnagle wrote: > Delivered-To: sean-apache-modbackhand-devel [at] chittenden > Date: Tue, 06 Feb 2001 23:45:23 -0500 > From: "Theo E. Schlossnagle" <theo [at] omniti> > Organization: Center for Networking and Distributed Systems > X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) > X-Accept-Language: en > To: Sean Chittenden <sean-apache-backhand-devel [at] chittenden> > CC: Backhand development <backhand-devel [at] lists> > Subject: Re: [mod_backhand-devel] Unsupported platform apue.c? (FreeBSD= =20 > 4.2-STABLE) > Errors-To: backhand-devel-admin [at] lists > X-BeenThere: backhand-devel [at] lists > X-Mailman-Version: 2.0beta2 > Precedence: bulk > List-Id: mod_backhand -- developers list <backhand-devel.lists.backhand.o= >=20 > In apue.c, try adding: >=20 > #ifdef __FreeBSD__ > #define _BSDISH > #endif >=20 > Right after: >=20 > #ifdef BSD > #define _BSDISH > #endif >=20 > If that works, let me know and I will add that in for next release.=20 > Otherwise, I need a little more info. I only have a Free-4.0 box. Can y= ou > send me the output of: >=20 > cc -dumpspecs >=20 > on your system. >=20 > Sean Chittenden wrote: > >=20 > > Howdy. I tried getting mod_backhand to work earlier today on a > > fresh build from FreeBSD 4.2-STABLE. No dice. Here's my uname and the > > compile error. I tried playing around for a bit but didn't have much > > success. > >=20 > > > uname -a > > FreeBSD rand.tgd.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Wed Jan 31 12:44= :39 PST 2001 sean [at] rand:/usr/src/sys/compile/RAND i386 > -DMOD_PERL -DUSE_PERL_SSI `../../apaci` back_util.c > > cc -c -I../.. -I/usr/libdata/perl/5.00503/mach/CORE -I../../os/unix -I.= ./../include -funsigned-char -DMOD_PERL -DUSE_PERL_SSI `../../apaci` apue= .c > > apue.c:322: #error Not a supported platform... patch it and mail me.. o= r mail me uname -a > > *** Error code 1 > >=20 > > Stop in /usr/local/src/apache/apache_1.3.17/src/modules/backhand. >=20 > --=20 > Theo Schlossnagle > 1024D/A8EBCF8F/13BD 8C08 6BE2 629A 527E 2DC2 72C2 AD05 A8EB CF8F > 2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7 >=20 > _______________________________________________ > backhand-devel mailing list > backhand-devel [at] lists > http://lists.backhand.org/mailman/listinfo/backhand-devel --=20 Sean Chittenden sean [at] chittenden C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD --+JUInw4efm7IfTNU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAjqA5usACgkQn09c7x7d+q2vkACgpmn+IPkuKHFaS442qZF7giu1 STUAoKo9IzoFSYJ+i3yLVfcG/lc/zTqP =SX8g -----END PGP SIGNATURE----- --+JUInw4efm7IfTNU--
|