Subject: xsrc ocmpile error?
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: current-users
Date: 01/04/1999 08:01:59
Hi.
I've compiled current supped 1998/1/2 successfully and try to compile
xsrc tree. But it failed as like bellow:
making all in programs/Xserver/hw/xfree86/accel/et4000w32/cfb.w32...
rm -f w32teblt8.o
gcc -c -O2 -ansi -Dasm=__asm -I. -I../../../../../../../programs/Xserver/cfb -I../../../../../../../programs/Xserver/mfb -I../../../../../../../programs/Xserver/mi -I../../../../../../../programs/Xserver/include -I../../../../../../../exports/include/X11 -I../../../../../../../include/fonts -I../../../../../../../programs/Xserver/hw/xfree86/accel/et4000w32/w32 -I../../../../../../../programs/Xserver/hw/xfree86/vga256/vga -I../../../../../../.. -I../../../../../../../exports/include -DCSRG_BASED -DX_LOCALE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DDPMSExtension -DPIXPRIV -DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV -DXFreeXDGA -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DPSZ=8 w32teblt8.c
In file included from ../../../../../../../programs/Xserver/hw/xfree86/accel/et4000w32/w32/w32itext.h:34,
from w32teblt8.c:49:
../../../../../../../programs/Xserver/hw/xfree86/accel/et4000w32/w32/w32.h:38: compiler.h: No such file or directory
*** Error code 1
I added -I$(XF86SRC)/common to INCLUDES macro in
programs/Xserver/hw/xfree86/accel/et4000w32/cfb.w32/Imakefile and this
error disappeared. But then,
gcc -o XF86_W32 -O2 -ansi -Dasm=__asm -L../../exports/lib ../../programs/Xserver/hw/xfree86/common/XF86_W32.o ../../programs/Xserver/hw/xfree86/accel/et4000w32/w32Conf.o ../../programs/Xserver/hw/xfree86/accel/et4000w32/w32/libw32.a ../../programs/Xserver/hw/xfree86/accel/et4000w32/cfb.w32/libcfb.a ../../programs/Xserver/hw/xfree86/accel/et4000w32/w32/libw32.a ../../programs/Xserver/hw/xfree86/accel/et4000w32/asm/libasm.a ../../programs/Xserver/hw/xfree86/common/xf86Init.o ../../programs/Xserver/hw/xfree86/common/xf86IniExt.o ../../programs/Xserver/hw/xfree86/common/xf86_Option.o ../../programs/Xserver/hw/xfree86/common/libxf86.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/common_hw/libxf86_hw.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a dix/libdix.a os/libos.a ../../lib/Xau/libXau.a ../../lib/Xdmcp/libXdmcp.a ../../exports/lib/libfont.a cfb/!
libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb.a Xi/libxinput.a XIE/dixie/libdixie.a XIE/mixie/libmixie.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a dbe/libdbe.a record/librecord.a PEX5/dipex/dispatch/libdidipex.a PEX5/dipex/swap/libdiswapex.a PEX5/dipex/objects/libdiobpex.a PEX5/dipex/dispatch/libdidipex.a PEX5/ddpex/mi/level4/libddpex4.a PEX5/ddpex/mi/level3/libddpex3.a PEX5/ddpex/mi/shared/libddpexs.a PEX5/ddpex/mi/level2/libddpex2.a PEX5/ddpex/mi/level1/libddpex1.a PEX5/ospex/libospex.a glxStub/libServerGlx.a -L/usr/X11R6/lib -lgnumalloc -lz -lm -li386 -R/usr/X11R6/lib
w32teblt8.o: Undefined symbol `_SWAPL' referenced from text segment
w32teblt8.o: Undefined symbol `_SWAPL' referenced from text segment
w32teblt8.o: Undefined symbol `_SWAPL' referenced from text segment
w32teblt8.o: Undefined symbol `_SWAPL' referenced from text segment
collect2: ld returned 1 exit status
*** Error code 1
Stop.
...
SWAPL macro used in w32teblt8.c but I could't find its definition
anywhere. Is it my own (source file) problem or not?
--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>