[OpenIndiana-discuss] compiling/linking of libdrm fails

Olaf Bohlen olafbohlen at googlemail.com
Tue Jun 21 07:34:53 UTC 2011


Hi,

I want to try to upgrade my intel_drv Xorg module in the hope to get
it working on my notebook ,)
Therefore I need a newer libdrm, so I tried to compile it, but linking fails:
----
"xf86drm.c", line 2383: warning: implicit function declaration: _IOC
  CC     libdrm_la-xf86drmHash.lo
  CC     libdrm_la-xf86drmRandom.lo
  CC     libdrm_la-xf86drmSL.lo
  CC     libdrm_la-xf86drmMode.lo
"xf86drmMode.c", line 55: warning: no explicit type given
"xf86drmMode.c", line 77: warning: pointer to void or function used in
arithmetic
  CCLD   libdrm.la
Undefined			first referenced
 symbol  			    in file
_IOC                                .libs/libdrm_la-xf86drm.o
ld: fatal: symbol referencing errors. No output written to .libs/libdrm.so.2.4.0
gmake[2]: *** [libdrm.la] Error 1
gmake[2]: Leaving directory `/home/olbohlen/src/libdrm-2.4.26'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/olbohlen/src/libdrm-2.4.26'
gmake: *** [all] Error 2
----

Any hints for me, what I can do? IOC is defined in some of the drm
headers in /usr/include/drm/, that's what I found by myself.

Yours

-- 
Olaf Bohlen      <olafbohlen at googlemail.com>
Fon: +49 172 4561817         RIPE: DARK-RIPE
UKW/DSC: 211501050 DH6432 S/Y Annemarie (HX)



More information about the OpenIndiana-discuss mailing list