[erlang-questions] getting error in erlang

Shankar Patil shankar_patil@REDACTED
Mon Nov 19 13:18:01 CET 2012


Can you please help me out?


Regards,
Shankar Patil

From: Shankar Patil
Sent: Friday, November 16, 2012 9:42 AM
To: 'Gustav Simonsson'
Cc: erlang-questions@REDACTED
Subject: RE: [erlang-questions] getting error in erlang

GCC version gcc version 4.7.2 (GCC)

Configure output attached. Please check and revert.


Regards,
Shankar Patil


From: Gustav Simonsson [mailto:gustav.simonsson@REDACTED]
Sent: Saturday, November 10, 2012 9:27 PM
To: Shankar Patil
Cc: erlang-questions@REDACTED<mailto:erlang-questions@REDACTED>
Subject: Re: [erlang-questions] getting error in erlang

What version of GCC are you using?
Also, can you include the output from running ./configure ?

Cheers,
Gustav Simonsson

On Fri, Nov 9, 2012 at 11:17 AM, Shankar Patil <shankar_patil@REDACTED<mailto:shankar_patil@REDACTED>> wrote:
Hello All,

I am compiling erlang  otp_src_R15B on aix 6.1 machine. Getting below errors.


../include/internal/ethread.h: In function 'ethr_spin_lock__':
../include/internal/ethread.h:555: error: 'lock' undeclared (first use in this function)
common/ethr_aux.c: At top level:
common/ethr_aux.c:344: error: parse error before 'ts_ev_alloc_lock'
common/ethr_aux.c:344: warning: type defaults to 'int' in declaration of 'ts_ev_alloc_lock'
common/ethr_aux.c:344: warning: data definition has no type or storage class
common/ethr_aux.c:529: error: parse error before '*' token
common/ethr_aux.c:530: warning: function declaration isn't a prototype
common/ethr_aux.c: In function 'ethr_spinlock_init':
common/ethr_aux.c:537: error: 'lock' undeclared (first use in this function)
common/ethr_aux.c: At top level:
common/ethr_aux.c:541: error: parse error before '*' token
common/ethr_aux.c:542: warning: function declaration isn't a prototype
common/ethr_aux.c: In function 'ethr_spinlock_destroy':
common/ethr_aux.c:553: error: 'lock' undeclared (first use in this function)
common/ethr_aux.c: At top level:
common/ethr_aux.c:557: error: parse error before '*' token
common/ethr_aux.c:558: warning: function declaration isn't a prototype
common/ethr_aux.c: In function 'ethr_spin_unlock':
common/ethr_aux.c:561: error: 'lock' undeclared (first use in this function)
common/ethr_aux.c: At top level:
common/ethr_aux.c:565: error: parse error before '*' token
common/ethr_aux.c:566: warning: function declaration isn't a prototype
common/ethr_aux.c: In function 'ethr_spin_lock':
common/ethr_aux.c:569: error: 'lock' undeclared (first use in this function)
gmake[5]: *** [obj/rs6000-ibm-aix/opt/r/ethr_aux.o] Error 1
gmake[5]: Leaving directory `/opt/otp_src_R15B/erts/lib_src'
gmake[4]: *** [opt] Error 2
gmake[4]: Leaving directory `/opt/otp_src_R15B/erts/lib_src'
gmake[3]: *** [erts_lib] Error 2
gmake[3]: Leaving directory `/opt/otp_src_R15B/erts/emulator'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory `/opt/otp_src_R15B/erts/emulator'
gmake[1]: *** [smp] Error 2
gmake[1]: Leaving directory `/opt/otp_src_R15B/erts'
gmake: *** [emulator] Error 2

can you please help out ?

Regards,
Shankar Patil



DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED<mailto:erlang-questions@REDACTED>
http://erlang.org/mailman/listinfo/erlang-questions


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121119/650556a8/attachment.htm>


More information about the erlang-questions mailing list