Subject: Error building xorg-server from pkgsrc current on NetBSD/alpha 3.0
To: None <pkgsrc-users@netbsd.org>
From: Michael-John Turner <mj@turner.org.za>
List: pkgsrc-users
Date: 03/27/2006 23:32:29
Hi all,
I'm trying to build xorg-server 6.9 from pkgsrc current (updated yesterday)
on a NetBSD/alpha 3.0 system and it dies with an undefined symbol error when
linking the Xorg server:
(drvConf.o(.data+0xa0): undefined reference to `JAMSTUDIO').
Here're the final command and error (apologies for long line length):
/usr/obj/pkg/x11/xorg-server/work/.gcc/bin/gcc -o Xorg -O2 -ansi -Dasm=3D__=
asm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissin=
g-declarations -Wredundant-decls -Wnested-externs -Wundef -L/usr/obj/pkg/x1=
1/xorg-server/work/xc/exports/lib xkb/xf86KillSrv.o xkb/xf86VT.o xkb/xf86Pr=
ivate.o /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/dr=
ivers/drvConf.o /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xf=
ree86/input/drvConf.o /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver=
/hw/xfree86/drivers/libdriver.a /usr/obj/pkg/x11/xorg-server/work/xc/progra=
ms/Xserver/hw/xfree86/ramdac/libramdac.a /usr/obj/pkg/x11/xorg-server/work/=
xc/programs/Xserver/hw/xfree86/ddc/libddc.a /usr/obj/pkg/x11/xorg-server/wo=
rk/xc/programs/Xserver/hw/xfree86/i2c/libi2c.a /usr/obj/pkg/x11/xorg-server=
/work/xc/programs/Xserver/hw/xfree86/xaa/libxaa.a /usr/obj/pkg/x11/xorg-ser=
ver/work/xc/programs/Xserver/hw/xfree86/exa/libexa.a /usr/obj/pkg/x11/xorg-=
server/work/xc/programs/Xserver/hw/xfree86/vgahw/libvgahw.a /usr/obj/pkg/x1=
1/xorg-server/work/xc/programs/Xserver/hw/xfree86/fbdevhw/libfbdevhw.a /usr=
/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/xf8_32bpp/libx=
f8_32bpp.a /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86=
/xf8_16bpp/libxf8_16bpp.a /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xse=
rver/hw/xfree86/xf4bpp/libxf4bpp.a /usr/obj/pkg/x11/xorg-server/work/xc/pro=
grams/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a /usr/obj/pkg/x11/xorg-server/wo=
rk/xc/programs/Xserver/hw/xfree86/shadowfb/libshadowfb.a /usr/obj/pkg/x11/x=
org-server/work/xc/programs/Xserver/hw/xfree86/input/libidriver.a /usr/obj/=
pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/common/xf86Init.o /=
usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/common/xf86=
IniExt.o /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/c=
ommon/libxf86.a /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xf=
ree86/rac/librac.a /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw=
/xfree86/parser/libxf86config.a /usr/obj/pkg/x11/xorg-server/work/xc/progra=
ms/Xserver/hw/xfree86/vbe/libvbe.a /usr/obj/pkg/x11/xorg-server/work/xc/pro=
grams/Xserver/hw/xfree86/os-support/libxf86_os.a /usr/obj/pkg/x11/xorg-serv=
er/work/xc/programs/Xserver/hw/xfree86/int10/libint10.a /usr/obj/pkg/x11/xo=
rg-server/work/xc/programs/Xserver/hw/xfree86/common/libxf86.a miext/shadow=
/libshadow.a dix/libdix.a os/libos.a fb/libfb.a cfb16/libcfb16.a cfb32/libc=
fb32.a cfb/libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a composite/libc=
omposite.a damageext/libdamage.a miext/damage/libdamage.a xfixes/libxfixes.=
a miext/cw/libcw.a Xext/libext.a xkb/libxkb.a os/libos.a Xi/libxinput.a lbx=
/liblbx.a /usr/obj/pkg/x11/xorg-server/work/xc/lib/lbxutil/liblbxutil.a dbe=
/libdbe.a record/librecord.a XTrap/libxtrap.a GL/glx/libglx.a GL/mesa/GLcor=
e/libGLcore.a randr/librandr.a render/librender.a /usr/obj/pkg/x11/xorg-ser=
ver/work/xc/programs/Xserver/hw/xfree86/common/libxf86.a mi/libmi.a /usr/ob=
j/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/scanpci/libscanpc=
i.a /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/os-sup=
port/libxf86_os.a /usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/=
xfree86/ddc/libddc.a -L/usr/obj/pkg/x11/xorg-server/work/.x11-buildlink/lib=
/usr/obj/pkg/x11/xorg-server/work/xc/lib/font/libXfont.a -L/usr/obj/pkg/x1=
1/xorg-server/work/.buildlink/lib -Wl,-R/usr/local/lib dix/libxpstubs.a -Wl=
,-R/usr/local/xorg/lib -I/usr/obj/pkg/x11/xorg-server/work/.buildlink/inclu=
de -lfreetype -lz -lm -lXau -lXdmcp -lalpha=20
/usr/obj/pkg/x11/xorg-server/work/xc/programs/Xserver/hw/xfree86/input/drvC=
onf.o(.data+0xa0): undefined reference to `JAMSTUDIO'
It looks like something related to the jamstudio driver is not being linked
in, but I'm not sure what. I've checked the cf/NetBSD.cf and according to
it the jamstudio driver is supposed to be built,=20
hw/xfree86/input/idriver.list references the jamstudio driver and
input/jamstudio/js_x*.o exist.=20
I'm not that familiar with the xorg build system, so thought I'd post this
here in case someone's seen this one already or can point me in the right
direction before I dig further. I'm using the default package options.
If needed, I can put the .work.log online somewhere.
-mj
--=20
Michael-John Turner | http://weblogs.turner.org.za/mj/
mj@turner.org.za | Open Source in WC ZA - http://www.clug.org.za/