Menu

#1 Compilation under Limux/gcc not straightforward

Building_issue
open-later
nobody
Compiler (7)
3
2000-09-12
2000-09-01
No

----- Original Message -----
From: ChaTo (Carlos Castillo) <ccastill@dcc.uchile.cl>
To: <ogerardin@vo.lu>
Sent: Saturday, August 26, 2000 1:05 AM
Subject: Compiled XSLTC on Linux

>
> Hi,
>
> First of all: the idea is excellent, and it runs really fast, thanks you.
>
> It took me a while, but i compiled xsltc in Linux.
>
> Instructions folllows:
>
> ------------------------------------------------------------------------
> To compile under Linux (Redhat/6.1)
>
> CHANGES NEEDED:
>
> a) src/Makefile
> CXX=c++
> b) src/depend.sh
> Use "makedepend" method (not compiler method)
> c) src/xslt
> Copy a sun's (ej.: sunOs 5.7) /usr/include/ieefp.h into src/xslt/ieeefp.h
> d) src/xslt/ProcessorState.cpp
> Change <ieeefp.h> to "ieeefp.h"
> e) src/compiler/CompilerState.cpp
> Change "ErrorLevel level" to "ErrorObserver::ErrorLevel"
> Same in CompilerState.h
>
> TO COMPILE
>
> a) cd src; make
>
> TO RUN
>
> a) Proceed as in the instructions, but compile Foo.cpp with:
> c++ Foo.cpp -I${XSLTCDIR}/include -L${XSLTCDIR}/lib -lxsltc -o Foo
> (the parameters's order matters!)
>
> When running "xsltc" there was no problems, but at compile time the
Foo.cpp
> file issued LOTS of warnings, but compiled anyway and was able to parse
> test.xsl and test.xml with no problems.

Discussion

  • Olivier Gerardin

    • priority: 5 --> 3
     
  • Olivier Gerardin

    • assigned_to: ogerardin --> nobody
     
  • Olivier Gerardin

    -partially fixed in 0.4: ieeefp.h removed, ErrorLever changed to ErrorObserver::ErrorLevel, fixed lots of warnings, etc.

    -still need work to avoid the need to manually edit Makefile and depend.sh

     
  • Olivier Gerardin

    • status: open --> open-later
     
  • Nobody/Anonymous

    Logged In: NO

    xml/parser/expat/xmlparse/xmlparse.c: In function `addBinding':

    xml/parser/expat/xmlparse/xmlparse.c:1694: `binding' undeclared (first use in this function)

    xml/parser/expat/xmlparse/xmlparse.c:1694: (Each undeclared identifier is reported only once

    xml/parser/expat/xmlparse/xmlparse.c:1694: for each function it appears in.)

    xml/parser/expat/xmlparse/xmlparse.c:1694: parse error before `)'

    xml/parser/expat/xmlparse/xmlparse.c: In function `initializeEncoding':

    xml/parser/expat/xmlparse/xmlparse.c:1847: warning: comparison is always false due to limited range of data type

    xml/parser/expat/xmlparse/xmlparse.c: In function `poolGrow':

    xml/parser/expat/xmlparse/xmlparse.c:3223: `block' undeclared (first use in this function)

    xml/parser/expat/xmlparse/xmlparse.c:3223: parse error before `)'

    xml/parser/expat/xmlparse/xmlparse.c:3238: parse error before `)'

    make: *** [xml/parser/expat/xmlparse/xmlparse.o] Error 1

     

Log in to post a comment.

MongoDB Logo MongoDB