Discussion:
[E-devel] Compile error on OS X El Capitan 10.11.x
Andrew Williams
2017-07-14 15:49:08 UTC
Permalink
Hi,

EFL is failing to compile on 1 version back OS X:

---

CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo

lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t'; did
you mean 'clock_id_t'?

clockid_t cid;

^~~~~~~~~

clock_id_t

/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here

typedef int clock_id_t; /* clock identification
type */

^

1 error generated.
---

It seems that clock_gettime etc are not implemented...

Andy
--
http://andywilliams.me
http://ajwillia.ms
Adrien Nader
2017-07-16 10:27:58 UTC
Permalink
Hi,

I noticed the following which seems 100% related :
https://github.com/rbenv/ruby-build/issues/999
--
Adrien
Post by Andrew Williams
Hi,
---
CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo
lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t'; did
you mean 'clock_id_t'?
clockid_t cid;
^~~~~~~~~
clock_id_t
/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
typedef int clock_id_t; /* clock identification
type */
^
1 error generated.
---
It seems that clock_gettime etc are not implemented...
Andy
--
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Jean Guyomarc'h
2017-07-16 15:10:02 UTC
Permalink
Hi,

I cannot test since I only have 10.9 and 10.12 available, but maybe
commit cc4c40769d106fdc3c8faaa57f867b7e5ca47fa2 can give you some hints.

Jean
Post by Adrien Nader
Hi,
https://github.com/rbenv/ruby-build/issues/999
--
Adrien
Post by Andrew Williams
Hi,
---
CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo
lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t';
did
Post by Andrew Williams
you mean 'clock_id_t'?
clockid_t cid;
^~~~~~~~~
clock_id_t
/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
typedef int clock_id_t; /* clock identification
type */
^
1 error generated.
---
It seems that clock_gettime etc are not implemented...
Andy
--
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------
------------------
Post by Andrew Williams
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Jonathan Aquilina
2017-07-16 15:33:45 UTC
Permalink
Hi Jean,

Maybe someone that is experiencing this issue can git bisect to see what
commit potentially broke things.

---
Regards,

Jonathan Aquilina
Post by Jean Guyomarc'h
Hi,
I cannot test since I only have 10.9 and 10.12 available, but maybe
commit cc4c40769d106fdc3c8faaa57f867b7e5ca47fa2 can give you some hints.
Jean
Hi,
https://github.com/rbenv/ruby-build/issues/999
--
Adrien
On Fri, Jul 14, 2017, Andrew Williams wrote: Hi,
---
CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo
lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'?
clockid_t cid;
^~~~~~~~~
clock_id_t
/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
typedef int clock_id_t; /* clock identification
type */
^
1 error generated.
---
It seems that clock_gettime etc are not implemented...
Andy
--
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------ ------------------ Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Jean Guyomarc'h
2017-07-16 15:51:17 UTC
Permalink
Try moving the declaration of 'cid' (clockid_t cid;) after the #if
defined(HAVE_CLOCK_GETTIME) && defined(HAVE_SCHED_GETCPU)
I'm not sure if the label that would precede it will make it feasible, but
you can still open a new scope.

Jean
Post by Jonathan Aquilina
Hi Jean,
Maybe someone that is experiencing this issue can git bisect to see what
commit potentially broke things.
---
Regards,
Jonathan Aquilina
Hi,
I cannot test since I only have 10.9 and 10.12 available, but maybe
commit cc4c40769d106fdc3c8faaa57f867b7e5ca47fa2 can give you some hints.
Jean
Hi,
https://github.com/rbenv/ruby-build/issues/999
--
Adrien
Hi,
---
CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo
lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t';
did
you mean 'clock_id_t'?
clockid_t cid;
^~~~~~~~~
clock_id_t
/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
typedef int clock_id_t; /* clock identification
type */
^
1 error generated.
---
It seems that clock_gettime etc are not implemented...
Andy
--
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Jonathan Aquilina
2017-07-16 15:53:59 UTC
Permalink
I am on 10.12.5. I might try and see if I can get the next release
preseed to start testing efler etc on it

---
Regards,

Jonathan Aquilina
Try moving the declaration of 'cid' (clockid_t cid;) after the #if defined(HAVE_CLOCK_GETTIME) && defined(HAVE_SCHED_GETCPU)
I'm not sure if the label that would precede it will make it feasible, but you can still open a new scope.
Jean
Hi Jean,
Maybe someone that is experiencing this issue can git bisect to see what commit potentially broke things.
---
Regards,
Jonathan Aquilina
Hi,
I cannot test since I only have 10.9 and 10.12 available, but maybe
commit cc4c40769d106fdc3c8faaa57f867b7e5ca47fa2 can give you some hints.
Jean
Hi,
https://github.com/rbenv/ruby-build/issues/999 [1]
--
Adrien
On Fri, Jul 14, 2017, Andrew Williams wrote: Hi,
---
CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo
lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'?
clockid_t cid;
^~~~~~~~~
clock_id_t
/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
typedef int clock_id_t; /* clock identification
type */
^
1 error generated.
---
It seems that clock_gettime etc are not implemented...
Andy
--
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------ ------------------ Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel [2]
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel [2]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel [2]

Links:
------
[1] https://github.com/rbenv/ruby-build/issues/999
[2] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Carsten Haitzler (The Rasterman)
2017-07-17 07:04:29 UTC
Permalink
On Fri, 14 Jul 2017 15:49:08 +0000 Andrew Williams <***@andywilliams.me> said:

9d1a8bb08246a11b5b8a7e35081d0664464ae820 should solve it... i hope.
Post by Andrew Williams
Hi,
---
CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo
lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t'; did
you mean 'clock_id_t'?
clockid_t cid;
^~~~~~~~~
clock_id_t
/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
typedef int clock_id_t; /* clock identification
type */
^
1 error generated.
---
It seems that clock_gettime etc are not implemented...
Andy
--
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) ***@rasterman.com
Andrew Williams
2017-07-17 12:11:53 UTC
Permalink
Hi,

Nice one thanks - that issue seems to be resolved.
I had to add a small fix to the OS_X_VERSION detection as the numbering
system was out of date (they moved to 6 digits at 10.10)
Now it all compiles :)

Andy
Post by Carsten Haitzler (The Rasterman)
9d1a8bb08246a11b5b8a7e35081d0664464ae820 should solve it... i hope.
Post by Andrew Williams
Hi,
---
CC lib/eina/lib_eina_libeina_la-eina_debug_bt.lo
lib/eina/eina_debug_bt.c:139:4: error: unknown type name 'clockid_t'; did
you mean 'clock_id_t'?
clockid_t cid;
^~~~~~~~~
clock_id_t
/usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
typedef int clock_id_t; /* clock identification
type */
^
1 error generated.
---
It seems that clock_gettime etc are not implemented...
Andy
--
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------------------------
Post by Andrew Williams
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
--
http://andywilliams.me
http://ajwillia.ms

Loading...