well, if you got it to actually parse, u are ahead of me! On Thu, 28 Feb 2002, Christian Kruse wrote:
> Hi, > > I tried to compiler Xerces-C on my FreeBSD 4.5 system. It worked with ICU -ticu > and -tIconvFBSD, but when compiling the examples I get the following warnings: > > /usr/lib/libc_r.so.4: WARNING! setkey(3) not present in the system! > /usr/lib/libc_r.so.4: warning: this program uses gets(), which is unsafe. > /usr/lib/libc_r.so.4: warning: mktemp() possibly used unsafely; consider using >mkstemp() > /usr/lib/libc_r.so.4: WARNING! des_setkey(3) not present in the system! > /usr/lib/libc_r.so.4: WARNING! encrypt(3) not present in the system! > /usr/lib/libc_r.so.4: warning: tmpnam() possibly used unsafely; consider using >mkstemp() > /usr/lib/libc_r.so.4: warning: this program uses f_prealloc(), which is not >recommended. > /usr/lib/libc_r.so.4: WARNING! des_cipher(3) not present in the system! > /usr/lib/libc_r.so.4: warning: tempnam() possibly used unsafely; consider using >mkstemp() the warnings are not a problem, imho. they are a 'security warning'. other apps will inspire the linker to emit this warning too. > The binary works fine, but it core dumps after the 'return 0' at the end of > the samples. Can anybody help me with it? I don't know why it core dumps... well, as i said above, when i built xerces on my 4.4 box, it ran the samples, but never seemd to parse the document. i would suggest checking that you built a debug version ( was compiled with -g ) and then if it's a debug version, checking the core dump with gdb. i think the command line would be: gdb xercesapp xercesapp.core then when it finishes loading, type: bt and then look at the results, it will say which line in which function caused the core dump > Greets, > CK > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
