Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle 9.2.0.4 and Linux SUSE 9.1 - compile error
Hello,
I have a problem which seems to be common to all of those who try to compile the sample programs that come with the xdk. Actually, I'm trying to compile the sample programs in the following directory: $ORACLE_HOME/xdk/demo/c/parser but I get lots of errors as follows:
cc -o SAXSample -I../../../../xdk/include SAXSample.c
-L../../../../lib -lxml9 -lxsd9 -lcore9 -lnls9 -lunls9 -lcore9 -lnls9
-lcore9 -lnls9 -lnsl -lm -lpthread
../../../../lib/libxml9.a(lpxerr.o)(.text+0x4d9): In function
`LpxErrVPrintf':
: undefined reference to `__ctype_b'
../../../../lib/libxml9.a(lpxm.o)(.text+0x37dd): In function
`LpxmA2L':
: undefined reference to `__ctype_b'
../../../../lib/libxml9.a(lpxm.o)(.text+0x38f9): In function
`LpxmA2UL':
: undefined reference to `__ctype_b'
../../../../lib/libxml9.a(lpxpar.o)(.text+0xae5): In function
`LpxParseAttrList':
: undefined reference to `__ctype_b'
../../../../lib/libxml9.a(lpxpar.o)(.text+0x1fa6): In function
`LpxParseMultiAttrList':
: undefined reference to `__ctype_b'
../../../../lib/libxml9.a(lpxpar.o)(.text+0x2709): more undefined
references to `__ctype_b' follow
../../../../lib/libcore9.a(lstclo.o)(.text+0x52): In function
`lstclo':
: undefined reference to `__ctype_tolower'
../../../../lib/libcore9.a(lstclo.o)(.text+0x6f): In function
`lstclo':
: undefined reference to `__ctype_tolower'
and so on.
I have read posts across several forums but it still is not clear to
me what the cause is.
Do I have to install any patch or something?
Thanks in advance Received on Fri Feb 18 2005 - 05:44:42 CST