On 06/01/18 15:05, coypu%sdf.org@localhost wrote: [..]
I wonder if it fails as a standalone$ cat testx.c#include <xf86drmMode.h> #include <xf86drm.h> int main() { (void) drmModeGetCrtc(0,0); }$ gcc `env PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig pkgconf --cflags --libs libdrm` testx.c -o testx; ./testx
That snippet works for me.
Or are you using pkgsrc mesa with disabled dri (my fault..)?
I don't see the connection :) but that is exactly the case. I need to disable dri for MesaLib on Solaris and have done the same on NetBSD to keep my configs in sync.
In the meantime, I have removed the offending lines from PLIST and was able to install this package both on NetBSD and Solaris.
-- Jörn Clausen Plattformen & Serverdienste BITS - Bielefelder IT-Servicezentrum