Error compiling CInt with cygwin

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

Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
i'm trying to compile CInt with cygwin but i have the following errors:

mora@PC26
/cygdrive/y/Eos/Autodiag/AdiagEOS.100/Spy/SWSIMIDE/CInt/cint-5.16.19
$ make
make -C src
make[1]: Entering directory `/cygdrive/y/Eos/Test/
CInt/cint-5.16.19/src'
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c Api.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c Class.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c BaseCls.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c Type.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c DataMbr.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c Method.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c MethodAr.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c CallFunc.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c Typedf.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
G -DG__NOMAKEINFO -c Apiif.cxx
Apiif.cxx: In function `int G__G__API_102_0_8(G__value*, const char*,
G__param*, int)':
Apiif.cxx:78: error: `G__ExceptionWrapper' is not a member of `Cint'
Apiif.cxx: In function `void G__setup_memfuncCint()':
Apiif.cxx:3555: error: `G__ExceptionWrapper' is not a member of `Cint'
make[1]: *** [Apiif.o] Error 1
make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
make: *** [libcint.dll] Error 2


--
Ing. Stefano Mora



Re: Error compiling CInt with cygwin

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

thanks for reporting; it's now fixed in CVS. I'm currently preparing a
new release, and this fix will be part of it.

Cheers, Axel.

Stefano Mora - Eos S.r.l. wrote:

> Hi all,
> i'm trying to compile CInt with cygwin but i have the following errors:
>
> mora@PC26
> /cygdrive/y/Eos/Autodiag/AdiagEOS.100/Spy/SWSIMIDE/CInt/cint-5.16.19
> $ make
> make -C src
> make[1]: Entering directory `/cygdrive/y/Eos/Test/
> CInt/cint-5.16.19/src'
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c Api.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c Class.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c BaseCls.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c Type.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c DataMbr.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c Method.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c MethodAr.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c CallFunc.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c Typedf.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> G -DG__NOMAKEINFO -c Apiif.cxx
> Apiif.cxx: In function `int G__G__API_102_0_8(G__value*, const char*,
> G__param*, int)':
> Apiif.cxx:78: error: `G__ExceptionWrapper' is not a member of `Cint'
> Apiif.cxx: In function `void G__setup_memfuncCint()':
> Apiif.cxx:3555: error: `G__ExceptionWrapper' is not a member of `Cint'
> make[1]: *** [Apiif.o] Error 1
> make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
> make: *** [libcint.dll] Error 2
>
>
> --
> Ing. Stefano Mora
>
>
>


Re: Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I downloaded from cvs the version 5.16.25 (is correct?).
Running the ./configure i have:

mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
$ ./configure
: command not found1:
./configure: line 14: syntax error near unexpected token `&&'
'/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@") \


PS: is there a way to compile with VC6 ??
--
Ing. Stefano Mora


----- Original Message -----
From: "Axel Naumann" <Axel.Naumann@...>
To: "Stefano Mora - Eos S.r.l." <smora@...>
Cc: <cint@...>
Sent: Monday, September 10, 2007 4:29 PM
Subject: Re: [CINT] Error compiling CInt with cygwin


> Hi Stefano,
>
> thanks for reporting; it's now fixed in CVS. I'm currently preparing a
> new release, and this fix will be part of it.
>
> Cheers, Axel.
>
> Stefano Mora - Eos S.r.l. wrote:
> > Hi all,
> > i'm trying to compile CInt with cygwin but i have the following errors:
> >
> > mora@PC26
> > /cygdrive/y/Eos/Autodiag/AdiagEOS.100/Spy/SWSIMIDE/CInt/cint-5.16.19
> > $ make
> > make -C src
> > make[1]: Entering directory `/cygdrive/y/Eos/Test/
> > CInt/cint-5.16.19/src'
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c Api.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c Class.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c BaseCls.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c Type.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c DataMbr.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c Method.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c MethodAr.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c CallFunc.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI
> > G -DG__NOMAKEINFO -c Typedf.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFI

> > G -DG__NOMAKEINFO -c Apiif.cxx
> > Apiif.cxx: In function `int G__G__API_102_0_8(G__value*, const char*,
> > G__param*, int)':
> > Apiif.cxx:78: error: `G__ExceptionWrapper' is not a member of `Cint'
> > Apiif.cxx: In function `void G__setup_memfuncCint()':
> > Apiif.cxx:3555: error: `G__ExceptionWrapper' is not a member of `Cint'
> > make[1]: *** [Apiif.o] Error 1
> > make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
> > make: *** [libcint.dll] Error 2
> >
> >
> > --
> > Ing. Stefano Mora
> >
> >
> >


Re: Error compiling CInt with cygwin

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

Stefano Mora - Eos S.r.l. wrote:
> I downloaded from cvs the version 5.16.25 (is correct?).

Yes.

