On Sun, 29 Oct 2000, Branden Robinson wrote:
Hi,
You can add these to xc/programs/Xserver/hw/xfree86/xf86cfg/loader.c.
I think one possible solution is to patch
xc/programs/Xserver/hw/xfree86/loader/xf86sym.c to use it in xf86cfg, so
that when that file is changed, there will be no need to updates to
xf86cfg/loader.c. But xf86cfg does not need everything, just enough
symbols to run the Setup from the module, and the AvailableOptions
functions.
> gcc -o xf86cfg -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes
>-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
>-L../../../../../exports/lib accessx.o cards.o config.o card-cfg.o
>help.o interface.o keyboard-cfg.o libc_wrapper.o loader.o monitor-cfg.o
> mouse-cfg.o options.o screen-cfg.o screen.o startx.o
>stubs.o vidmode.o xf86config.o -lxkbui -lxkbfile -lxf86config -lXxf86misc
> -lXxf86vm -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE
> -lXpm -L../loader -lxloader -L../dummylib -ldummy -rdynamic -ldl -lXext -lX11
>-lm -Wl,-rpath-link,../../../../../exports/lib
> ../loader/libxloader.a(loader.o): In function `LoaderInit':
> loader.o(.text+0x8c): undefined reference to `sparcUseHWMulDiv'
> loader.o(.text+0x9c): undefined reference to `SparcLookupTab'
> loader.o(.text+0xa0): undefined reference to `SparcV89LookupTab'
> loader.o(.text+0xa4): undefined reference to `SparcV89LookupTab'
> loader.o(.text+0xbc): undefined reference to `SparcLookupTab'
> collect2: ld returned 1 exit status
>
> These symbols appear to be defined in the following files:
>
> xc/programs/Xserver/hw/xfree86/loader/xf86sym.c:LOOKUP SparcV89LookupTab[] = {
> xc/programs/Xserver/hw/xfree86/loader/xf86sym.c:LOOKUP SparcLookupTab[] = {
> xc/programs/Xserver/hw/xfree86/os-support/bus/sparcPci.c:int sparcUseHWMulDiv(void);
>
> --
> G. Branden Robinson | I must despise the world which does not
> Debian GNU/Linux | know that music is a higher revelation
> [EMAIL PROTECTED] | than all wisdom and philosophy.
> http://www.debian.org/~branden/ | -- Ludwig van Beethoven
Paulo
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: problem building 4.0.1d xf86cfg on SPARC
Paulo C�sar Pereira de Andrade Mon, 30 Oct 2000 05:51:10 -0800
- problem building 4.0.1d xf86cfg on SPARC Branden Robinson
- Paulo C�sar Pereira de Andrade

