Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121954 - kdrive-6.6.1 does not compile
Summary: kdrive-6.6.1 does not compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 03:01 UTC by Björn Ruberg
Modified: 2006-04-20 14:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Ruberg 2006-02-07 03:01:24 UTC
(first a big 'thank you' to spyderous for putting a new kdrive ebuild into portage)

Well, I tried to compile the kdrive-6.6.1_preXXX out of portage, but wasn't very succesful.
Before I tried it, I updated all the modular X stuff to the latest available versions.
So, here is the error when I try to compile kdrive:

make[3]: Entering directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive/linux'
if arm-softfloat-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../record -I../../../render -I../../../randr -I../../../xfixes -I../../../damageext -I../../../composite                        -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT   -D_BSD_SOURCE -I../../../include -I../../../Xext    -Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -MT agp.o -MD -MP -MF ".deps/agp.Tpo" -c -o agp.o agp.c; \
then mv -f ".deps/agp.Tpo" ".deps/agp.Po"; else rm -f ".deps/agp.Tpo"; exit 1; fi
if arm-softfloat-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../record -I../../../render -I../../../randr -I../../../xfixes -I../../../damageext -I../../../composite                        -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT   -D_BSD_SOURCE -I../../../include -I../../../Xext    -Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -MT bus.o -MD -MP -MF ".deps/bus.Tpo" -c -o bus.o bus.c; \
then mv -f ".deps/bus.Tpo" ".deps/bus.Po"; else rm -f ".deps/bus.Tpo"; exit 1; fi
if arm-softfloat-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../record -I../../../render -I../../../randr -I../../../xfixes -I../../../damageext -I../../../composite                        -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT   -D_BSD_SOURCE -I../../../include -I../../../Xext    -Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -MT keyboard.o -MD -MP -MF ".deps/keyboard.Tpo" -c -o keyboard.o keyboard.c; \
then mv -f ".deps/keyboard.Tpo" ".deps/keyboard.Po"; else rm -f ".deps/keyboard.Tpo"; exit 1; fi
if arm-softfloat-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../record -I../../../render -I../../../randr -I../../../xfixes -I../../../damageext -I../../../composite                        -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT   -D_BSD_SOURCE -I../../../include -I../../../Xext    -Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -MT linux.o -MD -MP -MF ".deps/linux.Tpo" -c -o linux.o linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Po"; else rm -f ".deps/linux.Tpo"; exit 1; fi
if arm-softfloat-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../record -I../../../render -I../../../randr -I../../../xfixes -I../../../damageext -I../../../composite                        -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT   -D_BSD_SOURCE -I../../../include -I../../../Xext    -Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -MT mouse.o -MD -MP -MF ".deps/mouse.Tpo" -c -o mouse.o mouse.c; \
then mv -f ".deps/mouse.Tpo" ".deps/mouse.Po"; else rm -f ".deps/mouse.Tpo"; exit 1; fi
if arm-softfloat-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../record -I../../../render -I../../../randr -I../../../xfixes -I../../../damageext -I../../../composite                        -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT   -D_BSD_SOURCE -I../../../include -I../../../Xext    -Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -MT evdev.o -MD -MP -MF ".deps/evdev.Tpo" -c -o evdev.o evdev.c; \
then mv -f ".deps/evdev.Tpo" ".deps/evdev.Po"; else rm -f ".deps/evdev.Tpo"; exit 1; fi
evdev.c:62: error: field `absinfo' has incomplete type
evdev.c: In function `EvdevRead':
evdev.c:119: error: `EV_SYN' undeclared (first use in this function)
evdev.c:119: error: (Each undeclared identifier is reported only once
evdev.c:119: error: for each function it appears in.)
make[3]: *** [evdev.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw'
make: *** [all-recursive] Error 1

After this, the build does not die but starts installing.
(missing || die in the ebuild?)

Here is my systeminfo:
root@poodle:/# emerge info
Portage 2.0.53 (uclibc/arm/2.4, gcc-3.4.5, uclibc-0.9.28-r0, 2.4.18-rmk7-pxa3-embedix armv5tel)
=================================================================
System uname: 2.4.18-rmk7-pxa3-embedix armv5tel Intel XScale-PXA250 rev 4 (v5l)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="arm"
AUTOCLEAN="yes"
CBUILD="arm-softfloat-linux-uclibc"
CFLAGS="-Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer"
CHOST="arm-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg nodoc noinfo noman sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/zportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm X aac apm avi bash-completion bitmap-fonts bzip2 directfb divx4linux expat fbcon fbdev ffmpeg flac freetype gif gtk gtk2 imlib2 jpeg libwww mad matroska mp3 mpeg ncurses nocxx oss pcmcia python readline truetype truetype-fonts type1 type1-fonts uclibc udev usb vcd vorbis wxwindows zlib video_cards_fbdev input_devices_mouse input_devices_keyboard input_devices_touchscreen userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS


Well, perhaps someone can confirm this on x86 or so.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 03:05:57 UTC
Well, this hasn't ever seen arm keyword, so... 
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-07 03:25:08 UTC
Run this and see what you get:

$ grep -r EV_SYN /usr/include/linux/input.h
#define EV_SYN                  0x00
        input_event(dev, EV_SYN, SYN_REPORT, 0);
Comment 3 Björn Ruberg 2006-02-07 04:17:58 UTC
Okay, I had to define some other stuff in input.h and now it compiles over this point.
Probably the reason for the problem are the old linux-headers I have to use because of the old kernel.
But as you probably don't support 2.4.18 kernels, this is not your problem.

I now have another error now, that might come from wrong command-line options (missing include of xdmcp libs?) and is not related to the error above:

arm-softfloat-linux-uclibc-gcc -Os -march=armv5te -mtune=xscale -fomit-frame-pointer -ftracer -Wl,-O1 -Wl,-z -Wl,now -o Xfbdev fbinit.o  libfbdev.a ../../../dix/libdix.a ../../../os/libos.a ../../../hw/kdrive/src/libkdrive.a ../../../fb/libfb.a ../../../mi/libmi.a ../../../Xext/libXext.a ../../../record/librecord.a ../../../render/librender.a ../../../randr/librandr.a ../../../xfixes/libxfixes.a ../../../damageext/libdamageext.a ../../../composite/libcomposite.a ../../../miext/damage/libdamage.a ../../../miext/shadow/libshadow.a ../../../dix/libxpstubs.a ../../../hw/kdrive/linux/liblinux.a -lz /usr/lib/libts.so -ldl -lm
../../../dix/libdix.a(main.o): In function `main':
main.c:(.text+0x1f4): undefined reference to `InitGlyphCaching'
main.c:(.text+0x210): undefined reference to `ResetFontPrivateIndex'
../../../dix/libdix.a(dispatch.o): In function `ProcQueryTextExtents':
dispatch.c:(.text+0x1b30): undefined reference to `QueryTextExtents'
../../../dix/libdix.a(dixfonts.o): In function `CloseFont':
dixfonts.c:(.text+0x2d8): undefined reference to `RemoveCachedFontPattern'
../../../dix/libdix.a(dixfonts.o): In function `doOpenFont':
dixfonts.c:(.text+0x71c): undefined reference to `CacheFontPattern'
../../../dix/libdix.a(dixfonts.o): In function `OpenFont':
dixfonts.c:(.text+0x828): undefined reference to `FindCachedFontPattern'
../../../dix/libdix.a(dixfonts.o): In function `doListFontsAndAliases':
dixfonts.c:(.text+0x10dc): undefined reference to `AddFontNamesName'
dixfonts.c:(.text+0x122c): undefined reference to `FreeFontNames'
../../../dix/libdix.a(dixfonts.o): In function `ListFonts':
dixfonts.c:(.text+0x12ec): undefined reference to `MakeFontNamesRecord'
../../../dix/libdix.a(dixfonts.o): In function `SetFontPathElements':
dixfonts.c:(.text+0x2938): undefined reference to `EmptyFontPatternCache'
../../../dix/libdix.a(dixfonts.o): In function `InitFonts':
dixfonts.c:(.text+0x2c58): undefined reference to `MakeFontPatternCache'
dixfonts.c:(.text+0x2c64): undefined reference to `BuiltinRegisterFpeFunctions'
dixfonts.c:(.text+0x2c68): undefined reference to `FontFileRegisterFpeFunctions'
dixfonts.c:(.text+0x2c70): undefined reference to `fs_register_fpe_functions'
../../../dix/libdix.a(dixfonts.o): In function `FreeFonts':
dixfonts.c:(.text+0x2fc0): undefined reference to `FreeFontPatternCache'
../../../os/libos.a(auth.o): In function `CheckAuthorization':
auth.c:(.text+0x1a8): undefined reference to `XauReadAuth'
auth.c:(.text+0x200): undefined reference to `XauDisposeAuth'
../../../os/libos.a(utils.o): In function `ProcessCommandLine':
utils.c:(.text+0xc00): undefined reference to `ParseGlyphCachingMode'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationValidator':
xdmauth.c:(.text+0x1c): undefined reference to `XdmcpUnwrap'
xdmauth.c:(.text+0x3c): undefined reference to `XdmcpDecrementKey'
xdmauth.c:(.text+0x4c): undefined reference to `XdmcpCompareKeys'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationGenerator':
xdmauth.c:(.text+0x84): undefined reference to `XdmcpAllocARRAY8'
xdmauth.c:(.text+0x9c): undefined reference to `XdmcpWrap'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationAddAuth':
xdmauth.c:(.text+0xd8): undefined reference to `XdmcpUnwrap'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationInit':
xdmauth.c:(.text+0x240): undefined reference to `XdmcpGenerateKey'
../../../os/libos.a(xdmauth.o): In function `XdmAuthorizationValidate':
xdmauth.c:(.text+0x350): undefined reference to `XdmcpCompareKeys'
xdmauth.c:(.text+0x468): undefined reference to `XdmcpCompareKeys'
../../../os/libos.a(xdmauth.o): In function `XdmCheckCookie':
xdmauth.c:(.text+0x6fc): undefined reference to `XdmcpUnwrap'
../../../os/libos.a(xdmauth.o): In function `XdmToID':
xdmauth.c:(.text+0x810): undefined reference to `XdmcpUnwrap'
../../../os/libos.a(xdmauth.o): In function `XdmRemoveCookie':
xdmauth.c:(.text+0x8fc): undefined reference to `XdmcpCompareKeys'
xdmauth.c:(.text+0x928): undefined reference to `XdmcpCompareKeys'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterManufacturerDisplayID':
xdmcp.c:(.text+0x100): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x10c): undefined reference to `XdmcpAllocARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterAuthentication':
xdmcp.c:(.text+0x15c): undefined reference to `XdmcpAllocARRAY8'
xdmcp.c:(.text+0x170): undefined reference to `XdmcpAllocARRAY8'
xdmcp.c:(.text+0x1c8): undefined reference to `XdmcpReallocARRAYofARRAY8'
xdmcp.c:(.text+0x1e4): undefined reference to `XdmcpReallocARRAYofARRAY8'
xdmcp.c:(.text+0x1f4): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x204): undefined reference to `XdmcpDisposeARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpSetAuthentication':
xdmcp.c:(.text+0x35c): undefined reference to `XdmcpARRAY8Equal'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterConnection':
xdmcp.c:(.text+0x404): undefined reference to `XdmcpDisposeARRAY16'
xdmcp.c:(.text+0x40c): undefined reference to `XdmcpDisposeARRAYofARRAY8'
xdmcp.c:(.text+0x470): undefined reference to `XdmcpReallocARRAY16'
xdmcp.c:(.text+0x48c): undefined reference to `XdmcpReallocARRAYofARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterAuthorizations':
xdmcp.c:(.text+0x51c): undefined reference to `XdmcpDisposeARRAYofARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterAuthorization':
xdmcp.c:(.text+0x568): undefined reference to `XdmcpReallocARRAYofARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterDisplayClass':
xdmcp.c:(.text+0x5e4): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x5f0): undefined reference to `XdmcpAllocARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpCheckAuthentication':
xdmcp.c:(.text+0x77c): undefined reference to `XdmcpARRAY8Equal'
../../../os/libos.a(xdmcp.o): In function `send_packet':
xdmcp.c:(.text+0x920): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0x92c): undefined reference to `XdmcpWriteARRAYofARRAY8'
xdmcp.c:(.text+0x964): undefined reference to `XdmcpFlush'
xdmcp.c:(.text+0xaa0): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0xab0): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xae0): undefined reference to `XdmcpWriteCARD16'
xdmcp.c:(.text+0xaec): undefined reference to `XdmcpWriteARRAY16'
xdmcp.c:(.text+0xaf8): undefined reference to `XdmcpWriteARRAYofARRAY8'
xdmcp.c:(.text+0xb04): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0xb10): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0xb18): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xb24): undefined reference to `XdmcpWriteARRAYofARRAY8'
xdmcp.c:(.text+0xb30): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0xb4c): undefined reference to `XdmcpFlush'
xdmcp.c:(.text+0xb88): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0xba0): undefined reference to `XdmcpWriteCARD32'
xdmcp.c:(.text+0xbb0): undefined reference to `XdmcpWriteCARD16'
xdmcp.c:(.text+0xbbc): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0xc00): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0xc10): undefined reference to `XdmcpWriteCARD16'
xdmcp.c:(.text+0xc20): undefined reference to `XdmcpWriteCARD32'
xdmcp.c:(.text+0xc44): undefined reference to `XdmcpFlush'
../../../os/libos.a(xdmcp.o): In function `XdmcpWakeupHandler':
xdmcp.c:(.text+0x118c): undefined reference to `XdmcpFill'
xdmcp.c:(.text+0x11d4): undefined reference to `XdmcpReadHeader'
xdmcp.c:(.text+0x124c): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1264): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x126c): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x1280): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1294): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1328): undefined reference to `XdmcpReadCARD32'
xdmcp.c:(.text+0x134c): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1360): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1374): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1388): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1420): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x1428): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x1430): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x145c): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1474): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x147c): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x1490): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x14a4): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1518): undefined reference to `XdmcpReadCARD32'
xdmcp.c:(.text+0x1568): undefined reference to `XdmcpReadCARD32'
xdmcp.c:(.text+0x1580): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x15bc): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x15e4): undefined reference to `XdmcpReadCARD8'
xdmcp.c:(.text+0x15f8): undefined reference to `XdmcpReadCARD32'
../../../mi/libmi.a(mipolytext.o): In function `miPolyText':
mipolytext.c:(.text+0x40): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miPolyText8':
mipolytext.c:(.text+0x100): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miPolyText16':
mipolytext.c:(.text+0x1cc): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miImageText':
mipolytext.c:(.text+0x28c): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miImageText8':
mipolytext.c:(.text+0x34c): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o):mipolytext.c:(.text+0x3dc): more undefined references to `GetGlyphs' follow
../../../miext/damage/libdamage.a(damage.o): In function `damageDamageChars':
damage.c:(.text+0x26bc): undefined reference to `QueryGlyphExtents'
../../../miext/damage/libdamage.a(damage.o): In function `damageText':
damage.c:(.text+0x27cc): undefined reference to `GetGlyphs'
collect2: ld returned 1 exit status
make[3]: *** [Xfbdev] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive/fbdev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw'
make: *** [all-recursive] Error 1
Comment 4 Priit Laes (IRC: plaes) 2006-03-14 01:56:22 UTC
It also fails on x86 with standard glibc-2.4 too. Could it be later updated so Xephyr and possibly other apps are built too?

