pkgsrc-Users archive

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

Re: pkgsrc Xorg on *mips ports?



On Mon, 1 Feb 2016 21:09:27 -0600 (CST)
"John D. Baker" <jdbaker%mylinuxisp.com@localhost> wrote:

> I was curious how pkgsrc/modular Xorg would compare to "native" Xorg on
> my Lemote Yeeloong (evbmips64-el).
> 
> Unfortunately, "modular-xorg-server" fails linking with:
> 
> [...]
>   CCLD     Xorg
> sdksyms.o:(.data.rel+0x19d8): undefined reference to `xf86EnableIO'
> sdksyms.o:(.data.rel+0x19dc): undefined reference to `xf86DisableIO'
> sdksyms.o:(.data.rel+0x19e0): undefined reference to `xf86SetTVOut'
> sdksyms.o:(.data.rel+0x19e4): undefined reference to `xf86SetRGBOut'
> common/.libs/libcommon.a(xf86Configure.o): In function `DoConfigure':
> xf86Configure.c:(.text+0x740): undefined reference to `xf86EnableIO'
> common/.libs/libcommon.a(xf86Events.o): In function `xf86VTLeave':
> xf86Events.c:(.text+0xed8): undefined reference to `xf86DisableIO'
> common/.libs/libcommon.a(xf86Events.o): In function `xf86VTEnter':
> xf86Events.c:(.text+0x1144): undefined reference to `xf86EnableIO'
> common/.libs/libcommon.a(xf86Init.o): In function `InitOutput':
> xf86Init.c:(.text+0x1c64): undefined reference to `xf86EnableIO'
> xf86Init.c:(.text+0x2508): undefined reference to `xf86EnableIO'
> os-support/.libs/libxorgos.a(vidmem.o): In function `xf86InitVidMem':
> vidmem.c:(.text+0x18): undefined reference to `xf86OSInitVidMem'

You can try to set XORG_OS_SUBDIR=stub in configure to disable md
specific code and see if there are other issues.
Although I'm not sure if this will produce a server that can interact
with the hardware in any meaningful way.

Otherwise you need to add NetBSD/mips specific bits to configure and
hw/xfree86/os-support/bsd to make this work. It should only be minor
bits that are missing.

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index