> Running the ./configure i have:
>
> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> $ ./configure
> : command not found1:
> ./configure: line 14: syntax error near unexpected token `&&'
> '/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@") \

Humm, I don't see this. What does "mount" say? I.e. do you have set
cygwin to unix mode files? Does the part of your configure file really
look like this:

[ "x$1" != "x__have_the_proper_shell@" ] && ( \
uname -a | grep -i sunos > /dev/null \
  && (bash $0 __have_the_proper_shell@ "$@") \
  || (sh $0 __have_the_proper_shell@ "$@" ) \
)


> PS: is there a way to compile with VC6 ??

VC6 is pretty buggy + old, but it might be possible. Also you cannot buy
it anymore, and MSVC8 is free. To use VC6 you'll have to come up with
the proper part in configure (but I cannot guarantee that VC6
understands the current CINT code), or use an older version of CINT
where we still supported VC6.

Cheers, Axel.


Re: Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> > Running the ./configure i have:
> >
> > mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> > $ ./configure
> > : command not found1:
> > ./configure: line 14: syntax error near unexpected token `&&'
> > '/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@") \
>
> Humm, I don't see this. What does "mount" say? I.e. do you have set
> cygwin to unix mode files?

mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
$ mount
C:\Programmi\cygwin\bin on /usr/bin type system (binmode)
C:\Programmi\cygwin\lib on /usr/lib type system (binmode)
C:\Programmi\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
i: on /cygdrive/i type system (binmode,noumount)
j: on /cygdrive/j type system (binmode,noumount)
k: on /cygdrive/k type system (binmode,noumount)
m: on /cygdrive/m type system (binmode,noumount)
p: on /cygdrive/p type system (binmode,noumount)
s: on /cygdrive/s type system (binmode,noumount)
u: on /cygdrive/u type system (binmode,noumount)
y: on /cygdrive/y type system (binmode,noumount)


>Does the part of your configure file really
> look like this:
>[ "x$1" != "x__have_the_proper_shell@" ] && ( \
>uname -a | grep -i sunos > /dev/null \
 > && (bash $0 __have_the_proper_shell@ "$@") \
>  || (sh $0 __have_the_proper_shell@ "$@" ) \
>)

It is.


Regards

--
Ing. Stefano Mora


Re: Error compiling CInt with cygwin

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

do you use cygwin cvs to check it out or wincvs or something similar?
Does "dos2unix configure" fix it?

Axel.

Stefano Mora - Eos S.r.l. wrote:

>>> Running the ./configure i have:
>>>
>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
>>> $ ./configure
>>> : command not found1:
>>> ./configure: line 14: syntax error near unexpected token `&&'
>>> '/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@") \
>> Humm, I don't see this. What does "mount" say? I.e. do you have set
>> cygwin to unix mode files?
>
> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> $ mount
> C:\Programmi\cygwin\bin on /usr/bin type system (binmode)
> C:\Programmi\cygwin\lib on /usr/lib type system (binmode)
> C:\Programmi\cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> d: on /cygdrive/d type system (binmode,noumount)
> i: on /cygdrive/i type system (binmode,noumount)
> j: on /cygdrive/j type system (binmode,noumount)
> k: on /cygdrive/k type system (binmode,noumount)
> m: on /cygdrive/m type system (binmode,noumount)
> p: on /cygdrive/p type system (binmode,noumount)
> s: on /cygdrive/s type system (binmode,noumount)
> u: on /cygdrive/u type system (binmode,noumount)
> y: on /cygdrive/y type system (binmode,noumount)
>
>
>> Does the part of your configure file really
>> look like this:
>> [ "x$1" != "x__have_the_proper_shell@" ] && ( \
>> uname -a | grep -i sunos > /dev/null \
>  > && (bash $0 __have_the_proper_shell@ "$@") \
>>  || (sh $0 __have_the_proper_shell@ "$@" ) \
>> )
>
> It is.
>
>
> Regards
>
> --
> Ing. Stefano Mora
>
>


Re: Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I downloaded by cvs client inside Eclipse IDE.
I have 'dos2unix'-ed the configure file and seems to be ok but now i have
the error on other file:

mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
$ make
make -C src
make[1]: Entering directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
ION
-DG__HAVE_CONFIG -DG__NOMAKEINFO -c Api.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
ION
-DG__HAVE_CONFIG -DG__NOMAKEINFO -c Class.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
ION
-DG__HAVE_CONFIG -DG__NOMAKEINFO -c BaseCls.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
ION
-DG__HAVE_CONFIG -DG__NOMAKEINFO -c Type.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
ION
-DG__HAVE_CONFIG -DG__NOMAKEINFO -c DataMbr.cxx
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
ION
-DG__HAVE_CONFIG -DG__NOMAKEINFO -c Method.cxx
Method.cxx:792: error: no `long int
Cint::G__MethodInfo::GetThisPointerOffset()'
 member function declared in class `Cint::G__MethodInfo'
make[1]: *** [Method.o] Error 1
make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
make: *** [libcint.dll] Error 2

--
Ing. Stefano Mora


----- Original Message -----
From: "Axel Naumann" <Axel.Naumann@...>
To: "Stefano Mora - Eos S.r.l." <smora@...>
Cc: <cint@...>
Sent: Monday, September 10, 2007 5:44 PM
Subject: Re: [CINT] Error compiling CInt with cygwin


> Hi Stefano,
>
> do you use cygwin cvs to check it out or wincvs or something similar?
> Does "dos2unix configure" fix it?
>
> Axel.
>
> Stefano Mora - Eos S.r.l. wrote:
> >>> Running the ./configure i have:
> >>>
> >>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> >>> $ ./configure
> >>> : command not found1:
> >>> ./configure: line 14: syntax error near unexpected token `&&'
> >>> '/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@") \
> >> Humm, I don't see this. What does "mount" say? I.e. do you have set
> >> cygwin to unix mode files?
> >
> > mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> > $ mount
> > C:\Programmi\cygwin\bin on /usr/bin type system (binmode)
> > C:\Programmi\cygwin\lib on /usr/lib type system (binmode)
> > C:\Programmi\cygwin on / type system (binmode)
> > c: on /cygdrive/c type system (binmode,noumount)
> > d: on /cygdrive/d type system (binmode,noumount)
> > i: on /cygdrive/i type system (binmode,noumount)
> > j: on /cygdrive/j type system (binmode,noumount)
> > k: on /cygdrive/k type system (binmode,noumount)
> > m: on /cygdrive/m type system (binmode,noumount)
> > p: on /cygdrive/p type system (binmode,noumount)
> > s: on /cygdrive/s type system (binmode,noumount)
> > u: on /cygdrive/u type system (binmode,noumount)
> > y: on /cygdrive/y type system (binmode,noumount)
> >
> >
> >> Does the part of your configure file really
> >> look like this:
> >> [ "x$1" != "x__have_the_proper_shell@" ] && ( \
> >> uname -a | grep -i sunos > /dev/null \
> >  > && (bash $0 __have_the_proper_shell@ "$@") \
> >>  || (sh $0 __have_the_proper_shell@ "$@" ) \
> >> )
> >
> > It is.
> >
> >
> > Regards
> >
> > --
> > Ing. Stefano Mora
> >
> >


