Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2024 07:37:59 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Filippo Moretti <filippomore@yahoo.com>
Cc:        Freebsd-stable List <stable@freebsd.org>
Subject:   Re: Error compiling xf86-video-intel
Message-ID:  <CAN6yY1upubZ3ypr61HsfmD_aodvXvQqw_h47P0tS6-_qZw_whA@mail.gmail.com>
In-Reply-To: <1646351680.3606510.1709391988165@mail.yahoo.com>
References:  <1646351680.3606510.1709391988165.ref@mail.yahoo.com> <1646351680.3606510.1709391988165@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c4e2ab0612c36552
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 2, 2024 at 7:06=E2=80=AFAM Filippo Moretti <filippomore@yahoo.c=
om>
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 =3D vsnprintf(buf+4, sizeof(buf)-4, format, va)+5;
>       |                                               ^~~~~~
> virtual.c:3465:17: error: use of undeclared identifier 'ETIME'
>  3465 |                                 if (ret !=3D -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-b74b67f0f32=
1875492968f7097b9d6e82a66d7df/tools
> 1 error
>
> make[2]: stopped in
> /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f32=
1875492968f7097b9d6e82a66d7df/tools
>
> make[1]: stopped in
> /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f32=
1875492968f7097b9d6e82a66d7df
>
> make: stopped in
> /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f32=
1875492968f7097b9d6e82a66d7df
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur=
e 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.
--=20
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

--000000000000c4e2ab0612c36552
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:tahoma,sans-serif;font-size:small">On Sat, Mar 2, 2024 at 7:06=E2=
=80=AFAM Filippo Moretti &lt;<a href=3D"mailto:filippomore@yahoo.com">filip=
pomore@yahoo.com</a>&gt; wrote:</div></div><div class=3D"gmail_quote"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex"><div><div style=3D"font-family=
:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div dir=3D"ltr"=
><div>-- intel_virtual_output-virtual.o ---<br>virtual.c:499:11: error: use=
 of undeclared identifier &#39;ETIME&#39;<br>=C2=A0 499 |=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 return -ETIME;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^<br>virtual.c:506:11: err=
or: use of undeclared identifier &#39;ETIME&#39;<br>=C2=A0 506 |=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 return -ETIME;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^<br>virtual.c:30=
08:12: error: use of undeclared identifier &#39;ETIME&#39;<br>=C2=A03008 |=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 retur=
n -ETIME;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 ^<br>virtual.c:3042:16: warning: &#39;format&#39; attribute ar=
gument not supported: gnu_printf [-Wignored-attributes]<br>=C2=A03042 | __a=
ttribute__((format(gnu_printf, 3, 4)))<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 ^<br>virtual.c:3056:40: warning: format string is not a str=
ing literal [-Wformat-nonliteral]<br>=C2=A03056 |=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 len =3D vsnprintf(buf+4, sizeof(buf)-4, format, va=
)+5;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 ^~~~~~<br>virtual.c:3465:17: error: use of undeclared id=
entifier &#39;ETIME&#39;<br>=C2=A03465 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 if (ret !=3D -ETIME) {<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^<br>2 warnings and 4 errors generated.<b=
r>*** [intel_virtual_output-virtual.o] Error code 1<br><br>make[2]: stopped=
 in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f=
321875492968f7097b9d6e82a66d7df/tools<br>1 error<br><br>make[2]: stopped in=
 /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321=
875492968f7097b9d6e82a66d7df/tools<br><br>make[1]: stopped in /usr/ports/x1=
1-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097=
b9d6e82a66d7df<br><br>make: stopped in /usr/ports/x11-drivers/xf86-video-in=
tel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df<br>=3D=
=3D=3D&gt; Compilation failed unexpectedly.<br>Try to set MAKE_JOBS_UNSAFE=
=3Dyes and rebuild before reporting the failure to<br>the maintainer.<br>**=
* Error code 1<br><br>Stop.<br>make[1]: stopped in /usr/ports/x11-drivers/x=
f86-video-intel<br>*** Error code 1<br><br>Stop.<br>make: stopped in /usr/p=
orts/x11-drivers/xf86-video-intel<br>[root@ROXY /usr/ports/x11-drivers/xf86=
-video-intel]# <br><br><br></div>This is the error message in my system :<d=
iv></div><div>[root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# uname -a=
<br>FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #22 stable/14-n266661-a727=
d8d7f50f: Fri Feb=C2=A0 9 22:57:13 CET 2024=C2=A0=C2=A0=C2=A0=C2=A0 filippo=
@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64</div><div><br></div><div =
dir=3D"ltr">Filippo<br></div></div></div></div></blockquote><div>=C2=A0</di=
v></div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=
=3D"gmail_default">People keep reporting problems with xf86-video-intel whe=
n 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 devic=
e that predates at least Sandy Bridge, the proper thing to do is to simply =
delete it. I&#39;m not sure why xorg still prioritizes it ahead of modesett=
ing which is the correct driver for any modern system using Intel graphics.=
</div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D=
"gmail_default"><br></div><div style=3D"font-family:tahoma,sans-serif;font-=
size:small" class=3D"gmail_default">I would like to see some information th=
at modesetting is the right driver for any recent Intel graphics, but it se=
ems obvious that the old Intel driver is needed for Intel graphics, even th=
ough it is the wrong answer.<br></div><span class=3D"gmail_signature_prefix=
">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"=
><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">Kevin Ob=
erman, Part time kid herder and retired Network Engineer<br>E-mail: <a href=
=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkoberman@gmail.com</a><b=
r></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div=
></div></div></div></div></div></div></div></div>

--000000000000c4e2ab0612c36552--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1upubZ3ypr61HsfmD_aodvXvQqw_h47P0tS6-_qZw_whA>