Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc build failure



When building xsrc, I now see:

In file included from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_internal.
h:34,                                                                           
                 from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_asic_id.$:35:
/usr/xsrc/external/mit/libdrm/dist/util_double_list.h:94: error: "LIST_REPLACE" redefined [-Werror]
 #define LIST_REPLACE(__from, __to) list_replace(__from, __to)
  
In file included from /usr/include/sys/sched.h:74,
                 from /usr/include/sched.h:37,
                 from /usr/include/pthread.h:38,
                 from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_internal$h:29,
                 from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_asic_id.$:35:
/usr/include/sys/queue.h:296: note: this is the location of the previous defini$
ion
 #define LIST_REPLACE(elm, elm2, field) do {    \
  
In file included from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_internal$h:34,
                 from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_asic_id.$:35:
/usr/xsrc/external/mit/libdrm/dist/util_double_list.h:98: error: "LIST_ENTRY" r$defined [-Werror]
 #define LIST_ENTRY(__type, __item, __field)   \
  
In file included from /usr/include/sys/sched.h:74,
                 from /usr/include/sched.h:37,
                 from /usr/include/pthread.h:38,
                 from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_internal$h:29,
                 from /usr/xsrc/external/mit/libdrm/dist/amdgpu/amdgpu_asic_id.$:35:
/usr/include/sys/queue.h:196: note: this is the location of the previous defini$
ion
 #define LIST_ENTRY(type)      \
  
cc1: all warnings being treated as errors


yet neither src/sys/sys/queue.h nor
xsrc/external/mit/libdrm/dist/util_double_list.h
appear to have changed in ages?!


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index