Compiling CINT on MINGW:Errors:

View: New views
2 Messages — Rating Filter:   Alert me  

Compiling CINT on MINGW:Errors:

by Dr. Prasad, B.V.L.S. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I installed readline5.2 and ran the configure script  >>>./configure --arch=mingw --readline=../readline-5.2
then used make: I am getting following errors, can some one help ?
Thank you,
$ make
make -C src
make[1]: Entering directory `/home/pburra/cint/src'
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_debug.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_decl.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_disp.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_dump.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_end.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_error.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_expr.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_fread.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_func.cxx
v6_func.cxx: In function `int G__library_func(G__value*, char*, G__param*, int)':
v6_func.cxx:3864: warning: passing NULL used for non-pointer converting 3 of `void G__letint(G__value*, int, long int)'
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_gcoll.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_global1.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_global2.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_ifunc.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_inherit.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_init.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_input.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_intrpt.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_loadfile.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_macro.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_malloc.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_memtest.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_new.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_newlink.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_oldlink.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_opr.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_parse.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_pause.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_pcode.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_pragma.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_quote.cxx
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_random.cxx
In file included from ../inc/Api.h:25,
                 from v6_random.cxx:27:
../inc/G__ci.h:384: error: `__int64' does not name a type
../inc/G__ci.h:385: error: `__int64' does not name a type
In file included from ../inc/Api.h:25,
                 from v6_random.cxx:27:
../inc/G__ci.h:931: error: `G__int64' does not name a type
../inc/G__ci.h:932: error: `G__uint64' does not name a type
../inc/G__ci.h:1876: error: `G__int64' has not been declared
../inc/G__ci.h:1876: error: ISO C++ forbids declaration of `value' with no type
../inc/G__ci.h:1877: error: `G__uint64' has not been declared
../inc/G__ci.h:1877: error: ISO C++ forbids declaration of `value' with no type
../inc/G__ci.h:1879: error: `G__int64' does not name a type
../inc/G__ci.h:1880: error: `G__uint64' does not name a type
../inc/G__ci.h:1882: error: expected initializer before '*' token
../inc/G__ci.h:1883: error: expected initializer before '*' token
../inc/G__ci.h:2487: error: `G__int64' does not name a type
../inc/G__ci.h:2488: error: `G__uint64' does not name a type
In file included from ../inc/Api.h:44,
                 from v6_random.cxx:27:
../inc/CallFunc.h:85: error: `G__int64' has not been declared
../inc/CallFunc.h:85: error: ISO C++ forbids declaration of `ll' with no type
../inc/CallFunc.h:86: error: `G__uint64' has not been declared
../inc/CallFunc.h:86: error: ISO C++ forbids declaration of `ull' with no type
../inc/CallFunc.h:86: error: `void Cint::G__CallFunc::SetArg(int)' and `void Cint::G__CallFunc::SetArg(int)' cannot be overloaded
../inc/CallFunc.h:88: error: `G__int64' has not been declared
../inc/CallFunc.h:88: error: ISO C++ forbids declaration of `ll' with no type
../inc/CallFunc.h:89: error: `G__uint64' has not been declared
../inc/CallFunc.h:89: error: ISO C++ forbids declaration of `ull' with no type
../inc/CallFunc.h:89: error: `void Cint::G__CallFunc::SetArgRef(int&)' and `void Cint::G__CallFunc::SetArgRef(int&)' cannot be overloaded
../inc/CallFunc.h:99: error: `G__int64' does not name a type
make[1]: *** [v6_random.o] Error 1
make[1]: Leaving directory `/home/pburra/cint/src'
make: *** [libcint.dll] Error 2


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html


Re: Compiling CINT on MINGW:Errors:

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I will try to fix this during the next few days. I will come back to you
once it's fixed.

Cheers, Axel.

On 2008-07-01 01:02, Dr. Prasad, B.V.L.S. wrote:

> I installed readline5.2 and ran the configure script  >>>./configure --arch=mingw --readline=../readline-5.2
> then used make: I am getting following errors, can some one help ?
> Thank you,
> $ make
> make -C src
> make[1]: Entering directory `/home/pburra/cint/src'
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_debug.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_decl.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_disp.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_dump.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_end.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_error.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_expr.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_fread.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_func.cxx
> v6_func.cxx: In function `int G__library_func(G__value*, char*, G__param*, int)':
> v6_func.cxx:3864: warning: passing NULL used for non-pointer converting 3 of `void G__letint(G__value*, int, long int)'
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_gcoll.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_global1.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_global2.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_ifunc.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_inherit.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_init.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_input.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_intrpt.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_loadfile.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_macro.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_malloc.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_memtest.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_new.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_newlink.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_oldlink.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_opr.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_parse.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_pause.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_pcode.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_pragma.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_quote.cxx
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c v6_random.cxx
> In file included from ../inc/Api.h:25,
>                  from v6_random.cxx:27:
> ../inc/G__ci.h:384: error: `__int64' does not name a type
> ../inc/G__ci.h:385: error: `__int64' does not name a type
> In file included from ../inc/Api.h:25,
>                  from v6_random.cxx:27:
> ../inc/G__ci.h:931: error: `G__int64' does not name a type
> ../inc/G__ci.h:932: error: `G__uint64' does not name a type
> ../inc/G__ci.h:1876: error: `G__int64' has not been declared
> ../inc/G__ci.h:1876: error: ISO C++ forbids declaration of `value' with no type
> ../inc/G__ci.h:1877: error: `G__uint64' has not been declared
> ../inc/G__ci.h:1877: error: ISO C++ forbids declaration of `value' with no type
> ../inc/G__ci.h:1879: error: `G__int64' does not name a type
> ../inc/G__ci.h:1880: error: `G__uint64' does not name a type
> ../inc/G__ci.h:1882: error: expected initializer before '*' token
> ../inc/G__ci.h:1883: error: expected initializer before '*' token
> ../inc/G__ci.h:2487: error: `G__int64' does not name a type
> ../inc/G__ci.h:2488: error: `G__uint64' does not name a type
> In file included from ../inc/Api.h:44,
>                  from v6_random.cxx:27:
> ../inc/CallFunc.h:85: error: `G__int64' has not been declared
> ../inc/CallFunc.h:85: error: ISO C++ forbids declaration of `ll' with no type
> ../inc/CallFunc.h:86: error: `G__uint64' has not been declared
> ../inc/CallFunc.h:86: error: ISO C++ forbids declaration of `ull' with no type
> ../inc/CallFunc.h:86: error: `void Cint::G__CallFunc::SetArg(int)' and `void Cint::G__CallFunc::SetArg(int)' cannot be overloaded
> ../inc/CallFunc.h:88: error: `G__int64' has not been declared
> ../inc/CallFunc.h:88: error: ISO C++ forbids declaration of `ll' with no type
> ../inc/CallFunc.h:89: error: `G__uint64' has not been declared
> ../inc/CallFunc.h:89: error: ISO C++ forbids declaration of `ull' with no type
> ../inc/CallFunc.h:89: error: `void Cint::G__CallFunc::SetArgRef(int&)' and `void Cint::G__CallFunc::SetArgRef(int&)' cannot be overloaded
> ../inc/CallFunc.h:99: error: `G__int64' does not name a type
> make[1]: *** [v6_random.o] Error 1
> make[1]: Leaving directory `/home/pburra/cint/src'
> make: *** [libcint.dll] Error 2
>
>
>       __________________________________________________________
> Not happy with your email address?.
> Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
>

LightInTheBox - Buy quality products at wholesale price