RE: Link problem on Red Hat 9

2004-01-15 Thread Steel Bash
Ok I finally got it working. What I did is download the latest source version of xerces (2.4.0 I guess), build the library and recompile with this and it seems to be working on my simple example. The only difference is that on the g++ command I have to use -I/usr/local/xerces/include, it somehow

RE: Link problem on Red Hat 9

2004-01-15 Thread Steel Bash
Ok I finally got it working. What I did is download the latest source version of xerces (2.4.0 I guess), build the library and recompile with this and it seems to be working on my simple example. The only difference is that on the g++ command I have to use -I/usr/local/xerces/include, it somehow

Re: Link problem on Red Hat 9

2004-01-15 Thread Steel Bash
Sorry I think I did a typo when writting the mail. Anyway if I use g++ -I/usr/include/xercesc testXML.c -lxerces-c -o testXML I still have the same problem. -- Initial Header --- From : "Jeroen N. Witmond" <[EMAIL PROTECTED]> To : [EMAIL PROTECTED] Cc : D

Re: Link problem on Red Hat 9

2004-01-15 Thread Steel Bash
4 11:26:50 +0100 >Subject : Re: Link problem on Red Hat 9 > >At 11.21 15/01/2004 +0100, Steel Bash wrote: > >Hi all, > > > >I'm moving my application from red hat 7.2 to red hat 9 and I'm facing > >probleme to get it compiled. > > > >[...] > >

Re: Link problem on Red Hat 9

2004-01-15 Thread Steel Bash
15/01/2004 +0100, Steel Bash wrote: >Hi all, > >I'm moving my application from red hat 7.2 to red hat 9 and I'm facing >probleme to get it compiled. > >[...] >Here is how I try to compile it >g++ -I/usr/include/xercesc testXML.C -lxerces-c -o testXML Shouldn't y

Link problem on Red Hat 9

2004-01-15 Thread Steel Bash
Hi all, I'm moving my application from red hat 7.2 to red hat 9 and I'm facing probleme to get it compiled. Here is the code #include int main(int argc, char * argv[]) { //std::string str="Trying to compile some XML stuff"; //std::cout << str << std::endl; // Initializ

Re: Seg fault when receiving cyrillic characters

2004-01-02 Thread Steel Bash
e XML document; but the document seems to be Unicode, but you are using strlen to compute its size. You should enter the size (in bytes) of the buffer, and not relying on strlen (that works only on non-Unicode buffers) Alberto At 14.07 02/01/2004 +0100, Steel Bash wrote: >Hello, > >W

Seg fault when receiving cyrillic characters

2004-01-02 Thread Steel Bash
Hello, We've developped an application that works great with latin characters. We need now to make it working with languages such as russian or japanese. For now when the parser receives a russian characters we have a segmentation fault. What do we need to do to make the parser handling unicode