Re: Error compiling xf86-video-intel

From: Filippo Moretti <filippomore_at_yahoo.com>
Date: Sun, 03 Mar 2024 16:25:57 UTC
 Thank you for your explanation,my computer is an old core duo but X is working anyway even with my older build.SincerelyFilippo

    On Sunday, March 3, 2024 at 04:38:32 PM GMT+1, Kevin Oberman <rkoberman@gmail.com> wrote:  
 
 On Sat, Mar 2, 2024 at 7:06 AM Filippo Moretti <filippomore@yahoo.com> wrote:
-- intel_virtual_output-virtual.o ---
virtual.c:499:11: error: use of undeclared identifier 'ETIME'
  499 |                 return -ETIME;
      |                         ^
virtual.c:506:11: error: use of undeclared identifier 'ETIME'
  506 |                 return -ETIME;
      |                         ^
virtual.c:3008:12: error: use of undeclared identifier 'ETIME'
 3008 |                         return -ETIME;
      |                                 ^
virtual.c:3042:16: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes]
 3042 | __attribute__((format(gnu_printf, 3, 4)))
      |                ^
virtual.c:3056:40: warning: format string is not a string literal [-Wformat-nonliteral]
 3056 |         len = vsnprintf(buf+4, sizeof(buf)-4, format, va)+5;
      |                                               ^~~~~~
virtual.c:3465:17: error: use of undeclared identifier 'ETIME'
 3465 |                                 if (ret != -ETIME) {
      |                                             ^
2 warnings and 4 errors generated.
*** [intel_virtual_output-virtual.o] Error code 1

make[2]: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df/tools
1 error

make[2]: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df/tools

make[1]: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df

make: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-drivers/xf86-video-intel
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-drivers/xf86-video-intel
[root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# 


This is the error message in my system :[root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# uname -a
FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #22 stable/14-n266661-a727d8d7f50f: Fri Feb  9 22:57:13 CET 2024     filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64
Filippo

 People keep reporting problems with xf86-video-intel when it really should not be used on any modern system. Intel dropped support for this driver years ago. Unless you have a really old system with a device that predates at least Sandy Bridge, the proper thing to do is to simply delete it. I'm not sure why xorg still prioritizes it ahead of modesetting which is the correct driver for any modern system using Intel graphics.
I would like to see some information that modesetting is the right driver for any recent Intel graphics, but it seems obvious that the old Intel driver is needed for Intel graphics, even though it is the wrong answer.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683