Missing /dev/io on rpi3 running 12-stable
bob prohaska
fbsd at www.zefox.net
Thu May 21 01:09:40 UTC 2020
On Wed, May 20, 2020 at 08:56:31PM +0200, Mika??l Urankar wrote:
> Le mer. 20 mai 2020 ?? 20:16, bob prohaska <fbsd at www.zefox.net> a ??crit :
> >
> > On Wed, May 20, 2020 at 07:09:11PM +0200, Mika??l Urankar wrote:
> > > Le mer. 20 mai 2020 ?? 18:46, bob prohaska <fbsd at www.zefox.net> a ??crit :
> > > >
> > > > Is there supposed to be a /dev/io by default in FreeBSD on a Pi3?
> > > > Attempts to start X under 12.1-STABLE r361271 GENERIC fail with
> > > > a report of "failed to open /dev/io". There is indeed no /dev/io,
> > > > but there's also no /dev/io on a pi2 running 12-stable.
> > > >
> > > > Nor does there seem to be a kernel module with matching name....
> > > >
> > > > Thanks for reading!
> > > >
> > > > bob prohaska
> > >
> > > I haven't looked closely but it seems the error is in
> > > x11-servers/xorg-server/files/configure.ac, AC_DEFINE(USE_DEV_IO)
> > >
> >
> > Alas, the remedy does not suggest itself, at least not to me....
> >
> > Can somebody offer a hint?
>
> edit files/patch-configure, locate USE_DEV_IO and remove the whole hunk.
> then make clean; make deinstall install
>
Looks like it's not quite that simple. I took the "hunk" to be the preceding
line starting with @@ to the next line starting with @@. Make patch
finished with no errors, following a fresh make clean, but the build stopped
with
ld: error: undefined symbol: xf86EnableIO
>>> referenced by sdksyms.c
>>> sdksyms.o:(xorg_symbols)
>>> referenced by xf86Configure.c
>>> xf86Configure.o:(DoConfigure) in archive common/.libs/libcommon.a
>>> referenced by xf86Events.c
>>> xf86Events.o:(xf86VTEnter) in archive common/.libs/libcommon.a
>>> referenced by xf86Init.c
>>> xf86Init.o:(InitOutput) in archive common/.libs/libcommon.a
>>> referenced by xf86Init.c
>>> xf86Init.o:(InitOutput) in archive common/.libs/libcommon.a
ld: error: undefined symbol: xf86DisableIO
>>> referenced by sdksyms.c
>>> sdksyms.o:(xorg_symbols)
>>> referenced by xf86Events.c
>>> xf86Events.o:(xf86VTLeave) in archive common/.libs/libcommon.a
ld: error: undefined symbol: xf86OSInitVidMem
>>> referenced by vidmem.c
>>> vidmem.o:(xf86InitVidMem) in archive os-support/.libs/libxorgos.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[6]: *** [Makefile:814: Xorg] Error 1
Not sure what to try next....
Thanks for reading!
bob prohaska
More information about the freebsd-arm
mailing list