pkgsrc-Users archive

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

Problem with x11/libdrm



Hello everyone!

On NetBSD-7.1.1 I'm getting error while I'm trying to build x11/libdrm
on pkgsrc-current. Here is an output:

---------------------------
Making all in modeprint
  CC       modeprint.o
modeprint.c: In function 'printProperty':
modeprint.c:129:4: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64' [-Wformat=]
    printf("\t\t%lld = %s\n", props->enums[j].value, props->enums[j].name);
    ^
modeprint.c:129:4: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64' [-Wformat=]
  CCLD     modeprint
modeprint.o: In function `main':
modeprint.c:(.text.startup+0x21d): undefined reference to `drmModeGetConnectorCurrent'
Makefile:433: recipe for target 'modeprint' failed
gmake[3]: *** [modeprint] Error 1
Makefile:706: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
Makefile:855: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
Makefile:614: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/pkgsrc-current-2018Q1/pkgsrc/x11/libdrm
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgsrc/x11/libdrm
----------------------------

How I can fix this error?

Thank you in advance.


Home | Main Index | Thread Index | Old Index