Build problem: _XkbStrCaseCmp

Daniel Stone daniel at fooishbar.org
Mon Mar 27 23:51:57 PST 2006


On Tue, Mar 28, 2006 at 03:36:54PM +0800, Wang Zhenyu wrote:
> On 2006.03.27 15:33:29 +0000, Robert Spanton wrote:
> >    I'm  attempting  to  build  Xorg from CVS. I'm using the modular build script in
> >    util/modular/build.sh. However, I get a build error about undefined references to
> >    _XkbStrCaseCmp. I've looked around the source a bit, and can't actually find the
> >    function itself in the source, only its prototype.
> >    The build error I'm getting follows:
> >    ===*snip*===
> >    make[1]: Entering directory `/usr/src/aiglx/cvs/app/setxkbmap'
> >    if    gcc   -DHAVE_CONFIG_H   -I.   -I.   -I.      -I/home/rob/usr-aiglx/include
> >    -D__XKBDEFRULES__='"xorg"'
> >    -DDFLT_XKB_CONFIG_ROOT=\"/home/rob/usr-aiglx/share/X11/xkb\"    -g    -O2    -MT
> >    setxkbmap-setxkbmap.o   -MD   -MP   -MF  ".deps/setxkbmap-setxkbmap.Tpo"  -c  -o
> >    setxkbmap-setxkbmap.o `test -f 'setxkbmap.c' || echo './'`setxkbmap.c; \
> >    then mv -f ".deps/setxkbmap-setxkbmap.Tpo" ".deps/setxkbmap-setxkbmap.Po"; else rm -f
> >    ".deps/setxkbmap-setxkbmap.Tpo"; exit 1; fi
> >    gcc  -g -O2   -o setxkbmap  setxkbmap-setxkbmap.o -L/home/rob/usr-aiglx/lib -lxkbfile
> >    -lX11
> >    /home/rob/usr-aiglx/lib/libxkbfile.so: undefined reference to `_XkbStrCaseCmp'
> >    collect2: ld returned 1 exit status
> >    make[1]: *** [setxkbmap] Error 1
> >    make[1]: Leaving directory `/usr/src/aiglx/cvs/app/setxkbmap'
> >    make: *** [all] Error 2
> >    ===*snip*===
> 
> I've also seen this, here's a patch to compile xorg without xnest ok. 
> Hope Daniel will clean it up at last. 

I fixed this last night in xkbfile, xkbui, and xserver/xorg (XKB DIX
part, Xorg DDX, Xnest DDX, Xgl DDX).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060328/c246cbcf/attachment.pgp>


More information about the xorg mailing list