Subject: modular-xorg-drivers fail to compile on Solaris SXCE b73
To: None <pkgsrc-users@netbsd.org>
From: Gueven Bay <gueven.bay@googlemail.com>
List: pkgsrc-users
Date: 10/31/2007 07:28:54
NowI tried to compile modular-xorg-drivers.

This process breaks with this message (it seems to me that it is a
syntax error, but this cannot be because other people use just now
these drivers compiled from pkgsrc, so they should also get a syntax
error instead of using these drivers)  :

../shared-core/drm.h:821: error: syntax error before "drm_bo_arg_request_t"
../shared-core/drm.h:821: warning: no semicolon at end of struct or union
../shared-core/drm.h:822: warning: data definition has no type or storage class
../shared-core/drm.h:823: warning: data definition has no type or storage class
../shared-core/drm.h:824: error: syntax error before '}' token
../shared-core/drm.h:824: warning: data definition has no type or storage class
../shared-core/drm.h:841: error: syntax error before "drm_u64_t"
../shared-core/drm.h:841: warning: no semicolon at end of struct or union
../shared-core/drm.h:841: warning: no semicolon at end of struct or union
../shared-core/drm.h:842: warning: data definition has no type or storage class
../shared-core/drm.h:844: error: conflicting types for 'expand_pad'
../shared-core/drm.h:813: error: previous declaration of 'expand_pad' was here
../shared-core/drm.h:845: error: syntax error before '}' token
../shared-core/drm.h:845: warning: data definition has no type or storage class
../shared-core/drm.h:849: error: conflicting types for 'rep'
../shared-core/drm.h:822: error: previous declaration of 'rep' was here
../shared-core/drm.h:850: error: syntax error before '}' token
../shared-core/drm.h:850: warning: data definition has no type or storage class
In file included from xf86drm.h:661,
                 from xf86drm.c:63:
xf86mm.h:108: error: syntax error before "drm_u64_t"
xf86mm.h:108: warning: no semicolon at end of struct or union
xf86mm.h:113: error: conflicting types for 'offset'
../shared-core/drm.h:806: error: previous declaration of 'offset' was here
xf86mm.h:122: error: syntax error before '}' token
xf86mm.h:122: warning: data definition has no type or storage class
xf86mm.h:127: error: syntax error before "drmBO"
xf86mm.h:127: warning: no semicolon at end of struct or union
xf86mm.h:128: warning: data definition has no type or storage class
xf86mm.h:131: error: syntax error before '}' token
xf86mm.h:131: warning: data definition has no type or storage class
xf86mm.h:167: error: syntax error before '*' token
xf86mm.h:167: warning: data definition has no type or storage class
xf86mm.h:177: error: syntax error before "drmBO"
xf86mm.h:178: error: syntax error before "drmBO"
xf86mm.h:179: error: syntax error before "drmBO"
xf86mm.h:180: error: syntax error before "drmBO"
xf86mm.h:181: error: syntax error before "drmBO"
xf86mm.h:183: error: syntax error before "drmBO"
xf86mm.h:184: error: syntax error before "drmBO"
xf86mm.h:186: error: syntax error before "drmBO"
xf86mm.h:187: error: syntax error before "drmBO"
xf86mm.h:188: error: syntax error before "drmBO"
xf86mm.h:191: error: syntax error before "drmBO"
xf86mm.h:196: error: syntax error before "drmBO"
xf86drm.c: In function `drmGetVersion':
xf86drm.c:665: error: syntax error before "drm_version_t"
xf86drm.c: At top level:
xf86drm.c:670: error: syntax error before "if"
xf86drm.c:679: warning: parameter names (without types) in function declaration
xf86drm.c:679: error: conflicting types for 'drmFreeKernelVersion'
xf86drm.c:605: error: previous definition of 'drmFreeKernelVersion' was here
xf86drm.c:679: warning: data definition has no type or storage class
xf86drm.c:680: error: syntax error before "return"
xf86drm.c:688: error: invalid type argument of `unary *'
xf86drm.c:688: warning: initialization makes integer from pointer without a cast
xf86drm.c:688: error: initializer element is not constant
xf86drm.c:688: warning: data definition has no type or storage class
xf86drm.c:689: warning: parameter names (without types) in function declaration
xf86drm.c:689: error: conflicting types for 'drmCopyVersion'
xf86drm.c:625: error: previous definition of 'drmCopyVersion' was here
xf86drm.c:689: warning: data definition has no type or storage class
xf86drm.c:690: warning: parameter names (without types) in function declaration
xf86drm.c:690: warning: data definition has no type or storage class
xf86drm.c:691: error: syntax error before "return"
xf86drm.c: In function `drmGetBusid':
xf86drm.c:763: error: syntax error before "drm_unique_t"
xf86drm.c:765: error: syntax error before "drm_unique_t"
xf86drm.c: In function `drmSetBusid':
xf86drm.c:791: error: syntax error before "drm_unique_t"
xf86drm.c: In function `drmGetMagic':
xf86drm.c:802: error: syntax error before "drm_auth_t"
xf86drm.c: In function `drmAuthMagic':
xf86drm.c:812: error: syntax error before "drm_auth_t"
xf86drm.c: In function `drmAddMap':
xf86drm.c:876: error: syntax error before "drm_map_t"
xf86drm.c: In function `drmRmMap':
xf86drm.c:887: error: syntax error before "drm_map_t"
xf86drm.c: In function `drmAddBufs':
xf86drm.c:919: error: syntax error before "drm_buf_desc_t"
xf86drm.c: In function `drmMarkBufs':
xf86drm.c:931: error: syntax error before "drm_buf_info_t"
xf86drm.c:938: error: syntax error before "drm_buf_info_t"
xf86drm.c: At top level:
xf86drm.c:944: error: syntax error before "for"
xf86drm.c:949: error: syntax error before '.' token
xf86drm.c:949: error: conflicting types for 'drmFree'
xf86drm.c:156: error: previous definition of 'drmFree' was here
xf86drm.c:949: warning: data definition has no type or storage class
xf86drm.c:953: error: syntax error before '.' token
xf86drm.c:953: warning: data definition has no type or storage class
xf86drm.c: In function `drmFreeBufs':
xf86drm.c:979: error: syntax error before "drm_buf_free_t"
xf86drm.c: In function `drmGetBufInfo':
xf86drm.c:1065: error: syntax error before "drm_buf_info_t"
xf86drm.c:1071: error: syntax error before "drm_buf_info_t"
xf86drm.c: At top level:
xf86drm.c:1088: error: syntax error before "return"
xf86drm.c: In function `drmMapBufs':
xf86drm.c:1115: error: syntax error before "drm_buf_map_t"
xf86drm.c:1122: error: syntax error before "drm_buf_map_t"
xf86drm.c: At top level:
xf86drm.c:1127: error: redefinition of 'retval'
xf86drm.c:688: error: previous definition of 'retval' was here
xf86drm.c:1127: error: invalid type argument of `unary *'
xf86drm.c:1127: warning: initialization makes integer from pointer
without a cast
xf86drm.c:1127: error: initializer element is not constant
xf86drm.c:1127: warning: data definition has no type or storage class
xf86drm.c:1128: error: syntax error before '->' token
xf86drm.c:1137: error: syntax error before '.' token
xf86drm.c:1137: warning: data definition has no type or storage class
xf86drm.c: In function `drmDMA':
xf86drm.c:1198: error: syntax error before "drm_dma_t"
xf86drm.c: In function `drmGetLock':
xf86drm.c:1237: error: syntax error before "drm_lock_t"
xf86drm.c: In function `drmUnlock':
xf86drm.c:1260: error: syntax error before "drm_lock_t"
xf86drm.c: In function `drmGetReservedContextList':
xf86drm.c:1272: error: syntax error before "drm_ctx_res_t"
xf86drm.c:1283: error: syntax error before "drm_ctx_res_t"
xf86drm.c: In function `drmCreateContext':
xf86drm.c:1320: error: syntax error before "drm_ctx_t"
xf86drm.c: In function `drmSwitchToContext':
xf86drm.c:1330: error: syntax error before "drm_ctx_t"
xf86drm.c: In function `drmSetContextFlags':
xf86drm.c:1348: error: syntax error before "drm_ctx_t"
xf86drm.c: In function `drmGetContextFlags':
xf86drm.c:1358: error: syntax error before "drm_ctx_t"
xf86drm.c: In function `drmDestroyContext':
xf86drm.c:1386: error: syntax error before "drm_ctx_t"
xf86drm.c: In function `drmCreateDrawable':
xf86drm.c:1393: error: syntax error before "drm_draw_t"
xf86drm.c: In function `drmDestroyDrawable':
xf86drm.c:1402: error: syntax error before "drm_draw_t"
xf86drm.c: In function `drmUpdateDrawableInfo':
xf86drm.c:1417: error: syntax error before "drm_update_draw_t"
xf86drm.c: In function `drmAgpEnable':
xf86drm.c:1475: error: syntax error before "drm_agp_mode_t"
xf86drm.c: In function `drmAgpAlloc':
xf86drm.c:1505: error: syntax error before "drm_agp_buffer_t"
xf86drm.c: In function `drmAgpFree':
xf86drm.c:1530: error: syntax error before "drm_agp_buffer_t"
xf86drm.c: In function `drmAgpBind':
xf86drm.c:1554: error: syntax error before "drm_agp_binding_t"
xf86drm.c: In function `drmAgpUnbind':
xf86drm.c:1577: error: syntax error before "drm_agp_binding_t"
xf86drm.c: In function `drmAgpVersionMajor':
xf86drm.c:1597: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpVersionMinor':
xf86drm.c:1617: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpGetMode':
xf86drm.c:1637: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpBase':
xf86drm.c:1657: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpSize':
xf86drm.c:1677: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpMemoryUsed':
xf86drm.c:1697: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpMemoryAvail':
xf86drm.c:1717: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpVendorId':
xf86drm.c:1737: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmAgpDeviceId':
xf86drm.c:1757: error: syntax error before "drm_agp_info_t"
xf86drm.c: In function `drmScatterGatherAlloc':
xf86drm.c:1768: error: syntax error before "drm_scatter_gather_t"
xf86drm.c: In function `drmScatterGatherFree':
xf86drm.c:1779: error: syntax error before "drm_scatter_gather_t"
xf86drm.c: In function `drmWaitVBlank':
xf86drm.c:1799: error: syntax error before "drm_wait_vblank_t"
xf86drm.c: In function `drmCtlInstHandler':
xf86drm.c:1840: error: syntax error before "drm_control_t"
xf86drm.c: In function `drmCtlUninstHandler':
xf86drm.c:1862: error: syntax error before "drm_control_t"
xf86drm.c: In function `drmFinish':
xf86drm.c:1878: error: syntax error before "drm_lock_t"
xf86drm.c: In function `drmGetInterruptFromBusID':
xf86drm.c:1903: error: syntax error before "drm_irq_busid_t"
xf86drm.c: In function `drmAddContextPrivateMapping':
xf86drm.c:1943: error: syntax error before "drm_ctx_priv_map_t"
xf86drm.c: In function `drmGetContextPrivateMapping':
xf86drm.c:1954: error: syntax error before "drm_ctx_priv_map_t"
xf86drm.c: In function `drmGetMap':
xf86drm.c:1967: error: syntax error before "drm_map_t"
xf86drm.c: In function `drmGetClient':
xf86drm.c:1983: error: syntax error before "drm_client_t"
xf86drm.c: In function `drmGetStats':
xf86drm.c:1997: error: syntax error before "drm_stats_t"
xf86drm.c: In function `drmSetInterfaceVersion':
xf86drm.c:2138: error: syntax error before "drm_set_version_t"
xf86drm.c: At top level:
xf86drm.c:2142: error: syntax error before '->' token
xf86drm.c: In function `drmCommandRead':
xf86drm.c:2195: error: `DRM_IOC_READ' undeclared (first use in this function)
xf86drm.c:2195: error: (Each undeclared identifier is reported only once
xf86drm.c:2195: error: for each function it appears in.)
xf86drm.c: In function `drmCommandWrite':
xf86drm.c:2224: error: `DRM_IOC_WRITE' undeclared (first use in this function)
xf86drm.c: In function `drmCommandWriteRead':
xf86drm.c:2253: error: `DRM_IOC_READ' undeclared (first use in this function)
xf86drm.c:2253: error: `DRM_IOC_WRITE' undeclared (first use in this function)
xf86drm.c: In function `drmFenceCreate':
xf86drm.c:2279: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceBuffers':
xf86drm.c:2302: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceDestroy':
xf86drm.c:2319: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceReference':
xf86drm.c:2331: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceUnreference':
xf86drm.c:2348: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceFlush':
xf86drm.c:2361: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceUpdate':
xf86drm.c:2376: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceEmit':
xf86drm.c:2419: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmFenceWait':
xf86drm.c:2454: error: syntax error before "drm_fence_arg_t"
xf86drm.c: In function `drmAdjustListNodes':
xf86drm.c:2468: error: `node' undeclared (first use in this function)
xf86drm.c:2473: error: syntax error before ')' token
xf86drm.c:2487: error: syntax error before ')' token
xf86drm.c:2487: error: syntax error before ')' token
xf86drm.c: In function `drmBOFreeList':
xf86drm.c:2496: error: `node' undeclared (first use in this function)
xf86drm.c:2502: error: syntax error before ')' token
xf86drm.c:2502: error: syntax error before ')' token
xf86drm.c:2512: error: syntax error before ')' token
xf86drm.c:2512: error: syntax error before ')' token
xf86drm.c: At top level:
xf86drm.c:2538: error: syntax error before '*' token
xf86drm.c:2538: error: syntax error before "drmBO"
xf86drm.c: In function `drmAddListItem':
xf86drm.c:2542: error: `node' undeclared (first use in this function)
xf86drm.c:2545: error: `list' undeclared (first use in this function)
xf86drm.c:2547: error: syntax error before ')' token
xf86drm.c:2554: error: syntax error before ')' token
xf86drm.c:2554: error: syntax error before ')' token
xf86drm.c:2556: error: `item' undeclared (first use in this function)
xf86drm.c: At top level:
xf86drm.c:2584: error: syntax error before '*' token
xf86drm.c: In function `drmBOListBuf':
xf86drm.c:2586: error: `node' undeclared (first use in this function)
xf86drm.c:2588: error: syntax error before ')' token
xf86drm.c:2588: error: syntax error before ')' token
xf86drm.c: At top level:
xf86drm.c:2604: error: syntax error before '*' token
xf86drm.c: In function `drmBOCopyReply':
xf86drm.c:2607: error: `buf' undeclared (first use in this function)
xf86drm.c:2607: error: invalid type argument of `->'
xf86drm.c:2608: error: invalid type argument of `->'
xf86drm.c:2609: error: invalid type argument of `->'
xf86drm.c:2610: error: invalid type argument of `->'
xf86drm.c:2611: error: invalid type argument of `->'
xf86drm.c:2612: error: invalid type argument of `->'
xf86drm.c:2613: error: invalid type argument of `->'
xf86drm.c:2614: error: invalid type argument of `->'
xf86drm.c:2615: error: invalid type argument of `->'
xf86drm.c:2616: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2624: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOCreate':
xf86drm.c:2626: error: syntax error before "arg"
xf86drm.c:2627: error: `arg' undeclared (first use in this function)
xf86drm.c:2628: error: invalid operands to binary *
xf86drm.c:2631: error: `buf' undeclared (first use in this function)
xf86drm.c:2633: error: invalid type argument of `->'
xf86drm.c:2634: error: invalid type argument of `->'
xf86drm.c:2634: error: `hint' undeclared (first use in this function)
xf86drm.c:2635: error: invalid type argument of `->'
xf86drm.c:2636: error: invalid type argument of `->'
xf86drm.c:2637: error: invalid type argument of `->'
xf86drm.c:2643: error: invalid type argument of `->'
xf86drm.c:2646: error: invalid type argument of `->'
xf86drm.c:2646: error: `user_buffer' undeclared (first use in this function)
xf86drm.c:2650: error: invalid type argument of `->'
xf86drm.c:2655: error: invalid type argument of `->'
xf86drm.c:2658: error: `fd' undeclared (first use in this function)
xf86drm.c:2666: error: invalid type argument of `->'
xf86drm.c:2667: error: invalid type argument of `->'
xf86drm.c:2668: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2678: error: syntax error before "drmBO"
xf86drm.c: In function `drmBODestroy':
xf86drm.c:2680: error: syntax error before "arg"
xf86drm.c:2681: error: `arg' undeclared (first use in this function)
xf86drm.c:2682: error: invalid operands to binary *
xf86drm.c:2684: error: `buf' undeclared (first use in this function)
xf86drm.c:2691: error: invalid type argument of `->'
xf86drm.c:2692: error: invalid type argument of `->'
xf86drm.c:2694: error: `fd' undeclared (first use in this function)
xf86drm.c:2699: error: invalid type argument of `->'
xf86drm.c:2700: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2707: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOReference':
xf86drm.c:2710: error: syntax error before "arg"
xf86drm.c:2711: error: `arg' undeclared (first use in this function)
xf86drm.c:2712: error: invalid operands to binary *
xf86drm.c:2715: error: invalid type argument of `->'
xf86drm.c:2715: error: `handle' undeclared (first use in this function)
xf86drm.c:2716: error: invalid type argument of `->'
xf86drm.c:2718: error: `fd' undeclared (first use in this function)
xf86drm.c:2723: error: invalid type argument of `->'
xf86drm.c:2724: error: invalid type argument of `->'
xf86drm.c:2727: error: `buf' undeclared (first use in this function)
xf86drm.c: At top level:
xf86drm.c:2736: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOUnReference':
xf86drm.c:2738: error: syntax error before "arg"
xf86drm.c:2739: error: `arg' undeclared (first use in this function)
xf86drm.c:2740: error: invalid operands to binary *
xf86drm.c:2743: error: `buf' undeclared (first use in this function)
xf86drm.c:2750: error: invalid type argument of `->'
xf86drm.c:2751: error: invalid type argument of `->'
xf86drm.c:2753: error: `fd' undeclared (first use in this function)
xf86drm.c:2758: error: invalid type argument of `->'
xf86drm.c:2759: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2772: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOMap':
xf86drm.c:2776: error: syntax error before "arg"
xf86drm.c:2777: error: `arg' undeclared (first use in this function)
xf86drm.c:2778: error: invalid operands to binary *
xf86drm.c:2785: error: `buf' undeclared (first use in this function)
xf86drm.c:2789: error: `fd' undeclared (first use in this function)
xf86drm.c:2800: error: invalid type argument of `->'
xf86drm.c:2801: error: invalid type argument of `->'
xf86drm.c:2802: error: invalid type argument of `->'
xf86drm.c:2802: error: `mapHint' undeclared (first use in this function)
xf86drm.c:2803: error: invalid type argument of `->'
xf86drm.c:2818: error: invalid type argument of `->'
xf86drm.c:2819: error: invalid type argument of `->'
xf86drm.c:2824: error: `address' undeclared (first use in this function)
xf86drm.c: At top level:
xf86drm.c:2829: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOUnmap':
xf86drm.c:2831: error: syntax error before "arg"
xf86drm.c:2832: error: `arg' undeclared (first use in this function)
xf86drm.c:2833: error: invalid operands to binary *
xf86drm.c:2837: error: invalid type argument of `->'
xf86drm.c:2837: error: `buf' undeclared (first use in this function)
xf86drm.c:2838: error: invalid type argument of `->'
xf86drm.c:2840: error: `fd' undeclared (first use in this function)
xf86drm.c:2845: error: invalid type argument of `->'
xf86drm.c:2846: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2851: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOValidate':
xf86drm.c:2854: error: syntax error before "arg"
xf86drm.c:2855: error: `arg' undeclared (first use in this function)
xf86drm.c:2856: error: invalid operands to binary *
xf86drm.c:2860: error: invalid type argument of `->'
xf86drm.c:2860: error: `buf' undeclared (first use in this function)
xf86drm.c:2861: error: invalid type argument of `->'
xf86drm.c:2862: error: invalid type argument of `->'
xf86drm.c:2862: error: `hint' undeclared (first use in this function)
xf86drm.c:2863: error: invalid type argument of `->'
xf86drm.c:2864: error: invalid type argument of `->'
xf86drm.c:2867: error: `fd' undeclared (first use in this function)
xf86drm.c:2874: error: invalid type argument of `->'
xf86drm.c:2875: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2882: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOFence':
xf86drm.c:2884: error: syntax error before "arg"
xf86drm.c:2885: error: `arg' undeclared (first use in this function)
xf86drm.c:2886: error: invalid operands to binary *
xf86drm.c:2890: error: invalid type argument of `->'
xf86drm.c:2890: error: `buf' undeclared (first use in this function)
xf86drm.c:2891: error: invalid type argument of `->'
xf86drm.c:2892: error: invalid type argument of `->'
xf86drm.c:2892: error: `fenceHandle' undeclared (first use in this function)
xf86drm.c:2893: error: invalid type argument of `->'
xf86drm.c:2895: error: `fd' undeclared (first use in this function)
xf86drm.c:2901: error: invalid type argument of `->'
xf86drm.c:2902: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2906: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOInfo':
xf86drm.c:2908: error: syntax error before "arg"
xf86drm.c:2909: error: `arg' undeclared (first use in this function)
xf86drm.c:2910: error: invalid operands to binary *
xf86drm.c:2914: error: invalid type argument of `->'
xf86drm.c:2914: error: `buf' undeclared (first use in this function)
xf86drm.c:2915: error: invalid type argument of `->'
xf86drm.c:2917: error: `fd' undeclared (first use in this function)
xf86drm.c:2923: error: invalid type argument of `->'
xf86drm.c:2924: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2929: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOWaitIdle':
xf86drm.c:2931: error: syntax error before "arg"
xf86drm.c:2932: error: `arg' undeclared (first use in this function)
xf86drm.c:2933: error: invalid operands to binary *
xf86drm.c:2936: error: `buf' undeclared (first use in this function)
xf86drm.c:2939: error: invalid type argument of `->'
xf86drm.c:2940: error: invalid type argument of `->'
xf86drm.c:2941: error: invalid type argument of `->'
xf86drm.c:2941: error: `hint' undeclared (first use in this function)
xf86drm.c:2944: error: `fd' undeclared (first use in this function)
xf86drm.c:2951: error: invalid type argument of `->'
xf86drm.c:2952: error: invalid type argument of `->'
xf86drm.c: At top level:
xf86drm.c:2958: error: syntax error before "drmBO"
xf86drm.c: In function `drmBOBusy':
xf86drm.c:2960: error: `buf' undeclared (first use in this function)
xf86drm.c:2962: error: `busy' undeclared (first use in this function)
xf86drm.c:2965: error: `fd' undeclared (first use in this function)
xf86drm.c: At top level:
xf86drm.c:2974: error: syntax error before "drmBO"
xf86drm.c: In function `drmAddValidateItem':
xf86drm.c:2978: error: `node' undeclared (first use in this function)
xf86drm.c:2978: error: `cur' undeclared (first use in this function)
xf86drm.c:2981: error: `newItem' undeclared (first use in this function)
xf86drm.c:2984: error: `list' undeclared (first use in this function)
xf86drm.c:2985: error: syntax error before ')' token
xf86drm.c:2985: error: syntax error before ')' token
xf86drm.c:2986: error: `buf' undeclared (first use in this function)
xf86drm.c: In function `drmBOValidateList':
xf86drm.c:3033: error: `node' undeclared (first use in this function)
xf86drm.c:3035: error: `arg' undeclared (first use in this function)
xf86drm.c:3035: error: `first' undeclared (first use in this function)
xf86drm.c:3037: error: invalid operands to binary *
xf86drm.c:3038: error: `prevNext' undeclared (first use in this function)
xf86drm.c:3039: error: `buf' undeclared (first use in this function)
xf86drm.c:3045: error: syntax error before ')' token
xf86drm.c:3045: error: syntax error before ')' token
xf86drm.c:3058: error: invalid type argument of `->'
xf86drm.c:3059: error: invalid type argument of `->'
xf86drm.c:3060: error: invalid type argument of `->'
xf86drm.c:3061: error: invalid type argument of `->'
xf86drm.c:3062: error: invalid type argument of `->'
xf86drm.c:3077: error: syntax error before ')' token
xf86drm.c:3077: error: syntax error before ')' token
xf86drm.c:3085: error: invalid type argument of `->'
xf86drm.c:3086: error: invalid type argument of `->'
xf86drm.c: In function `drmBOFenceList':
xf86drm.c:3099: error: `node' undeclared (first use in this function)
xf86drm.c:3101: error: `arg' undeclared (first use in this function)
xf86drm.c:3101: error: `first' undeclared (first use in this function)
xf86drm.c:3103: error: invalid operands to binary *
xf86drm.c:3104: error: `prevNext' undeclared (first use in this function)
xf86drm.c:3105: error: `buf' undeclared (first use in this function)
xf86drm.c:3112: error: syntax error before ')' token
xf86drm.c:3112: error: syntax error before ')' token
xf86drm.c:3125: error: invalid type argument of `->'
xf86drm.c:3126: error: invalid type argument of `->'
xf86drm.c:3127: error: invalid type argument of `->'
xf86drm.c:3128: error: invalid type argument of `->'
xf86drm.c:3140: error: syntax error before ')' token
xf86drm.c:3140: error: syntax error before ')' token
xf86drm.c:3147: error: invalid type argument of `->'
xf86drm.c:3148: error: invalid type argument of `->'
xf86drm.c: In function `drmMMInit':
xf86drm.c:3158: error: syntax error before "arg"
xf86drm.c:3160: error: `arg' undeclared (first use in this function)
xf86drm.c: In function `drmMMTakedown':
xf86drm.c:3174: error: syntax error before "arg"
xf86drm.c:3177: error: `arg' undeclared (first use in this function)
xf86drm.c: In function `drmMMLock':
xf86drm.c:3189: error: syntax error before "arg"
xf86drm.c:3192: error: `arg' undeclared (first use in this function)
xf86drm.c: In function `drmMMUnlock':
xf86drm.c:3205: error: syntax error before "arg"
xf86drm.c:3208: error: `arg' undeclared (first use in this function)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libdrm/work/libdrm-2.3.0/libdrm
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libdrm/work/libdrm-2.3.0/libdrm
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libdrm/work/libdrm-2.3.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libdrm
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libdrm
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/xf86driproto
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/xf86-input-keyboard
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/meta-pkgs/modular-xorg-drivers





I really hope someone can tell me the "secret" for compiling xorg on Solaris.


Thanks and regards
Gueven