Re: Error compiling CInt with cygwin

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

I can build a fresh checkout of 5.16.25 on cygwin. So I assume that your
check-out didn't work, or you are mixing versions (the path is
cint-5.16.19...). My inc/Method.h has the member function
Cint::G__MethodInfo::GetThisPointerOffset() declared.

Cheers, Axel.

Stefano Mora - Eos S.r.l. wrote:

> I downloaded by cvs client inside Eclipse IDE.
> I have 'dos2unix'-ed the configure file and seems to be ok but now i have
> the error on other file:
>
> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> $ make
> make -C src
> make[1]: Entering directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> ION
> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Api.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> ION
> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Class.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> ION
> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c BaseCls.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> ION
> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Type.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> ION
> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c DataMbr.cxx
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> ION
> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Method.cxx
> Method.cxx:792: error: no `long int
> Cint::G__MethodInfo::GetThisPointerOffset()'
>  member function declared in class `Cint::G__MethodInfo'
> make[1]: *** [Method.o] Error 1
> make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
> make: *** [libcint.dll] Error 2
>
> --
> Ing. Stefano Mora
>
>
> ----- Original Message -----
> From: "Axel Naumann" <Axel.Naumann@...>
> To: "Stefano Mora - Eos S.r.l." <smora@...>
> Cc: <cint@...>
> Sent: Monday, September 10, 2007 5:44 PM
> Subject: Re: [CINT] Error compiling CInt with cygwin
>
>
>> Hi Stefano,
>>
>> do you use cygwin cvs to check it out or wincvs or something similar?
>> Does "dos2unix configure" fix it?
>>
>> Axel.
>>
>> Stefano Mora - Eos S.r.l. wrote:
>>>>> Running the ./configure i have:
>>>>>
>>>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
>>>>> $ ./configure
>>>>> : command not found1:
>>>>> ./configure: line 14: syntax error near unexpected token `&&'
>>>>> '/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@") \
>>>> Humm, I don't see this. What does "mount" say? I.e. do you have set
>>>> cygwin to unix mode files?
>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
>>> $ mount
>>> C:\Programmi\cygwin\bin on /usr/bin type system (binmode)
>>> C:\Programmi\cygwin\lib on /usr/lib type system (binmode)
>>> C:\Programmi\cygwin on / type system (binmode)
>>> c: on /cygdrive/c type system (binmode,noumount)
>>> d: on /cygdrive/d type system (binmode,noumount)
>>> i: on /cygdrive/i type system (binmode,noumount)
>>> j: on /cygdrive/j type system (binmode,noumount)
>>> k: on /cygdrive/k type system (binmode,noumount)
>>> m: on /cygdrive/m type system (binmode,noumount)
>>> p: on /cygdrive/p type system (binmode,noumount)
>>> s: on /cygdrive/s type system (binmode,noumount)
>>> u: on /cygdrive/u type system (binmode,noumount)
>>> y: on /cygdrive/y type system (binmode,noumount)
>>>
>>>
>>>> Does the part of your configure file really
>>>> look like this:
>>>> [ "x$1" != "x__have_the_proper_shell@" ] && ( \
>>>> uname -a | grep -i sunos > /dev/null \
>>>  > && (bash $0 __have_the_proper_shell@ "$@") \
>>>>  || (sh $0 __have_the_proper_shell@ "$@" ) \
>>>> )
>>> It is.
>>>
>>>
>>> Regards
>>>
>>> --
>>> Ing. Stefano Mora
>>>
>>>
>
>


Re: Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, i renamed the old folder and i downloaded the entire branch with cygwin.
That's ok, i'm sorry  :-)  !!
Both dll and exe are larger than msvc ones generated.....
and i see the cygwin.dll depencences.

Is there a way to know which compiler was used to generate exe + dll ?
--
Ing. Stefano Mora


----- Original Message -----
From: "Axel Naumann" <Axel.Naumann@...>
To: "Stefano Mora - Eos S.r.l." <smora@...>
Cc: <cint@...>
Sent: Monday, September 10, 2007 6:19 PM
Subject: Re: [CINT] Error compiling CInt with cygwin


> Hi Stefano,
>
> I can build a fresh checkout of 5.16.25 on cygwin. So I assume that your
> check-out didn't work, or you are mixing versions (the path is
> cint-5.16.19...). My inc/Method.h has the member function
> Cint::G__MethodInfo::GetThisPointerOffset() declared.
>
> Cheers, Axel.
>
> Stefano Mora - Eos S.r.l. wrote:
> > I downloaded by cvs client inside Eclipse IDE.
> > I have 'dos2unix'-ed the configure file and seems to be ok but now i
have
> > the error on other file:
> >
> > mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> > $ make
> > make -C src
> > make[1]: Entering directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> > ION
> > -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Api.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> > ION
> > -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Class.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> > ION
> > -DG__HAVE_CONFIG -DG__NOMAKEINFO -c BaseCls.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> > ION
> > -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Type.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> > ION
> > -DG__HAVE_CONFIG -DG__NOMAKEINFO -c DataMbr.cxx
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT

> > ION
> > -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Method.cxx
> > Method.cxx:792: error: no `long int
> > Cint::G__MethodInfo::GetThisPointerOffset()'
> >  member function declared in class `Cint::G__MethodInfo'
> > make[1]: *** [Method.o] Error 1
> > make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
> > make: *** [libcint.dll] Error 2
> >
> > --
> > Ing. Stefano Mora
> >
> >
> > ----- Original Message -----
> > From: "Axel Naumann" <Axel.Naumann@...>
> > To: "Stefano Mora - Eos S.r.l." <smora@...>
> > Cc: <cint@...>
> > Sent: Monday, September 10, 2007 5:44 PM
> > Subject: Re: [CINT] Error compiling CInt with cygwin
> >
> >
> >> Hi Stefano,
> >>
> >> do you use cygwin cvs to check it out or wincvs or something similar?
> >> Does "dos2unix configure" fix it?
> >>
> >> Axel.
> >>
> >> Stefano Mora - Eos S.r.l. wrote:
> >>>>> Running the ./configure i have:
> >>>>>
> >>>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> >>>>> $ ./configure
> >>>>> : command not found1:
> >>>>> ./configure: line 14: syntax error near unexpected token `&&'
> >>>>> '/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@")
\

