[xorg-bugzilla-noise] [Bug 572] New: Build failure with |#define
XorgServer NO| and |#define XF86Server NO|
bugzilla-daemon at pdx.freedesktop.org
bugzilla-daemon at pdx.freedesktop.org
Thu Apr 29 00:30:16 EST 2004
http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=572
Summary: Build failure with |#define XorgServer NO| and |#define
XF86Server NO|
Product: xorg
Version: CVS_head
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: Lib/other
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: roland.mainz at nrubsig.org
2004-04-28-trunk fails to build on SuSE Linux 8.2/x86 when |#define XorgServer
NO| and |#define XF86Server NO| are set.
The last lines of the build look like this:
-- snip --
rm -f xf86drm.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall
-Wpointer-arith -Wundef -I../../../../exports/include/X11
-I../../../../exports/include -I../../../../lib/X11
-I../../../../include/extensions
-I../../../../programs/Xserver/hw/xfree86/common
-I../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
-I../../../../programs/Xserver/hw/xfree86/drivers/i810 -I../../../..
-I../../../../exports/include -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE
-D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DTRUE=1
-DFALSE=0 -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"' -fPIC xf86drm.c
xf86drm.c:72:18: drm.h: No such file or directory
xf86drm.c: In function `drmOpenDevice':
xf86drm.c:270: warning: comparison between signed and unsigned
xf86drm.c: At top level:
xf86drm.c:531: error: parse error before '*' token
xf86drm.c: In function `drmFreeKernelVersion':
xf86drm.c:533: error: `v' undeclared (first use in this function)
xf86drm.c:533: error: (Each undeclared identifier is reported only once
xf86drm.c:533: error: for each function it appears in.)
xf86drm.c: At top level:
xf86drm.c:551: warning: type defaults to `int' in declaration of `drm_version_t'
xf86drm.c:551: error: parse error before '*' token
xf86drm.c: In function `drmCopyVersion':
xf86drm.c:553: error: `d' undeclared (first use in this function)
xf86drm.c:553: error: `s' undeclared (first use in this function)
xf86drm.c: In function `drmGetVersion':
xf86drm.c:583: error: `drm_version_t' undeclared (first use in this function)
xf86drm.c:583: error: `version' undeclared (first use in this function)
xf86drm.c:593: error: `DRM_IOCTL_VERSION' undeclared (first use in this
function)
xf86drm.c: In function `drmGetLibVersion':
xf86drm.c:643: error: `drm_version_t' undeclared (first use in this function)
xf86drm.c:643: error: `version' undeclared (first use in this function)
xf86drm.c: In function `drmGetBusid':
xf86drm.c:687: error: `drm_unique_t' undeclared (first use in this function)
xf86drm.c:687: error: parse error before "u"
xf86drm.c:689: error: `u' undeclared (first use in this function)
xf86drm.c:692: error: `DRM_IOCTL_GET_UNIQUE' undeclared (first use in this
function)
xf86drm.c: In function `drmSetBusid':
xf86drm.c:714: error: `drm_unique_t' undeclared (first use in this function)
xf86drm.c:714: error: parse error before "u"
xf86drm.c:716: error: `u' undeclared (first use in this function)
xf86drm.c:719: error: `DRM_IOCTL_SET_UNIQUE' undeclared (first use in this
function)
xf86drm.c: In function `drmGetMagic':
xf86drm.c:727: error: `drm_auth_t' undeclared (first use in this function)
xf86drm.c:727: error: parse error before "auth"
xf86drm.c:730: error: `DRM_IOCTL_GET_MAGIC' undeclared (first use in this
function)
xf86drm.c:730: error: `auth' undeclared (first use in this function)
xf86drm.c: In function `drmAuthMagic':
xf86drm.c:737: error: `drm_auth_t' undeclared (first use in this function)
xf86drm.c:737: error: parse error before "auth"
xf86drm.c:739: error: `auth' undeclared (first use in this function)
xf86drm.c:740: error: `DRM_IOCTL_AUTH_MAGIC' undeclared (first use in this
function)
xf86drm.c: In function `drmAddMap':
xf86drm.c:801: error: `drm_map_t' undeclared (first use in this function)
xf86drm.c:801: error: parse error before "map"
xf86drm.c:803: error: `map' undeclared (first use in this function)
xf86drm.c:814: error: `DRM_IOCTL_ADD_MAP' undeclared (first use in this
function)
xf86drm.c: In function `drmRmMap':
xf86drm.c:821: error: `drm_map_t' undeclared (first use in this function)
xf86drm.c:821: error: parse error before "map"
xf86drm.c:823: error: `map' undeclared (first use in this function)
xf86drm.c:825: error: `DRM_IOCTL_RM_MAP' undeclared (first use in this function)
xf86drm.c: In function `drmAddBufs':
xf86drm.c:848: error: `drm_buf_desc_t' undeclared (first use in this function)
xf86drm.c:848: error: parse error before "request"
xf86drm.c:850: error: `request' undeclared (first use in this function)
xf86drm.c:857: error: `DRM_IOCTL_ADD_BUFS' undeclared (first use in this
function)
xf86drm.c: In function `drmMarkBufs':
xf86drm.c:863: error: `drm_buf_info_t' undeclared (first use in this function)
xf86drm.c:863: error: parse error before "info"
xf86drm.c:866: error: `info' undeclared (first use in this function)
xf86drm.c:869: error: `DRM_IOCTL_INFO_BUFS' undeclared (first use in this
function)
xf86drm.c:885: error: `DRM_IOCTL_MARK_BUFS' undeclared (first use in this
function)
xf86drm.c: In function `drmFreeBufs':
xf86drm.c:913: error: `drm_buf_free_t' undeclared (first use in this function)
xf86drm.c:913: error: parse error before "request"
xf86drm.c:915: error: `request' undeclared (first use in this function)
xf86drm.c:917: error: `DRM_IOCTL_FREE_BUFS' undeclared (first use in this
function)
xf86drm.c: In function `drmGetBufInfo':
xf86drm.c:999: error: `drm_buf_info_t' undeclared (first use in this function)
xf86drm.c:999: error: parse error before "info"
xf86drm.c:1003: error: `info' undeclared (first use in this function)
xf86drm.c:1006: error: `DRM_IOCTL_INFO_BUFS' undeclared (first use in this
function)
xf86drm.c: In function `drmMapBufs':
xf86drm.c:1050: error: `drm_buf_map_t' undeclared (first use in this function)
xf86drm.c:1050: error: parse error before "bufs"
xf86drm.c:1054: error: `bufs' undeclared (first use in this function)
xf86drm.c:1056: error: `DRM_IOCTL_MAP_BUFS' undeclared (first use in this
function)
xf86drm.c: In function `drmDMA':
xf86drm.c:1118: error: `drm_dma_t' undeclared (first use in this function)
xf86drm.c:1118: error: parse error before "dma"
xf86drm.c:1122: error: `dma' undeclared (first use in this function)
xf86drm.c:1133: error: `DRM_IOCTL_DMA' undeclared (first use in this function)
xf86drm.c: In function `drmGetLock':
xf86drm.c:1161: error: `drm_lock_t' undeclared (first use in this function)
xf86drm.c:1161: error: parse error before "lock"
xf86drm.c:1163: error: `lock' undeclared (first use in this function)
xf86drm.c:1165: error: `_DRM_LOCK_READY' undeclared (first use in this function)
xf86drm.c:1166: error: `_DRM_LOCK_QUIESCENT' undeclared (first use in this
function)
xf86drm.c:1167: error: `_DRM_LOCK_FLUSH' undeclared (first use in this function)
xf86drm.c:1168: error: `_DRM_LOCK_FLUSH_ALL' undeclared (first use in this
function)
xf86drm.c:1169: error: `_DRM_HALT_ALL_QUEUES' undeclared (first use in this
function)
xf86drm.c:1170: error: `_DRM_HALT_CUR_QUEUES' undeclared (first use in this
function)
xf86drm.c:1172: error: `DRM_IOCTL_LOCK' undeclared (first use in this function)
xf86drm.c: In function `drmUnlock':
xf86drm.c:1191: error: `drm_lock_t' undeclared (first use in this function)
xf86drm.c:1191: error: parse error before "lock"
xf86drm.c:1193: error: `lock' undeclared (first use in this function)
xf86drm.c:1195: error: `DRM_IOCTL_UNLOCK' undeclared (first use in this
function)
xf86drm.c: In function `drmGetReservedContextList':
xf86drm.c:1200: error: `drm_ctx_res_t' undeclared (first use in this function)
xf86drm.c:1200: error: parse error before "res"
xf86drm.c:1201: error: `drm_ctx_t' undeclared (first use in this function)
xf86drm.c:1201: error: `list' undeclared (first use in this function)
xf86drm.c:1202: warning: ISO C89 forbids mixed declarations and code
xf86drm.c:1205: error: `res' undeclared (first use in this function)
xf86drm.c:1207: error: `DRM_IOCTL_RES_CTX' undeclared (first use in this
function)
xf86drm.c: In function `drmCreateContext':
xf86drm.c:1252: error: `drm_ctx_t' undeclared (first use in this function)
xf86drm.c:1252: error: parse error before "ctx"
xf86drm.c:1254: error: `ctx' undeclared (first use in this function)
xf86drm.c:1255: error: `DRM_IOCTL_ADD_CTX' undeclared (first use in this
function)
xf86drm.c: In function `drmSwitchToContext':
xf86drm.c:1262: error: `drm_ctx_t' undeclared (first use in this function)
xf86drm.c:1262: error: parse error before "ctx"
xf86drm.c:1264: error: `ctx' undeclared (first use in this function)
xf86drm.c:1265: error: `DRM_IOCTL_SWITCH_CTX' undeclared (first use in this
function)
xf86drm.c: In function `drmSetContextFlags':
xf86drm.c:1271: error: `drm_ctx_t' undeclared (first use in this function)
xf86drm.c:1271: error: parse error before "ctx"
xf86drm.c:1281: error: `ctx' undeclared (first use in this function)
xf86drm.c:1283: error: `_DRM_CONTEXT_PRESERVED' undeclared (first use in this
function)
xf86drm.c:1284: error: `_DRM_CONTEXT_2DONLY' undeclared (first use in this
function)
xf86drm.c:1285: error: `DRM_IOCTL_MOD_CTX' undeclared (first use in this
function)
xf86drm.c: In function `drmGetContextFlags':
xf86drm.c:1291: error: `drm_ctx_t' undeclared (first use in this function)
xf86drm.c:1291: error: parse error before "ctx"
xf86drm.c:1293: error: `ctx' undeclared (first use in this function)
xf86drm.c:1294: error: `DRM_IOCTL_GET_CTX' undeclared (first use in this
function)
xf86drm.c:1296: error: `_DRM_CONTEXT_PRESERVED' undeclared (first use in this
function)
xf86drm.c:1297: error: `_DRM_CONTEXT_2DONLY' undeclared (first use in this
function)
xf86drm.c: In function `drmDestroyContext':
xf86drm.c:1320: error: `drm_ctx_t' undeclared (first use in this function)
xf86drm.c:1320: error: parse error before "ctx"
xf86drm.c:1321: error: `ctx' undeclared (first use in this function)
xf86drm.c:1322: error: `DRM_IOCTL_RM_CTX' undeclared (first use in this
function)
xf86drm.c: In function `drmCreateDrawable':
xf86drm.c:1328: error: `drm_draw_t' undeclared (first use in this function)
xf86drm.c:1328: error: parse error before "draw"
xf86drm.c:1329: error: `DRM_IOCTL_ADD_DRAW' undeclared (first use in this
function)
xf86drm.c:1329: error: `draw' undeclared (first use in this function)
xf86drm.c: In function `drmDestroyDrawable':
xf86drm.c:1336: error: `drm_draw_t' undeclared (first use in this function)
xf86drm.c:1336: error: parse error before "draw"
xf86drm.c:1337: error: `draw' undeclared (first use in this function)
xf86drm.c:1338: error: `DRM_IOCTL_RM_DRAW' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpAcquire':
xf86drm.c:1356: error: `DRM_IOCTL_AGP_ACQUIRE' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpRelease':
xf86drm.c:1373: error: `DRM_IOCTL_AGP_RELEASE' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpEnable':
xf86drm.c:1392: error: `drm_agp_mode_t' undeclared (first use in this function)
xf86drm.c:1392: error: parse error before "m"
xf86drm.c:1394: error: `m' undeclared (first use in this function)
xf86drm.c:1395: error: `DRM_IOCTL_AGP_ENABLE' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpAlloc':
xf86drm.c:1419: error: `drm_agp_buffer_t' undeclared (first use in this
function)
xf86drm.c:1419: error: parse error before "b"
xf86drm.c:1422: error: `b' undeclared (first use in this function)
xf86drm.c:1425: error: `DRM_IOCTL_AGP_ALLOC' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpFree':
xf86drm.c:1446: error: `drm_agp_buffer_t' undeclared (first use in this
function)
xf86drm.c:1446: error: parse error before "b"
xf86drm.c:1448: error: `b' undeclared (first use in this function)
xf86drm.c:1450: error: `DRM_IOCTL_AGP_FREE' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpBind':
xf86drm.c:1470: error: `drm_agp_binding_t' undeclared (first use in this
function)
xf86drm.c:1470: error: parse error before "b"
xf86drm.c:1472: error: `b' undeclared (first use in this function)
xf86drm.c:1474: error: `DRM_IOCTL_AGP_BIND' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpUnbind':
xf86drm.c:1493: error: `drm_agp_binding_t' undeclared (first use in this
function)
xf86drm.c:1493: error: parse error before "b"
xf86drm.c:1495: error: `b' undeclared (first use in this function)
xf86drm.c:1497: error: `DRM_IOCTL_AGP_UNBIND' undeclared (first use in this
function)
xf86drm.c: In function `drmAgpVersionMajor':
xf86drm.c:1515: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1515: error: parse error before "i"
xf86drm.c:1517: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1517: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpVersionMinor':
xf86drm.c:1535: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1535: error: parse error before "i"
xf86drm.c:1537: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1537: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpGetMode':
xf86drm.c:1555: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1555: error: parse error before "i"
xf86drm.c:1557: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1557: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpBase':
xf86drm.c:1575: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1575: error: parse error before "i"
xf86drm.c:1577: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1577: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpSize':
xf86drm.c:1595: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1595: error: parse error before "i"
xf86drm.c:1597: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1597: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpMemoryUsed':
xf86drm.c:1615: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1615: error: parse error before "i"
xf86drm.c:1617: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1617: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpMemoryAvail':
xf86drm.c:1635: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1635: error: parse error before "i"
xf86drm.c:1637: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1637: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpVendorId':
xf86drm.c:1655: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1655: error: parse error before "i"
xf86drm.c:1657: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1657: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmAgpDeviceId':
xf86drm.c:1675: error: `drm_agp_info_t' undeclared (first use in this function)
xf86drm.c:1675: error: parse error before "i"
xf86drm.c:1677: error: `DRM_IOCTL_AGP_INFO' undeclared (first use in this
function)
xf86drm.c:1677: error: `i' undeclared (first use in this function)
xf86drm.c: In function `drmScatterGatherAlloc':
xf86drm.c:1683: error: `drm_scatter_gather_t' undeclared (first use in this
function)
xf86drm.c:1683: error: parse error before "sg"
xf86drm.c:1686: error: `sg' undeclared (first use in this function)
xf86drm.c:1688: error: `DRM_IOCTL_SG_ALLOC' undeclared (first use in this
function)
xf86drm.c: In function `drmScatterGatherFree':
xf86drm.c:1695: error: `drm_scatter_gather_t' undeclared (first use in this
function)
xf86drm.c:1695: error: parse error before "sg"
xf86drm.c:1697: error: `sg' undeclared (first use in this function)
xf86drm.c:1699: error: `DRM_IOCTL_SG_FREE' undeclared (first use in this
function)
xf86drm.c: In function `drmWaitVBlank':
xf86drm.c:1719: error: `DRM_IOCTL_WAIT_VBLANK' undeclared (first use in this
function)
xf86drm.c: In function `drmCtlInstHandler':
xf86drm.c:1756: error: `drm_control_t' undeclared (first use in this function)
xf86drm.c:1756: error: parse error before "ctl"
xf86drm.c:1758: error: `ctl' undeclared (first use in this function)
xf86drm.c:1758: error: `DRM_INST_HANDLER' undeclared (first use in this
function)
xf86drm.c:1760: error: `DRM_IOCTL_CONTROL' undeclared (first use in this
function)
xf86drm.c: In function `drmCtlUninstHandler':
xf86drm.c:1778: error: `drm_control_t' undeclared (first use in this function)
xf86drm.c:1778: error: parse error before "ctl"
xf86drm.c:1780: error: `ctl' undeclared (first use in this function)
xf86drm.c:1780: error: `DRM_UNINST_HANDLER' undeclared (first use in this
function)
xf86drm.c:1782: error: `DRM_IOCTL_CONTROL' undeclared (first use in this
function)
xf86drm.c: In function `drmFinish':
xf86drm.c:1788: error: `drm_lock_t' undeclared (first use in this function)
xf86drm.c:1788: error: parse error before "lock"
xf86drm.c:1790: error: `lock' undeclared (first use in this function)
xf86drm.c:1792: error: `_DRM_LOCK_READY' undeclared (first use in this function)
xf86drm.c:1793: error: `_DRM_LOCK_QUIESCENT' undeclared (first use in this
function)
xf86drm.c:1794: error: `_DRM_LOCK_FLUSH' undeclared (first use in this function)
xf86drm.c:1795: error: `_DRM_LOCK_FLUSH_ALL' undeclared (first use in this
function)
xf86drm.c:1796: error: `_DRM_HALT_ALL_QUEUES' undeclared (first use in this
function)
xf86drm.c:1797: error: `_DRM_HALT_CUR_QUEUES' undeclared (first use in this
function)
xf86drm.c:1798: error: `DRM_IOCTL_FINISH' undeclared (first use in this
function)
xf86drm.c: In function `drmGetInterruptFromBusID':
xf86drm.c:1818: error: `drm_irq_busid_t' undeclared (first use in this function)
xf86drm.c:1818: error: parse error before "p"
xf86drm.c:1820: error: `p' undeclared (first use in this function)
xf86drm.c:1823: error: `DRM_IOCTL_IRQ_BUSID' undeclared (first use in this
function)
xf86drm.c: In function `drmAddContextPrivateMapping':
xf86drm.c:1857: error: `drm_ctx_priv_map_t' undeclared (first use in this
function)
xf86drm.c:1857: error: parse error before "map"
xf86drm.c:1859: error: `map' undeclared (first use in this function)
xf86drm.c:1862: error: `DRM_IOCTL_SET_SAREA_CTX' undeclared (first use in this
function)
xf86drm.c: In function `drmGetContextPrivateMapping':
xf86drm.c:1868: error: `drm_ctx_priv_map_t' undeclared (first use in this
function)
xf86drm.c:1868: error: parse error before "map"
xf86drm.c:1870: error: `map' undeclared (first use in this function)
xf86drm.c:1872: error: `DRM_IOCTL_GET_SAREA_CTX' undeclared (first use in this
function)
xf86drm.c: In function `drmGetMap':
xf86drm.c:1882: error: `drm_map_t' undeclared (first use in this function)
xf86drm.c:1882: error: parse error before "map"
xf86drm.c:1884: error: `map' undeclared (first use in this function)
xf86drm.c:1885: error: `DRM_IOCTL_GET_MAP' undeclared (first use in this
function)
xf86drm.c: In function `drmGetClient':
xf86drm.c:1898: error: `drm_client_t' undeclared (first use in this function)
xf86drm.c:1898: error: parse error before "client"
xf86drm.c:1900: error: `client' undeclared (first use in this function)
xf86drm.c:1901: error: `DRM_IOCTL_GET_CLIENT' undeclared (first use in this
function)
xf86drm.c: In function `drmGetStats':
xf86drm.c:1912: error: `drm_stats_t' undeclared (first use in this function)
xf86drm.c:1912: error: parse error before "s"
xf86drm.c:1915: error: `DRM_IOCTL_GET_STATS' undeclared (first use in this
function)
xf86drm.c:1915: error: `s' undeclared (first use in this function)
xf86drm.c:1949: error: `_DRM_STAT_LOCK' undeclared (first use in this function)
xf86drm.c:1954: error: `_DRM_STAT_OPENS' undeclared (first use in this function)
xf86drm.c:1960: error: `_DRM_STAT_CLOSES' undeclared (first use in this
function)
xf86drm.c:1966: error: `_DRM_STAT_IOCTLS' undeclared (first use in this
function)
xf86drm.c:1971: error: `_DRM_STAT_LOCKS' undeclared (first use in this function)
xf86drm.c:1976: error: `_DRM_STAT_UNLOCKS' undeclared (first use in this
function)
xf86drm.c:1981: error: `_DRM_STAT_IRQ' undeclared (first use in this function)
xf86drm.c:1986: error: `_DRM_STAT_PRIMARY' undeclared (first use in this
function)
xf86drm.c:1991: error: `_DRM_STAT_SECONDARY' undeclared (first use in this
function)
xf86drm.c:1996: error: `_DRM_STAT_DMA' undeclared (first use in this function)
xf86drm.c:2001: error: `_DRM_STAT_SPECIAL' undeclared (first use in this
function)
xf86drm.c:2006: error: `_DRM_STAT_MISSED' undeclared (first use in this
function)
xf86drm.c:2011: error: `_DRM_STAT_VALUE' undeclared (first use in this function)
xf86drm.c:2016: error: `_DRM_STAT_BYTE' undeclared (first use in this function)
xf86drm.c:2021: error: `_DRM_STAT_COUNT' undeclared (first use in this function)
xf86drm.c: In function `drmCommandNone':
xf86drm.c:2049: warning: implicit declaration of function `DRM_IO'
xf86drm.c:2049: error: `DRM_COMMAND_BASE' undeclared (first use in this
function)
xf86drm.c: In function `drmCommandRead':
xf86drm.c:2077: warning: implicit declaration of function `DRM_IOC'
xf86drm.c:2077: error: `DRM_IOC_READ' undeclared (first use in this function)
xf86drm.c:2077: error: `DRM_IOCTL_BASE' undeclared (first use in this function)
xf86drm.c:2078: error: `DRM_COMMAND_BASE' undeclared (first use in this
function)
xf86drm.c: In function `drmCommandWrite':
xf86drm.c:2106: error: `DRM_IOC_WRITE' undeclared (first use in this function)
xf86drm.c:2106: error: `DRM_IOCTL_BASE' undeclared (first use in this function)
xf86drm.c:2107: error: `DRM_COMMAND_BASE' undeclared (first use in this
function)
xf86drm.c: In function `drmCommandWriteRead':
xf86drm.c:2135: error: `DRM_IOC_READ' undeclared (first use in this function)
xf86drm.c:2135: error: `DRM_IOC_WRITE' undeclared (first use in this function)
xf86drm.c:2135: error: `DRM_IOCTL_BASE' undeclared (first use in this function)
xf86drm.c:2136: error: `DRM_COMMAND_BASE' undeclared (first use in this
function)
make[5]: *** [xf86drm.o] Error 1
make[5]: Leaving directory
`/home/gismobile/projects/xorg/verification/xc/lib/XvMC/hw/i810'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/gismobile/projects/xorg/verification/xc/lib/XvMC'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/gismobile/projects/xorg/verification/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gismobile/projects/xorg/verification/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/gismobile/projects/xorg/verification/xc'
make: *** [World] Error 2
-- snip --
Steps to reproduce:
1. Pull source
2. Apply this patch:
-- snip --
Index: xc/config/cf/site.def
===================================================================
RCS file: /cvs/xorg/xc/config/cf/site.def,v
retrieving revision 1.3
diff -u -r1.3 site.def
--- a/xc/config/cf/site.def 25 Apr 2004 22:34:12 -0000 1.3
+++ b/xc/config/cf/site.def 28 Apr 2004 14:26:55 -0000
@@ -43,6 +43,11 @@
#define HasFreetype2 NO
+#define XorgServer NO
+#define XF86Server NO
+#define XnestServer NO
+#define XVirtualFramebufferServer NO
+
#include <host.def>
#include <xorgsite.def>
-- snip --
3. Do a make World # ...
Result:
Build failure.
Expected result:
No build failure.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list