undefined set_debug_mode when compiling es

5 Messages Forum Options Options
Permalink
Andreas Leitner
undefined set_debug_mode when compiling es
Reply Threaded More
Print post
Permalink
Dear all:

I am trying to compile ES (version 6.0 checked out from svn) and receive
the following error:

Compiling C code in C1
C22/Cobj22.o: In function `Ft4puro':
(.text+0xf289): warning: the use of `tempnam' is dangerous, better use
`mkstemp'
C17/Cobj17.o: In function `Fptgwj0':
(.text+0x9332): undefined reference to `set_debug_mode'
C17/Cobj17.o: In function `Fpthjhn':
(.text+0x975f): undefined reference to `set_debug_mode'
C17/Cobj17.o: In function `Fptwe_y':
(.text+0x9fc4): undefined reference to `set_debug_mode'
C14/Cobj14.o: In function `Flml6m1':
(.text+0xf7474): undefined reference to `set_debug_mode'
C14/Cobj14.o: In function `Flly8_1':
(.text+0xf7da1): undefined reference to `set_debug_mode'
C14/Cobj14.o:(.text+0xf7e08): more undefined references to
`set_debug_mode' follow
collect2: ld returned 1 exit status
make: *** [ec] Error 1

Does anybody know what could be wrong?

many thanks in advance,
Andreas

_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
Jocelyn Fiat [ES]
Re: undefined set_debug_mode when compiling es
Reply Threaded More
Print post
Permalink
Hi,

Did you recompile the runtime, and the Clib of vision2 ?  (including the
implementation .. gtk Clib)

--Jocelyn.

On 7/20/2007 17:46 PM, Andreas Leitner wrote:

> Dear all:
>
> I am trying to compile ES (version 6.0 checked out from svn) and receive
> the following error:
>
> Compiling C code in C1
> C22/Cobj22.o: In function `Ft4puro':
> (.text+0xf289): warning: the use of `tempnam' is dangerous, better use
> `mkstemp'
> C17/Cobj17.o: In function `Fptgwj0':
> (.text+0x9332): undefined reference to `set_debug_mode'
> C17/Cobj17.o: In function `Fpthjhn':
> (.text+0x975f): undefined reference to `set_debug_mode'
> C17/Cobj17.o: In function `Fptwe_y':
> (.text+0x9fc4): undefined reference to `set_debug_mode'
> C14/Cobj14.o: In function `Flml6m1':
> (.text+0xf7474): undefined reference to `set_debug_mode'
> C14/Cobj14.o: In function `Flly8_1':
> (.text+0xf7da1): undefined reference to `set_debug_mode'
> C14/Cobj14.o:(.text+0xf7e08): more undefined references to
> `set_debug_mode' follow
> collect2: ld returned 1 exit status
> make: *** [ec] Error 1
>
> Does anybody know what could be wrong?
>
> many thanks in advance,
> Andreas
>
> _______________________________________________
> Es-devel mailing list
> Es-devel@...
> http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
>
>
>  

--
Jocelyn
------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  

_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
Emmanuel Stapf [ES]
RE: undefined set_debug_mode when compiling es
Reply Threaded More
Print post
Permalink
Looks like you are not using the latest version of the compiler and of the
vision2 library (make sure that the vision2 C code is recompiled too).

Manu

> -----Original Message-----
> From: es-devel-bounces@...
> [mailto:es-devel-bounces@...] On Behalf Of
> Andreas Leitner
> Sent: Friday, July 20, 2007 8:46 AM
> To: es-devel@...
> Subject: [Es-devel] undefined set_debug_mode when compiling es
>
> Dear all:
>
> I am trying to compile ES (version 6.0 checked out from svn)
> and receive the following error:
>
> Compiling C code in C1
> C22/Cobj22.o: In function `Ft4puro':
> (.text+0xf289): warning: the use of `tempnam' is dangerous,
> better use `mkstemp'
> C17/Cobj17.o: In function `Fptgwj0':
> (.text+0x9332): undefined reference to `set_debug_mode'
> C17/Cobj17.o: In function `Fpthjhn':
> (.text+0x975f): undefined reference to `set_debug_mode'
> C17/Cobj17.o: In function `Fptwe_y':
> (.text+0x9fc4): undefined reference to `set_debug_mode'
> C14/Cobj14.o: In function `Flml6m1':
> (.text+0xf7474): undefined reference to `set_debug_mode'
> C14/Cobj14.o: In function `Flly8_1':
> (.text+0xf7da1): undefined reference to `set_debug_mode'
> C14/Cobj14.o:(.text+0xf7e08): more undefined references to
> `set_debug_mode' follow
> collect2: ld returned 1 exit status
> make: *** [ec] Error 1
>
> Does anybody know what could be wrong?
>
> many thanks in advance,
> Andreas
>
> _______________________________________________
> Es-devel mailing list
> Es-devel@...
> http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
>

_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
Jocelyn Fiat [ES]
Re: undefined set_debug_mode when compiling es
Reply Threaded More
Print post
Permalink
Make sure to use EiffelStudio 6.0.6.9201
since the related change to set_debug_mode occurred in revision 69074.

Regards,
Jocelyn

On 7/20/2007 17:46 PM, Andreas Leitner wrote:

> Dear all:
>
> I am trying to compile ES (version 6.0 checked out from svn) and receive
> the following error:
>
> Compiling C code in C1
> C22/Cobj22.o: In function `Ft4puro':
> (.text+0xf289): warning: the use of `tempnam' is dangerous, better use
> `mkstemp'
> C17/Cobj17.o: In function `Fptgwj0':
> (.text+0x9332): undefined reference to `set_debug_mode'
> C17/Cobj17.o: In function `Fpthjhn':
> (.text+0x975f): undefined reference to `set_debug_mode'
> C17/Cobj17.o: In function `Fptwe_y':
> (.text+0x9fc4): undefined reference to `set_debug_mode'
> C14/Cobj14.o: In function `Flml6m1':
> (.text+0xf7474): undefined reference to `set_debug_mode'
> C14/Cobj14.o: In function `Flly8_1':
> (.text+0xf7da1): undefined reference to `set_debug_mode'
> C14/Cobj14.o:(.text+0xf7e08): more undefined references to
> `set_debug_mode' follow
> collect2: ld returned 1 exit status
> make: *** [ec] Error 1
>
> Does anybody know what could be wrong?
>
> many thanks in advance,
> Andreas
>
> _______________________________________________
> Es-devel mailing list
> Es-devel@...
> http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
>
>
>  

--
Jocelyn
------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  

_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
Andreas Leitner
Re: undefined set_debug_mode when compiling es
Reply Threaded More
Print post
Permalink
Just so others know...

Problem solved. It was the wrong compiler version...

Thanks to Jocelyn and Manu for the ultra-fast help!


Andreas

_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel