From nobody@FreeBSD.org Tue Aug 20 21:18:20 2002 Return-Path: Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3043837B400 for ; Tue, 20 Aug 2002 21:18:20 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA55043E42 for ; Tue, 20 Aug 2002 21:18:19 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7L4IJOT003792 for ; Tue, 20 Aug 2002 21:18:19 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7L4IJxI003791; Tue, 20 Aug 2002 21:18:19 -0700 (PDT) Message-Id: <200208210418.g7L4IJxI003791@www.freebsd.org> Date: Tue, 20 Aug 2002 21:18:19 -0700 (PDT) From: Andrew.P.Lentvorski@FreeBSD.org, "Jr." To: freebsd-gnats-submit@FreeBSD.org Subject: memrange.h uses u_int64_t but does not include the file which has the definition X-Send-Pr-Version: www-1.0 >Number: 41835 >Category: kern >Synopsis: memrange.h uses u_int64_t but does not include the file which has the definition >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 20 21:20:01 PDT 2002 >Closed-Date: Fri Jan 10 23:22:51 PST 2003 >Last-Modified: Fri Jan 10 23:22:51 PST 2003 >Originator: Andrew P. Lentvorski, Jr. >Release: 4.6.2-RELEASE >Organization: >Environment: FreeBSD taz.allcaps.org 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Tue Aug 20 20:56:33 PDT 2002 root@taz.allcaps.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: The file /usr/include/sys/memrange.h has structure members of u_int64_t but does not include the file in which they are defined. >How-To-Repeat: Compile anything which only includes memrange.h but not the appropriate types. This popped up when trying to compile the latest version of XFree86 from CVS. Error message: LD_LIBRARY_PATH=../../../../../../exports/lib cc -c -O2 -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I. -I../../../../../../programs/Xserver/include -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/hw/xfree86/os-support/shared -I../../../../../.. -I../../../../../../exports/include -I/usr/X11R6/include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXRes Extension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DPCCONS_SUPPORT -DSYSCONS_SUPPORT -DPCVT_SUPPORT -DUSE_DEV_IO -DUSESTDRES -DHAS_MTRR_SUPPORT i386_video.c In file included from i386_video.c:35: /usr/include/sys/memrange.h:26: syntax error before `u_int64_t' >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: anholt State-Changed-When: Fri Jan 10 23:22:09 PST 2003 State-Changed-Why: The program is expected to include sys/types.h itself. This has been fixed in in XFree86 CVS. http://www.freebsd.org/cgi/query-pr.cgi?pr=41835 >Unformatted: