[erlang-questions] getting error in erlang

Gustav Simonsson gustav.simonsson@REDACTED
Sat Nov 10 16:56:52 CET 2012


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> 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
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121110/afb7a6d3/attachment.htm>


More information about the erlang-questions mailing list