From owner-freebsd-gnome Wed Jun 26 16:20:40 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from blue.mcneil.com (cpe-66-75-176-109.socal.rr.com [66.75.176.109]) by hub.freebsd.org (Postfix) with ESMTP id 6DF4E37BA8C for ; Wed, 26 Jun 2002 16:07:39 -0700 (PDT) Received: from mcneil.com (mcneil.com [66.75.176.109]) by blue.mcneil.com (8.12.4/8.12.3) with ESMTP id g5QLoYPY096515 for ; Wed, 26 Jun 2002 14:50:34 -0700 (PDT) (envelope-from sean@mcneil.com) Subject: gdm2 compile failure From: Sean McNeil To: gnome@FreeBSD.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 26 Jun 2002 14:50:34 -0700 Message-Id: <1025128234.96394.4.camel@blue.mcneil.com> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am not sure how to fix this, but I'm getting a failure trying to build this port now. I just upgraded to 4.6-STABLE and this is what I get: In file included from /usr/include/sys/time.h:40, from /usr/include/signal.h:45, from gdm.c:21: /usr/include/sys/types.h:82: warning: useless keyword or type name in empty declaration /usr/include/sys/types.h:82: warning: empty declaration In file included from gdm.c:26: /usr/include/sys/socket.h:54: redefinition of `size_t' /usr/include/stddef.h:53: `size_t' previously declared here gmake[2]: *** [gdm.o] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/gdm2/work/gdm-2.4.0.0/daemon' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/gdm2/work/gdm-2.4.0.0' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/x11/gdm2. This is because of the following configure failure: configure:8525: checking for socklen_t configure:8546: cc -c -O -pipe -march=k6 -I/usr/local/include -I/usr/X11R6/include conftest.c >&5 configure: In function `main': configure:8569: `socklen_t' undeclared (first use in this function) configure:8569: (Each undeclared identifier is reported only once configure:8569: for each function it appears in.) configure:8569: syntax error before `)' configure:8549: $? = 1 configure: failed program was: #line 8531 "configure" #include "confdefs.h" #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif int main () { if ((socklen_t *) 0) return 0; if (sizeof (socklen_t)) return 0; ; return 0; } configure:8565: result: no It should be getting the sys/socket.h include file in order to test this in 4.6. I don't know if this is a change in FreeBSD or what. Cheers, Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message