> >>>> Humm, I don't see this. What does "mount" say? I.e. do you have set
> >>>> cygwin to unix mode files?
> >>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> >>> $ mount
> >>> C:\Programmi\cygwin\bin on /usr/bin type system (binmode)
> >>> C:\Programmi\cygwin\lib on /usr/lib type system (binmode)
> >>> C:\Programmi\cygwin on / type system (binmode)
> >>> c: on /cygdrive/c type system (binmode,noumount)
> >>> d: on /cygdrive/d type system (binmode,noumount)
> >>> i: on /cygdrive/i type system (binmode,noumount)
> >>> j: on /cygdrive/j type system (binmode,noumount)
> >>> k: on /cygdrive/k type system (binmode,noumount)
> >>> m: on /cygdrive/m type system (binmode,noumount)
> >>> p: on /cygdrive/p type system (binmode,noumount)
> >>> s: on /cygdrive/s type system (binmode,noumount)
> >>> u: on /cygdrive/u type system (binmode,noumount)
> >>> y: on /cygdrive/y type system (binmode,noumount)
> >>>
> >>>
> >>>> Does the part of your configure file really
> >>>> look like this:
> >>>> [ "x$1" != "x__have_the_proper_shell@" ] && ( \
> >>>> uname -a | grep -i sunos > /dev/null \
> >>>  > && (bash $0 __have_the_proper_shell@ "$@") \
> >>>>  || (sh $0 __have_the_proper_shell@ "$@" ) \
> >>>> )
> >>> It is.
> >>>
> >>>
> >>> Regards
> >>>
> >>> --
> >>> Ing. Stefano Mora
> >>>
> >>>
> >
> >


Re: Error compiling CInt with cygwin

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

Stefano Mora - Eos S.r.l. wrote:
> Both dll and exe are larger than msvc ones generated.....
> and i see the cygwin.dll depencences.

Yes, all of that is expected.

> Is there a way to know which compiler was used to generate exe + dll ?

I don't understand your question. Do you mean the compiler used e.g. for
building "cmd.exe"? What are you trying to solve?

Axel.

> --
> Ing. Stefano Mora
>
>
> ----- Original Message -----
> From: "Axel Naumann" <Axel.Naumann@...>
> To: "Stefano Mora - Eos S.r.l." <smora@...>
> Cc: <cint@...>
> Sent: Monday, September 10, 2007 6:19 PM
> Subject: Re: [CINT] Error compiling CInt with cygwin
>
>
>> Hi Stefano,
>>
>> I can build a fresh checkout of 5.16.25 on cygwin. So I assume that your
>> check-out didn't work, or you are mixing versions (the path is
>> cint-5.16.19...). My inc/Method.h has the member function
>> Cint::G__MethodInfo::GetThisPointerOffset() declared.
>>
>> Cheers, Axel.
>>
>> Stefano Mora - Eos S.r.l. wrote:
>>> I downloaded by cvs client inside Eclipse IDE.
>>> I have 'dos2unix'-ed the configure file and seems to be ok but now i
> have
>>> the error on other file:
>>>
>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
>>> $ make
>>> make -C src
>>> make[1]: Entering directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
>>>
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
>>> ION
>>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Api.cxx
>>>
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
>>> ION
>>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Class.cxx
>>>
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
>>> ION
>>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c BaseCls.cxx
>>>
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
>>> ION
>>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Type.cxx
>>>
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
>>> ION
>>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c DataMbr.cxx
>>>
> g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
>>> ION
>>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Method.cxx
>>> Method.cxx:792: error: no `long int
>>> Cint::G__MethodInfo::GetThisPointerOffset()'
>>>  member function declared in class `Cint::G__MethodInfo'
>>> make[1]: *** [Method.o] Error 1
>>> make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
>>> make: *** [libcint.dll] Error 2
>>>
>>> --
>>> Ing. Stefano Mora
>>>
>>>
>>> ----- Original Message -----
>>> From: "Axel Naumann" <Axel.Naumann@...>
>>> To: "Stefano Mora - Eos S.r.l." <smora@...>
>>> Cc: <cint@...>
>>> Sent: Monday, September 10, 2007 5:44 PM
>>> Subject: Re: [CINT] Error compiling CInt with cygwin
>>>
>>>
>>>> Hi Stefano,
>>>>
>>>> do you use cygwin cvs to check it out or wincvs or something similar?
>>>> Does "dos2unix configure" fix it?
>>>>
>>>> Axel.
>>>>
>>>> Stefano Mora - Eos S.r.l. wrote:
>>>>>>> Running the ./configure i have:
>>>>>>>
>>>>>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
>>>>>>> $ ./configure
>>>>>>> : command not found1:
>>>>>>> ./configure: line 14: syntax error near unexpected token `&&'
>>>>>>> '/configure: line 14: `  && (bash $0 __have_the_proper_shell@ "$@")
> \
>>>>>> Humm, I don't see this. What does "mount" say? I.e. do you have set
>>>>>> cygwin to unix mode files?
>>>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
>>>>> $ mount
>>>>> C:\Programmi\cygwin\bin on /usr/bin type system (binmode)
>>>>> C:\Programmi\cygwin\lib on /usr/lib type system (binmode)
>>>>> C:\Programmi\cygwin on / type system (binmode)
>>>>> c: on /cygdrive/c type system (binmode,noumount)
>>>>> d: on /cygdrive/d type system (binmode,noumount)
>>>>> i: on /cygdrive/i type system (binmode,noumount)
>>>>> j: on /cygdrive/j type system (binmode,noumount)
>>>>> k: on /cygdrive/k type system (binmode,noumount)
>>>>> m: on /cygdrive/m type system (binmode,noumount)
>>>>> p: on /cygdrive/p type system (binmode,noumount)
>>>>> s: on /cygdrive/s type system (binmode,noumount)
>>>>> u: on /cygdrive/u type system (binmode,noumount)
>>>>> y: on /cygdrive/y type system (binmode,noumount)
>>>>>
>>>>>
>>>>>> Does the part of your configure file really
>>>>>> look like this:
>>>>>> [ "x$1" != "x__have_the_proper_shell@" ] && ( \
>>>>>> uname -a | grep -i sunos > /dev/null \
>>>>>  > && (bash $0 __have_the_proper_shell@ "$@") \
>>>>>>  || (sh $0 __have_the_proper_shell@ "$@" ) \
>>>>>> )
>>>>> It is.
>>>>>
>>>>>
>>>>> Regards
>>>>>
>>>>> --
>>>>> Ing. Stefano Mora
>>>>>
>>>>>
>>>
>
>


Re: Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> > Both dll and exe are larger than msvc ones generated.....
> > and i see the cygwin.dll depencences.
> Yes, all of that is expected.

 ok, now i will try with mingw and then i will choose the compiler....

> > Is there a way to know which compiler was used to generate exe + dll ?
>
> I don't understand your question. Do you mean the compiler used e.g. for
> building "cmd.exe"? What are you trying to solve?

Sorry, no problem at all, just a curiosity :o)
Cause i run cint and i was asking myself which compiler built it ... i
assumed that the name of compiler was in the initial cint 'banner'.
It reports 'Copyright 1995-2005' but in the README.txt file there is
'1995-2007', the revision is correct.

Thanks a lot !!!!!
 --
Ing. Stefano Mora

> >
> > ----- Original Message -----
> > From: "Axel Naumann" <Axel.Naumann@...>
> > To: "Stefano Mora - Eos S.r.l." <smora@...>
> > Cc: <cint@...>
> > Sent: Monday, September 10, 2007 6:19 PM
> > Subject: Re: [CINT] Error compiling CInt with cygwin
> >
> >
> >> Hi Stefano,
> >>
> >> I can build a fresh checkout of 5.16.25 on cygwin. So I assume that
your

> >> check-out didn't work, or you are mixing versions (the path is
> >> cint-5.16.19...). My inc/Method.h has the member function
> >> Cint::G__MethodInfo::GetThisPointerOffset() declared.
> >>
> >> Cheers, Axel.
> >>
> >> Stefano Mora - Eos S.r.l. wrote:
> >>> I downloaded by cvs client inside Eclipse IDE.
> >>> I have 'dos2unix'-ed the configure file and seems to be ok but now i
> > have
> >>> the error on other file:
> >>>
> >>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> >>> $ make
> >>> make -C src
> >>> make[1]: Entering directory
`/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'
> >>>
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> >>> ION
> >>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Api.cxx
> >>>
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> >>> ION
> >>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Class.cxx
> >>>
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> >>> ION
> >>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c BaseCls.cxx
> >>>
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> >>> ION
> >>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Type.cxx
> >>>
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> >>> ION
> >>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c DataMbr.cxx
> >>>
> >
g++ -I../inc -O2  -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__STD_EXCEPT
> >>> ION
> >>> -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Method.cxx
> >>> Method.cxx:792: error: no `long int
> >>> Cint::G__MethodInfo::GetThisPointerOffset()'
> >>>  member function declared in class `Cint::G__MethodInfo'
> >>> make[1]: *** [Method.o] Error 1
> >>> make[1]: Leaving directory
`/cygdrive/y/Eos/Test/CInt/cint-5.16.19/src'

> >>> make: *** [libcint.dll] Error 2
> >>>
> >>> --
> >>> Ing. Stefano Mora
> >>>
> >>>
> >>> ----- Original Message -----
> >>> From: "Axel Naumann" <Axel.Naumann@...>
> >>> To: "Stefano Mora - Eos S.r.l." <smora@...>
> >>> Cc: <cint@...>
> >>> Sent: Monday, September 10, 2007 5:44 PM
> >>> Subject: Re: [CINT] Error compiling CInt with cygwin
> >>>
> >>>
> >>>> Hi Stefano,
> >>>>
> >>>> do you use cygwin cvs to check it out or wincvs or something similar?
> >>>> Does "dos2unix configure" fix it?
> >>>>
> >>>> Axel.
> >>>>
> >>>> Stefano Mora - Eos S.r.l. wrote:
> >>>>>>> Running the ./configure i have:
> >>>>>>>
> >>>>>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> >>>>>>> $ ./configure
> >>>>>>> : command not found1:
> >>>>>>> ./configure: line 14: syntax error near unexpected token `&&'
> >>>>>>> '/configure: line 14: `  && (bash $0 __have_the_proper_shell@
"$@")

> > \
> >>>>>> Humm, I don't see this. What does "mount" say? I.e. do you have set
> >>>>>> cygwin to unix mode files?
> >>>>> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint-5.16.19
> >>>>> $ mount
> >>>>> C:\Programmi\cygwin\bin on /usr/bin type system (binmode)
> >>>>> C:\Programmi\cygwin\lib on /usr/lib type system (binmode)
> >>>>> C:\Programmi\cygwin on / type system (binmode)
> >>>>> c: on /cygdrive/c type system (binmode,noumount)
> >>>>> d: on /cygdrive/d type system (binmode,noumount)
> >>>>> i: on /cygdrive/i type system (binmode,noumount)
> >>>>> j: on /cygdrive/j type system (binmode,noumount)
> >>>>> k: on /cygdrive/k type system (binmode,noumount)
> >>>>> m: on /cygdrive/m type system (binmode,noumount)
> >>>>> p: on /cygdrive/p type system (binmode,noumount)
> >>>>> s: on /cygdrive/s type system (binmode,noumount)
> >>>>> u: on /cygdrive/u type system (binmode,noumount)
> >>>>> y: on /cygdrive/y type system (binmode,noumount)
> >>>>>
> >>>>>
> >>>>>> Does the part of your configure file really
> >>>>>> look like this:
> >>>>>> [ "x$1" != "x__have_the_proper_shell@" ] && ( \
> >>>>>> uname -a | grep -i sunos > /dev/null \
> >>>>>  > && (bash $0 __have_the_proper_shell@ "$@") \
> >>>>>>  || (sh $0 __have_the_proper_shell@ "$@" ) \
> >>>>>> )
> >>>>> It is.
> >>>>>
> >>>>>
> >>>>> Regards
> >>>>>
> >>>>> --
> >>>>> Ing. Stefano Mora
> >>>>>
> >>>>>
> >>>
> >
> >


Re: Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
i'm trying to compile with mingw but i have some compilation error due to
the fact that, i guess, the g++ called is the cygwin one and not the mingw
one.
How can i solve?

Regards
--
Ing. Stefano Mora


----- Original Message -----

> Hi Stefano,
>
> Stefano Mora - Eos S.r.l. wrote:
> > Both dll and exe are larger than msvc ones generated.....
> > and i see the cygwin.dll depencences.
>
> Yes, all of that is expected.
>
> > Is there a way to know which compiler was used to generate exe + dll ?
>
> I don't understand your question. Do you mean the compiler used e.g. for
> building "cmd.exe"? What are you trying to solve?
>
> Axel.
>
> > --
> > Ing. Stefano Mora
> >


Re: Error compiling CInt with cygwin

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

you would ahve to port CINT to MingW. The minimum is putting it as a new
architecture into configure.

Axel.

Stefano Mora - Eos S.r.l. wrote:

