[Sbcl-devel] Problems building sbcl-2.3.9 and 2.3.10

31 views
Skip to first unread message

Andreas Wacknitz

unread,
Oct 31, 2023, 8:10:19 AM10/31/23
to sbcl-...@lists.sourceforge.net
Hi,

Since the release of sbcl-2.3.9 I have problems to build under
OpenIndiana (illumos) because of a name clash:

...
gcc -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -m64 -g -Wall
-std=gnu89 -D__EXTENSIONS__ -DSVR4 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -fno-omit-frame-pointer -fno-pie -I.  -c -o
coreparse.o coreparse.c
In file included from thread.h:14,
                 from arch.h:18,
                 from coreparse.c:36:
genesis/thread.h:89:8: error: redefinition of 'struct mutex'
   89 | struct mutex {
      |        ^~~~~
In file included from /usr/include/sys/t_lock.h:39,
                 from /usr/include/sys/file.h:35,
                 from coreparse.c:26:
/usr/include/sys/mutex.h:63:16: note: originally defined here
   63 | typedef struct mutex {
      |                ^~~~~
make[1]: *** [<builtin>: coreparse.o] Error 1


Any ideas how I can fix this problem?

Regards,
Andreas

_______________________________________________
Sbcl-devel mailing list
Sbcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel

Douglas Katzman via Sbcl-devel

unread,
Oct 31, 2023, 10:39:53 AM10/31/23
to Andreas Wacknitz, sbcl-...@lists.sourceforge.net
I renamed the SBCL structure.  Seems unfortunate that the system header didn't prefix it with at least '_'.

Andreas Wacknitz

unread,
Oct 31, 2023, 10:43:55 AM10/31/23
to Douglas Katzman, sbcl-...@lists.sourceforge.net
Am 31.10.23 um 15:39 schrieb Douglas Katzman:
I renamed the SBCL structure.  Seems unfortunate that the system header didn't prefix it with at least '_'.
Yes, it's probably from SysV heritage. But how can I fix this? Both seem to be needed.

Douglas Katzman via Sbcl-devel

unread,
Oct 31, 2023, 10:46:31 AM10/31/23
to Andreas Wacknitz, sbcl-...@lists.sourceforge.net

Andreas Wacknitz

unread,
Nov 1, 2023, 3:36:12 AM11/1/23
to Douglas Katzman, sbcl-...@lists.sourceforge.net
Am 31.10.23 um 15:45 schrieb Douglas Katzman:
I did that, thanks.
Reply all
Reply to author
Forward
0 new messages