Bug 2851 - mach64_drm.h: No such file or directory
mach64_drm.h: No such file or directory
Status: RESOLVED NOTABUG
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/Mach64
git
Alpha Linux (All)
: highest blocker
Assigned To: Default DRI bug account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-29 09:10 UTC by Will L G
Modified: 2009-08-24 12:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will L G 2005-03-29 09:10:18 UTC
Redhat 7.2
Kernel-2.6.4.11
GCC-3.4.3
Binutils-2.15
Make-3.8
Xfree-4.5

I've searched high and low for this file: mach64_drm.h and its NO WHERE in 
sight. I've checked Xfree86 source, kernel source, you name it.

In file included from mach64_context.c:48:
mach64_context.h:37:24: mach64_drm.h: No such file or directory
In file included from mach64_context.h:50,
                 from mach64_context.c:48:
mach64_screen.h:64: error: `MACH64_NR_TEX_HEAPS' undeclared here (not in a 
function)
In file included from mach64_context.c:48:
mach64_context.h:204: error: parse error before "drm_mach64_context_regs_t"
mach64_context.h:204: warning: no semicolon at end of struct or union
mach64_context.h:287: error: parse error before '*' token
mach64_context.h:287: warning: data definition has no type or storage class
mach64_context.h:314: error: parse error before '}' token
In file included from mach64_context.c:49:
mach64_ioctl.h: In function `mach64AllocDmaLow':
mach64_ioctl.h:51: error: dereferencing pointer to incomplete type
mach64_ioctl.h:51: error: dereferencing pointer to incomplete type
mach64_ioctl.h:52: error: dereferencing pointer to incomplete type
mach64_ioctl.h:52: error: dereferencing pointer to incomplete type
mach64_ioctl.h:52: error: dereferencing pointer to incomplete type
mach64_ioctl.h:54: error: dereferencing pointer to incomplete type
mach64_ioctl.h:54: error: dereferencing pointer to incomplete type
mach64_ioctl.h:54: error: dereferencing pointer to incomplete type
mach64_ioctl.h:54: error: dereferencing pointer to incomplete type
mach64_ioctl.h:54: error: dereferencing pointer to incomplete type
mach64_ioctl.h:57: error: dereferencing pointer to incomplete type
mach64_ioctl.h:57: error: dereferencing pointer to incomplete type
mach64_ioctl.h:58: error: dereferencing pointer to incomplete type
mach64_ioctl.h: In function `mach64AllocDmaLocked':
mach64_ioctl.h:67: error: dereferencing pointer to incomplete type
mach64_ioctl.h:67: error: dereferencing pointer to incomplete type
mach64_ioctl.h:71: error: dereferencing pointer to incomplete type
mach64_ioctl.h:71: error: dereferencing pointer to incomplete type
mach64_ioctl.h:72: error: dereferencing pointer to incomplete type
mach64_context.c: In function `mach64CreateContext':
mach64_context.c:107: error: dereferencing pointer to incomplete type
mach64_context.c:121: error: dereferencing pointer to incomplete type
mach64_context.c:124: error: dereferencing pointer to incomplete type
mach64_context.c:126: error: dereferencing pointer to incomplete type
mach64_context.c:131: error: dereferencing pointer to incomplete type
mach64_context.c:133: error: dereferencing pointer to incomplete type
mach64_context.c:134: error: dereferencing pointer to incomplete type
mach64_context.c:135: error: dereferencing pointer to incomplete type
mach64_context.c:136: error: dereferencing pointer to incomplete type
mach64_context.c:137: error: dereferencing pointer to incomplete type
mach64_context.c:138: error: dereferencing pointer to incomplete type
mach64_context.c:140: error: dereferencing pointer to incomplete type
mach64_context.c:143: error: dereferencing pointer to incomplete type
mach64_context.c:146: error: dereferencing pointer to incomplete type
mach64_context.c:146: error: `drm_mach64_sarea_t' undeclared (first use in this 
function)
mach64_context.c:146: error: (Each undeclared identifier is reported only once
mach64_context.c:146: error: for each function it appears in.)
mach64_context.c:146: error: parse error before ')' token
mach64_context.c:149: error: dereferencing pointer to incomplete type
mach64_context.c:150: error: dereferencing pointer to incomplete type
mach64_context.c:152: error: dereferencing pointer to incomplete type
mach64_context.c:152: error: dereferencing pointer to incomplete type
mach64_context.c:152: error: dereferencing pointer to incomplete type
mach64_context.c:152: error: dereferencing pointer to incomplete type
mach64_context.c:154: error: dereferencing pointer to incomplete type
mach64_context.c:155: error: dereferencing pointer to incomplete type
mach64_context.c:157: error: dereferencing pointer to incomplete type
mach64_context.c:157: error: dereferencing pointer to incomplete type
mach64_context.c:158: error: dereferencing pointer to incomplete type
mach64_context.c:158: error: dereferencing pointer to incomplete type
mach64_context.c:158: error: dereferencing pointer to incomplete type
mach64_context.c:158: error: dereferencing pointer to incomplete type
mach64_context.c:159: error: dereferencing pointer to incomplete type
mach64_context.c:160: error: dereferencing pointer to incomplete type
mach64_context.c:163: error: dereferencing pointer to incomplete type
mach64_context.c:164: error: dereferencing pointer to incomplete type
mach64_context.c:165: error: dereferencing pointer to incomplete type
mach64_context.c:166: error: dereferencing pointer to incomplete type
mach64_context.c:167: error: dereferencing pointer to incomplete type
mach64_context.c:167: error: `MACH64_UPLOAD_ALL' undeclared (first use in this 
function)
mach64_context.c:175: error: `MACH64_CARD_HEAP' undeclared (first use in this 
function)
mach64_context.c:175: error: `MACH64_AGP_HEAP' undeclared (first use in this 
function)
mach64_context.c:188: error: dereferencing pointer to incomplete type
mach64_context.c:193: error: dereferencing pointer to incomplete type
mach64_context.c:193: error: `MACH64_BUFFER_SIZE' undeclared (first use in this 
function)
mach64_context.c:194: error: dereferencing pointer to incomplete type
mach64_context.c:196: error: dereferencing pointer to incomplete type
mach64_context.c:197: error: dereferencing pointer to incomplete type
mach64_context.c:226: error: dereferencing pointer to incomplete type
mach64_context.c:226: error: dereferencing pointer to incomplete type
mach64_context.c:228: error: dereferencing pointer to incomplete type
mach64_context.c:228: error: dereferencing pointer to incomplete type
mach64_context.c:229: error: dereferencing pointer to incomplete type
mach64_context.c: In function `mach64DestroyContext':
mach64_context.c:244: error: dereferencing pointer to incomplete type
mach64_context.c:251: error: dereferencing pointer to incomplete type
mach64_context.c:251: error: dereferencing pointer to incomplete type
mach64_context.c:252: error: dereferencing pointer to incomplete type
mach64_context.c:252: error: dereferencing pointer to incomplete type
mach64_context.c:255: error: dereferencing pointer to incomplete type
mach64_context.c:256: error: dereferencing pointer to incomplete type
mach64_context.c:259: error: dereferencing pointer to incomplete type
mach64_context.c:259: error: dereferencing pointer to incomplete type
mach64_context.c:264: error: dereferencing pointer to incomplete type
mach64_context.c:265: error: dereferencing pointer to incomplete type
mach64_context.c:266: error: dereferencing pointer to incomplete type
mach64_context.c:267: error: dereferencing pointer to incomplete type
mach64_context.c:269: error: dereferencing pointer to incomplete type
mach64_context.c:272: error: dereferencing pointer to incomplete type
mach64_context.c:273: error: dereferencing pointer to incomplete type
mach64_context.c:276: error: dereferencing pointer to incomplete type
mach64_context.c:277: error: dereferencing pointer to incomplete type
mach64_context.c: In function `mach64MakeCurrent':
mach64_context.c:297: error: dereferencing pointer to incomplete type
mach64_context.c:298: error: dereferencing pointer to incomplete type
mach64_context.c:298: error: `MACH64_UPLOAD_ALL' undeclared (first use in this 
function)
mach64_context.c:302: error: dereferencing pointer to incomplete type
mach64_context.c:304: error: dereferencing pointer to incomplete type
mach64_context.c:305: error: dereferencing pointer to incomplete type
mach64_context.c:306: error: dereferencing pointer to incomplete type
mach64_context.c:309: error: dereferencing pointer to incomplete type
mach64_context.c:314: error: dereferencing pointer to incomplete type
mach64_context.c: At top level:
mach64_context.h:237: error: storage size of `TexObjList' isn't known
mach64_context.h:239: error: storage size of `texHeap' isn't known
mach64_context.h:240: error: storage size of `lastTexAge' isn't known
make[6]: *** [mach64_context.o] Error 1
make[6]: Leaving directory `/usr2/www/pub/alpha-RH7/x/xfree86-
4.5/supplimentals/tmp/Mesa/src/mesa/drivers/dri/mach64'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/usr2/www/pub/alpha-RH7/x/xfree86-
4.5/supplimentals/tmp/Mesa/src/mesa/drivers/dri'
make[4]: *** [drivers-dri] Error 2
make[4]: Leaving directory `/usr2/www/pub/alpha-RH7/x/xfree86-
4.5/supplimentals/tmp/Mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/usr2/www/pub/alpha-RH7/x/xfree86-
4.5/supplimentals/tmp/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr2/www/pub/alpha-RH7/x/xfree86-
4.5/supplimentals/tmp/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr2/www/pub/alpha-RH7/x/xfree86-
4.5/supplimentals/tmp/Mesa'
make: *** [linux-dri] Error 2
Comment 1 ajax at nwnk dot net 2005-03-29 10:25:42 UTC
are you trying to build the mach64 driver from XFree86 4.5, or from Mesa CVS?

either way, mach64_drm.h definitely exists:

http://cvs.freedesktop.org/dri/drm/shared-core/mach64_drm.h?view=auto

which means either you didn't check out drm from CVS as well, or xf86 needs to
update their copy of the drm headers.
Comment 2 ajax at nwnk dot net 2005-03-31 08:53:10 UTC
reporter: any feedback on this?
Comment 3 Eric Anholt 2005-06-27 16:16:24 UTC
Feedback timeout.  Looks like submitter didn't have current DRM CVS while trying
to build Mesa CVS.
Comment 4 ajax at nwnk dot net 2009-08-24 12:23:07 UTC
Mass version move, cvs -> git