> Hi,
> i'm trying to compile with mingw but i have some compilation error due to
> the fact that, i guess, the g++ called is the cygwin one and not the mingw
> one.
> How can i solve?
>
> Regards
> --
> Ing. Stefano Mora
>
>
> ----- Original Message -----
>
>> Hi Stefano,
>>
>> Stefano Mora - Eos S.r.l. wrote:
>>> Both dll and exe are larger than msvc ones generated.....
>>> and i see the cygwin.dll depencences.
>> Yes, all of that is expected.
>>
>>> Is there a way to know which compiler was used to generate exe + dll ?
>> I don't understand your question. Do you mean the compiler used e.g. for
>> building "cmd.exe"? What are you trying to solve?
>>
>> Axel.
>>
>>> --
>>> Ing. Stefano Mora
>>>
>
>


Re: Error compiling CInt with cygwin

by Stefano Mora - EOS S.r.l. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, done ... and i put the MinGW path before /usr/bin but when i compile i
have this errors:


mora@PC26 /cygdrive/y/Eos/Test/CInt/cint
$ ./configure --arch=mingw
Using /usr/lib/libreadline.a
Using /usr/lib/libncurses.a

Writing Makefile.conf...
Writing inc/configcint.h...
Done.
Run "make" to build cint.
Run "make help" to see the available build targets.

mora@PC26 /cygdrive/y/Eos/Test/CInt/cint
$ make
make -C src
make[1]: Entering directory `/cygdrive/y/Test/CInt/cint/src'
g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG
__ST
D_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Api.cxx
In file included from ../inc/Api.h:25,
                 from Api.cxx:16:
../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 Api.cxx:16:
../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:1850: error: `G__int64' has not been declared
../inc/G__ci.h:1850: error: ISO C++ forbids declaration of `value' with no
type
../inc/G__ci.h:1851: error: `G__uint64' has not been declared
../inc/G__ci.h:1851: error: ISO C++ forbids declaration of `value' with no
type
../inc/G__ci.h:1853: error: `G__int64' does not name a type
../inc/G__ci.h:1854: error: `G__uint64' does not name a type
../inc/G__ci.h:1856: error: expected init-declarator before '*' token
../inc/G__ci.h:1856: error: expected `,' or `;' before '*' token
../inc/G__ci.h:1857: error: expected init-declarator before '*' token
../inc/G__ci.h:1857: error: expected `,' or `;' before '*' token
../inc/G__ci.h:2462: error: `G__int64' does not name a type
../inc/G__ci.h:2463: error: `G__uint64' does not name a type
In file included from ../inc/Api.h:44,
                 from Api.cxx:16:
