test build fails: undefined reference to `__ctype_b'

Judith Lebzelter judith at osdl.org
Mon Aug 15 21:32:14 EEST 2005


Hi again;

I think I've narrowed down the error causing the failure to build on my 
Gentoo:

In '/root/tet/xts5/tset/Xproto/gtkybrdmpp':

gtkybrdmpp # make
cc -L/usr/X11R6/lib -o Test Test.o  /root/tet/lib/tet3/tcm.o  
/root/tet/xts5/lib/libXst.a /root/tet/xts5/lib/libxtest.a 
/root/tet/xts5/lib/libfont.a /root/tet/lib/tet3/libapi.a -lXi -lXtst 
-lXext -lX11
/root/tet/lib/tet3/libapi.a(tcmfuncs.o)(.text+0x85): In function `tet_tcminit':
: undefined reference to `__ctype_b'
/root/tet/lib/tet3/libapi.a(dconfig.o)(.text+0x1b9): In function `tet_config':
: undefined reference to `__ctype_b'
/root/tet/lib/tet3/libapi.a(dresfile.o)(.text+0x80e): In function `tet_vprintf':
: undefined reference to `__ctype_b'
/root/tet/lib/tet3/libapi.a(dresfile.o)(.text+0x1248): In function `tet_msgform':
: undefined reference to `__ctype_b'
/root/tet/lib/tet3/libapi.a(getargs.o)(.text+0x1c): In function `tet_getargs':
: undefined reference to `__ctype_b'
/root/tet/lib/tet3/libapi.a(rescode.o)(.text+0x3b8): more undefined 
references to `__ctype_b' follow
collect2: ld returned 1 exit status
make: *** [Test] Error 1


I am running glibc-2.3.4.20041102-r1.  Has this error been a problem with 
this test?  It worked fine with 2.3.2.ds1-21 on Debian.


BTW, if I go into the test directory and type 'make Test',  it does not 
work because none of the variables get set and the make fails (for the 
wrong reason).  I have to add the tetbuild.cfg file to get it to make.  
This seems to be a problem for all the tests.


Thanks,

Judith



More information about the xorg-test mailing list