From sussman@newton.collab.net Mon Feb 5 16:10:59 2001 Return-Path: Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Delivered-To: mailing list dev@apr.apache.org Received: (qmail 29800 invoked from network); 5 Feb 2001 16:10:59 -0000 Received: from 24-148-31-193.na.21stcentury.net (HELO newton.collab.net) (24.148.31.193) by h31.sny.collab.net with SMTP; 5 Feb 2001 16:10:59 -0000 Received: (from sussman@localhost) by newton.collab.net (8.11.1/8.11.1) id f15GC6R92209; Mon, 5 Feb 2001 10:12:06 -0600 (CST) (envelope-from sussman) To: dev@apr.apache.org, dev@subversion.tigris.org Subject: FreeBSD 4.2 breakage (?) From: Ben Collins-Sussman Date: 05 Feb 2001 10:12:05 -0600 Message-ID: <86u2699kiy.fsf@newton.collab.net> Lines: 31 X-Mailer: Gnus v5.7/Emacs 20.6 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Boy, I'm bit out of my league here when it comes to portability macros. I got a huge cvs update of both subversion and apr this morning, and while apr builds cleanly, the very first subversion file I try to compile (svn_string.c) that includes "apr.h" gives me this error: --------------------------------------------- In file included from ../../apr/include/apr.h:96, from ../../apr/include/apr_lib.h:58, from svn_string.c:18: /usr/include/sys/socket.h:47: syntax error before `sa_family_t' /usr/include/sys/socket.h:47: warning: data definition has no type or storage class /usr/include/sys/socket.h:155: syntax error before `u_char' /usr/include/sys/socket.h:166: syntax error before `u_short' /usr/include/sys/socket.h:180: syntax error before `u_char' /usr/include/sys/socket.h:182: `u_char' undeclared here (not in a function) /usr/include/sys/socket.h:184: `u_char' undeclared here (not in a function) /usr/include/sys/socket.h:184: `u_char' undeclared here (not in a function) /usr/include/sys/socket.h:387: syntax error before `u_short' gmake[3]: *** [svn_string.lo] Error 1 --------------------------------------------- The problem is that apparently u_char isn't defined before including sys/socket.h (??) I went so far as to irrationally remove my apr/ subdir and checkout a fresh copy; still no dice. I need a clue here.