../inc/CallFunc.h:85: error: variable or field `SetArg' declared void
../inc/CallFunc.h:85: error: expected `;' before '(' token
../inc/CallFunc.h:86: error: variable or field `SetArg' declared void
../inc/CallFunc.h:86: error: expected `;' before '(' token
../inc/CallFunc.h:88: error: variable or field `SetArgRef' declared void
../inc/CallFunc.h:88: error: expected `;' before '(' token
../inc/CallFunc.h:89: error: variable or field `SetArgRef' declared void
../inc/CallFunc.h:89: error: expected `;' before '(' token
../inc/CallFunc.h:99: error: `G__int64' does not name a type
In file included from common.h:1407,
                 from Api.cxx:17:
fproto.h:317: error: `G__int64' has not been declared
fproto.h:317: error: ISO C++ forbids declaration of `val' with no type
fproto.h:675: error: `G__int64' has not been declared
fproto.h:675: error: ISO C++ forbids declaration of `value' with no type
fproto.h:676: error: `G__uint64' has not been declared
fproto.h:676: error: ISO C++ forbids declaration of `value' with no type
fproto.h:678: error: `G__int64' does not name a type
fproto.h:679: error: `G__uint64' does not name a type
make[1]: *** [Api.o] Error 1
make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint/src'
make: *** [libcint.dll] Error 2


mora@PC26 /cygdrive/y/Eos/Test/CInt/cint
$ g++ --version
g++.exe (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Ing. Stefano Mora

----- Original Message -----
From: "Axel Naumann" <Axel.Naumann@...>
To: "Stefano Mora - Eos S.r.l." <smora@...>
Cc: <cint@...>
Sent: Tuesday, September 11, 2007 4:42 PM
Subject: Re: [CINT] Error compiling CInt with cygwin


> Hi Stefano,
>
> you would ahve to port CINT to MingW. The minimum is putting it as a new
> architecture into configure.
>
> Axel.
>
> Stefano Mora - Eos S.r.l. wrote:
> > Hi,
> > i'm trying to compile with mingw but i have some compilation error due
to
> > the fact that, i guess, the g++ called is the cygwin one and not the
mingw

> > one.
> > How can i solve?
> >
> > Regards
> > --
> > Ing. Stefano Mora
> >
> >
> > ----- Original Message -----
> >
> >> Hi Stefano,
> >>
> >> Stefano Mora - Eos S.r.l. wrote:
> >>> Both dll and exe are larger than msvc ones generated.....
> >>> and i see the cygwin.dll depencences.
> >> Yes, all of that is expected.
> >>
> >>> Is there a way to know which compiler was used to generate exe + dll ?
> >> I don't understand your question. Do you mean the compiler used e.g.
for
> >> building "cmd.exe"? What are you trying to solve?
> >>
> >> Axel.
> >>
> >>> --
> >>> Ing. Stefano Mora
> >>>
> >
> >


Re: Error compiling CInt with cygwin

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

once you have fixed these errors you have ported CINT to Mingw - that's
why I said porting requires _at_least_ adding an entry in the configure
file. You will have to check the sources to see why the compiler sees
these lines, and decide how to fix it. It's usually because an "#if
defined" doesn't mention the mingw preprocessor identifier. We can
discuss the implementation details in private email.

Cheers, Axel.

Stefano Mora - Eos S.r.l. wrote:

> Yes, done ... and i put the MinGW path before /usr/bin but when i compile i
> have this errors:
>
>
> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint
> $ ./configure --arch=mingw
> Using /usr/lib/libreadline.a
> Using /usr/lib/libncurses.a
>
> Writing Makefile.conf...
> Writing inc/configcint.h...
> Done.
> Run "make" to build cint.
> Run "make help" to see the available build targets.
>
> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint
> $ make
> make -C src
> make[1]: Entering directory `/cygdrive/y/Test/CInt/cint/src'
> g++ -I../inc -O2   -mno-cygwin -DG__GNUREADLINE -DG__CINTBODY -DG__MINGW -DG
> __ST
> D_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -c Api.cxx
> In file included from ../inc/Api.h:25,
>                  from Api.cxx:16:
> ../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 Api.cxx:16:
> ../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:1850: error: `G__int64' has not been declared
> ../inc/G__ci.h:1850: error: ISO C++ forbids declaration of `value' with no
> type
> ../inc/G__ci.h:1851: error: `G__uint64' has not been declared
> ../inc/G__ci.h:1851: error: ISO C++ forbids declaration of `value' with no
> type
> ../inc/G__ci.h:1853: error: `G__int64' does not name a type
> ../inc/G__ci.h:1854: error: `G__uint64' does not name a type
> ../inc/G__ci.h:1856: error: expected init-declarator before '*' token
> ../inc/G__ci.h:1856: error: expected `,' or `;' before '*' token
> ../inc/G__ci.h:1857: error: expected init-declarator before '*' token
> ../inc/G__ci.h:1857: error: expected `,' or `;' before '*' token
> ../inc/G__ci.h:2462: error: `G__int64' does not name a type
> ../inc/G__ci.h:2463: error: `G__uint64' does not name a type
> In file included from ../inc/Api.h:44,
>                  from Api.cxx:16:
> ../inc/CallFunc.h:85: error: variable or field `SetArg' declared void
> ../inc/CallFunc.h:85: error: expected `;' before '(' token
> ../inc/CallFunc.h:86: error: variable or field `SetArg' declared void
> ../inc/CallFunc.h:86: error: expected `;' before '(' token
> ../inc/CallFunc.h:88: error: variable or field `SetArgRef' declared void
> ../inc/CallFunc.h:88: error: expected `;' before '(' token
> ../inc/CallFunc.h:89: error: variable or field `SetArgRef' declared void
> ../inc/CallFunc.h:89: error: expected `;' before '(' token
> ../inc/CallFunc.h:99: error: `G__int64' does not name a type
> In file included from common.h:1407,
>                  from Api.cxx:17:
> fproto.h:317: error: `G__int64' has not been declared
> fproto.h:317: error: ISO C++ forbids declaration of `val' with no type
> fproto.h:675: error: `G__int64' has not been declared
> fproto.h:675: error: ISO C++ forbids declaration of `value' with no type
> fproto.h:676: error: `G__uint64' has not been declared
> fproto.h:676: error: ISO C++ forbids declaration of `value' with no type
> fproto.h:678: error: `G__int64' does not name a type
> fproto.h:679: error: `G__uint64' does not name a type
> make[1]: *** [Api.o] Error 1
> make[1]: Leaving directory `/cygdrive/y/Eos/Test/CInt/cint/src'
> make: *** [libcint.dll] Error 2
>
>
> mora@PC26 /cygdrive/y/Eos/Test/CInt/cint
> $ g++ --version
> g++.exe (GCC) 3.4.2 (mingw-special)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> --
> Ing. Stefano Mora
>
> ----- Original Message -----
> From: "Axel Naumann" <Axel.Naumann@...>
> To: "Stefano Mora - Eos S.r.l." <smora@...>
> Cc: <cint@...>
> Sent: Tuesday, September 11, 2007 4:42 PM
> Subject: Re: [CINT] Error compiling CInt with cygwin
>
>
>> Hi Stefano,
>>
>> you would ahve to port CINT to MingW. The minimum is putting it as a new
>> architecture into configure.
>>
>> Axel.
>>
>> Stefano Mora - Eos S.r.l. wrote:
>>> Hi,
>>> i'm trying to compile with mingw but i have some compilation error due
> to
>>> the fact that, i guess, the g++ called is the cygwin one and not the
> mingw
>>> one.
>>> How can i solve?
>>>
>>> Regards
>>> --
>>> Ing. Stefano Mora
>>>
>>>
>>> ----- Original Message -----
>>>
>>>> Hi Stefano,
>>>>
>>>> Stefano Mora - Eos S.r.l. wrote:
>>>>> Both dll and exe are larger than msvc ones generated.....
>>>>> and i see the cygwin.dll depencences.
>>>> Yes, all of that is expected.
>>>>
>>>>> Is there a way to know which compiler was used to generate exe + dll ?
>>>> I don't understand your question. Do you mean the compiler used e.g.
> for
>>>> building "cmd.exe"? What are you trying to solve?
>>>>
>>>> Axel.
>>>>
>>>>> --
>>>>> Ing. Stefano Mora
>>>>>
>>>
>
>