Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 21:18:19 -0700 (PDT)
From:      Andrew.P.Lentvorski@FreeBSD.org, "Jr." <bsder@allcaps.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/41835: memrange.h uses u_int64_t but does not include the file which has the definition
Message-ID:  <200208210418.g7L4IJxI003791@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 20 21:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208210418.g7L4IJxI003791>