Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2020 18:09:39 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mika??l Urankar <mikael.urankar@gmail.com>
Cc:        freebsd-ports@freebsd.org, freebsd-arm@freebsd.org
Subject:   Re: Missing /dev/io on rpi3 running 12-stable
Message-ID:  <20200521010939.GA71782@www.zefox.net>
In-Reply-To: <CAJwjRmRcNaXX5G1rLvA_=8jcPz1UB5aN4_tU%2Bsdz3YZd-hpRtQ@mail.gmail.com>
References:  <20200520164642.GA70838@www.zefox.net> <CAJwjRmQDCEyT81bTxvr-k-SfZxq05dWBmMpVWj_67=cqXz-45w@mail.gmail.com> <20200520181633.GA71007@www.zefox.net> <CAJwjRmRcNaXX5G1rLvA_=8jcPz1UB5aN4_tU%2Bsdz3YZd-hpRtQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 20, 2020 at 08:56:31PM +0200, Mika??l Urankar wrote:
> Le mer. 20 mai 2020 ?? 20:16, bob prohaska <fbsd@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@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




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