make[3]: Entering directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive/fbdev'
/bin/sh ../../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -Os -march=pentium4 -fomit-frame-pointer -pipe  -Wl,-z,now -o Xfbdev  fbinit.o libfbdev.a ../../../dix/libdix.a ../../../os/libos.a ../../../hw/kdrive/src/libkdrive.a ../../../hw/kdrive/linux/liblinux.a                           ../../../fb/libfb.a ../../../mi/libmi.a ../../../Xext/libXext.a ../../../record/librecord.a ../../../render/librender.a ../../../randr/librandr.a ../../../xfixes/libxfixes.a ../../../damageext/libdamageext.a ../../../composite/libcomposite.a ../../../miext/damage/libdamage.a                     ../../../miext/shadow/libshadow.a ../../../dix/libxpstubs.a ../../../hw/kdrive/linux/liblinux.a -lm -lz  -lm
i686-pc-linux-gnu-gcc -Os -march=pentium4 -fomit-frame-pointer -pipe -Wl,-z -Wl,now -o Xfbdev fbinit.o  libfbdev.a ../../../dix/libdix.a ../../../os/libos.a ../../../hw/kdrive/src/libkdrive.a ../../../fb/libfb.a ../../../mi/libmi.a ../../../Xext/libXext.a ../../../record/librecord.a ../../../render/librender.a ../../../randr/librandr.a ../../../xfixes/libxfixes.a ../../../damageext/libdamageext.a ../../../composite/libcomposite.a ../../../miext/damage/libdamage.a ../../../miext/shadow/libshadow.a ../../../dix/libxpstubs.a ../../../hw/kdrive/linux/liblinux.a -lz -lm
../../../dix/libdix.a(main.o): In function `main':
main.c:(.text+0x415): undefined reference to `InitGlyphCaching'
main.c:(.text+0x438): undefined reference to `ResetFontPrivateIndex'
../../../dix/libdix.a(dispatch.o): In function `ProcQueryTextExtents':
dispatch.c:(.text+0x3ce9): undefined reference to `QueryTextExtents'
../../../dix/libdix.a(dixfonts.o): In function `FreeFonts':
dixfonts.c:(.text+0x45b): undefined reference to `FreeFontPatternCache'
../../../dix/libdix.a(dixfonts.o): In function `InitFonts':
dixfonts.c:(.text+0x66a): undefined reference to `MakeFontPatternCache'
dixfonts.c:(.text+0x674): undefined reference to `BuiltinRegisterFpeFunctions'
dixfonts.c:(.text+0x679): undefined reference to `FontFileRegisterFpeFunctions'
../../../dix/libdix.a(dixfonts.o): In function `CloseFont':
dixfonts.c:(.text+0xce7): undefined reference to `RemoveCachedFontPattern'
../../../dix/libdix.a(dixfonts.o): In function `doListFontsAndAliases':
dixfonts.c:(.text+0x1490): undefined reference to `AddFontNamesName'
dixfonts.c:(.text+0x1806): undefined reference to `FreeFontNames'
../../../dix/libdix.a(dixfonts.o): In function `ListFonts':
dixfonts.c:(.text+0x18a3): undefined reference to `MakeFontNamesRecord'
../../../dix/libdix.a(dixfonts.o): In function `SetFontPathElements':
dixfonts.c:(.text+0x1e59): undefined reference to `EmptyFontPatternCache'
../../../dix/libdix.a(dixfonts.o): In function `doOpenFont':
dixfonts.c:(.text+0x2316): undefined reference to `CacheFontPattern'
../../../dix/libdix.a(dixfonts.o): In function `OpenFont':
dixfonts.c:(.text+0x23fe): undefined reference to `FindCachedFontPattern'
../../../dix/libdix.a(dixfonts.o): In function `InitFonts':
dixfonts.c:(.text+0x67e): undefined reference to `fs_register_fpe_functions'
../../../os/libos.a(auth.o): In function `CheckAuthorization':
auth.c:(.text+0x305): undefined reference to `XauDisposeAuth'
auth.c:(.text+0x30c): undefined reference to `XauReadAuth'
../../../os/libos.a(utils.o): In function `ProcessCommandLine':
utils.c:(.text+0xf5f): undefined reference to `ParseGlyphCachingMode'
../../../os/libos.a(xdmauth.o): In function `XdmRemoveCookie':
xdmauth.c:(.text+0x7a): undefined reference to `XdmcpCompareKeys'
xdmauth.c:(.text+0x8a): undefined reference to `XdmcpCompareKeys'
../../../os/libos.a(xdmauth.o): In function `XdmAuthorizationValidate':
xdmauth.c:(.text+0x16e): undefined reference to `XdmcpCompareKeys'
xdmauth.c:(.text+0x300): undefined reference to `XdmcpCompareKeys'
../../../os/libos.a(xdmauth.o): In function `XdmToID':
xdmauth.c:(.text+0x3a6): undefined reference to `XdmcpUnwrap'
../../../os/libos.a(xdmauth.o): In function `XdmCheckCookie':
xdmauth.c:(.text+0x40c): undefined reference to `XdmcpUnwrap'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationInit':
xdmauth.c:(.text+0x5e0): undefined reference to `XdmcpGenerateKey'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationAddAuth':
xdmauth.c:(.text+0x621): undefined reference to `XdmcpUnwrap'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationGenerator':
xdmauth.c:(.text+0x66a): undefined reference to `XdmcpAllocARRAY8'
xdmauth.c:(.text+0x684): undefined reference to `XdmcpWrap'
../../../os/libos.a(xdmauth.o): In function `XdmAuthenticationValidator':
xdmauth.c:(.text+0x6ab): undefined reference to `XdmcpUnwrap'
xdmauth.c:(.text+0x6c2): undefined reference to `XdmcpDecrementKey'
xdmauth.c:(.text+0x6d6): undefined reference to `XdmcpCompareKeys'
../../../os/libos.a(xdmcp.o): In function `XdmcpCheckAuthentication':
xdmcp.c:(.text+0xa1): undefined reference to `XdmcpARRAY8Equal'
../../../os/libos.a(xdmcp.o): In function `XdmcpSetAuthentication':
xdmcp.c:(.text+0xf7): undefined reference to `XdmcpARRAY8Equal'
../../../os/libos.a(xdmcp.o): In function `send_packet':
xdmcp.c:(.text+0x253): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0x262): undefined reference to `XdmcpWriteARRAYofARRAY8'
xdmcp.c:(.text+0x285): undefined reference to `XdmcpFlush'
xdmcp.c:(.text+0x2b0): undefined reference to `XdmcpFlush'
xdmcp.c:(.text+0x36b): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0x379): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x391): undefined reference to `XdmcpWriteCARD16'
xdmcp.c:(.text+0x3a0): undefined reference to `XdmcpWriteARRAY16'
xdmcp.c:(.text+0x3af): undefined reference to `XdmcpWriteARRAYofARRAY8'
xdmcp.c:(.text+0x3bf): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0x3cd): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0x3d3): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x3e2): undefined reference to `XdmcpWriteARRAYofARRAY8'
xdmcp.c:(.text+0x3f1): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0x40c): undefined reference to `XdmcpFlush'
xdmcp.c:(.text+0x450): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0x46a): undefined reference to `XdmcpWriteCARD32'
xdmcp.c:(.text+0x47c): undefined reference to `XdmcpWriteCARD16'
xdmcp.c:(.text+0x48b): undefined reference to `XdmcpWriteARRAY8'
xdmcp.c:(.text+0x4bb): undefined reference to `XdmcpWriteHeader'
xdmcp.c:(.text+0x4cd): undefined reference to `XdmcpWriteCARD16'
xdmcp.c:(.text+0x4dd): undefined reference to `XdmcpWriteCARD32'
xdmcp.c:(.text+0x502): undefined reference to `XdmcpFlush'
../../../os/libos.a(xdmcp.o): In function `XdmcpWakeupHandler':
xdmcp.c:(.text+0x65f): undefined reference to `XdmcpFill'
xdmcp.c:(.text+0x686): undefined reference to `XdmcpReadHeader'
xdmcp.c:(.text+0x6ff): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x71b): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x733): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x79e): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x7ab): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x81e): undefined reference to `XdmcpReadCARD32'
xdmcp.c:(.text+0x83a): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x856): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x872): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x88e): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x935): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x942): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x94f): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x95c): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x99f): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x9b7): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x9cf): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0xa23): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xa30): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xa3d): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xa76): undefined reference to `XdmcpReadCARD32'
xdmcp.c:(.text+0xad9): undefined reference to `XdmcpReadCARD32'
xdmcp.c:(.text+0xaf1): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0xb30): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xb66): undefined reference to `XdmcpReadCARD8'
xdmcp.c:(.text+0xb82): undefined reference to `XdmcpReadCARD32'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterManufacturerDisplayID':
xdmcp.c:(.text+0xe65): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xe70): undefined reference to `XdmcpAllocARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterDisplayClass':
xdmcp.c:(.text+0xea2): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xead): undefined reference to `XdmcpAllocARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterAuthorization':
xdmcp.c:(.text+0xef6): undefined reference to `XdmcpReallocARRAYofARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterAuthentication':
xdmcp.c:(.text+0xf4e): undefined reference to `XdmcpAllocARRAY8'
xdmcp.c:(.text+0xf63): undefined reference to `XdmcpAllocARRAY8'
xdmcp.c:(.text+0xf71): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0xfaf): undefined reference to `XdmcpReallocARRAYofARRAY8'
xdmcp.c:(.text+0xfc8): undefined reference to `XdmcpReallocARRAYofARRAY8'
xdmcp.c:(.text+0x1003): undefined reference to `XdmcpDisposeARRAY8'
xdmcp.c:(.text+0x100d): undefined reference to `XdmcpDisposeARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterAuthorizations':
xdmcp.c:(.text+0x10c6): undefined reference to `XdmcpDisposeARRAYofARRAY8'
../../../os/libos.a(xdmcp.o): In function `XdmcpRegisterConnection':
xdmcp.c:(.text+0x120f): undefined reference to `XdmcpDisposeARRAY16'
xdmcp.c:(.text+0x1219): undefined reference to `XdmcpDisposeARRAYofARRAY8'
xdmcp.c:(.text+0x126f): undefined reference to `XdmcpReallocARRAY16'
xdmcp.c:(.text+0x1288): undefined reference to `XdmcpReallocARRAYofARRAY8'
../../../mi/libmi.a(mipolytext.o): In function `miImageText16':
mipolytext.c:(.text+0x38): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miImageText8':
mipolytext.c:(.text+0xa4): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miImageText':
mipolytext.c:(.text+0x11d): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miPolyText16':
mipolytext.c:(.text+0x1b1): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o): In function `miPolyText8':
mipolytext.c:(.text+0x23b): undefined reference to `GetGlyphs'
../../../mi/libmi.a(mipolytext.o):mipolytext.c:(.text+0x2ca): more undefined references to `GetGlyphs' follow
../../../miext/damage/libdamage.a(damage.o): In function `damageDamageChars':
damage.c:(.text+0x2519): undefined reference to `QueryGlyphExtents'
../../../miext/damage/libdamage.a(damage.o): In function `damageText':
damage.c:(.text+0x2714): undefined reference to `GetGlyphs'
collect2: ld returned 1 exit status
make[3]: *** [Xfbdev] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive/fbdev'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw/kdrive'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdrive-6.6.1_pre20050820/work/xserver/hw'
make: *** [install-recursive] Error 1
 * Making X servers suid ...
find: /var/tmp/portage/kdrive-6.6.1_pre20050820/image//usr/bin: No such file or directory
chmod: missing operand after `u+s'
Try `chmod --help' for more information.                                  [ ok ]>>> Completed installing kdrive-6.6.1_pre20050820 into /var/tmp/portage/kdrive-6.6.1_pre20050820/image/

man:
>>> Merging x11-base/kdrive-6.6.1_pre20050820 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/startxkd
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
>>> Original instance of package unmerged safely.
 * You may edit /usr/bin/startxkd to your preferences.
 * Xvesa is the default.
 * Or you can use something like:
 * "xinit -- /usr/bin/Xvesa :0 -screen 1280x1024x16 -nolisten tcp".
 * Your ~/.xinitrc will be used if you use xinit.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-14 13:54:11 UTC
The kdrive code has moved into the main xorg repository, so this ebuild may get merged into xorg-server at some point. Not sure yet.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-20 14:09:13 UTC
This isn't going to get fixed.

I've got an experimental xorg-server ebuild that builds kdrive servers. Once it's working satisfactorily, I will commit. Keep an eye out for a new USE=kdrive and VIDEO_CARDS settings in the latest xorg-server.