[erlang-questions] getting error in erlang

21 views
Skip to first unread message

Shankar Patil

unread,
Nov 9, 2012, 5:17:08 AM11/9/12
to erlang-q...@erlang.org

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.

Gustav Simonsson

unread,
Nov 10, 2012, 10:56:52 AM11/10/12
to Shankar Patil, erlang-q...@erlang.org
What version of GCC are you using?
Also, can you include the output from running ./configure ?

Cheers,
Gustav Simonsson


_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


Shankar Patil

unread,
Nov 15, 2012, 11:12:26 PM11/15/12
to Gustav Simonsson, erlang-q...@erlang.org

GCC version gcc version 4.7.2 (GCC)

 

Configure output attached. Please check and revert.

 

 

Regards,

Shankar Patil

configure.txt

Shankar Patil

unread,
Nov 19, 2012, 7:18:01 AM11/19/12
to Gustav Simonsson, erlang-q...@erlang.org

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-q...@erlang.org
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.s...@gmail.com]
Sent: Saturday, November 10, 2012 9:27 PM
To: Shankar Patil
Cc: erlang-q...@erlang.org
Subject: Re: [erlang-questions] getting error in erlang

 

What version of GCC are you using?

Reply all
Reply to author
Forward
0 new messages