[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] gm2 no longer builds on Solaris 10
From: |
john o goyo |
Subject: |
[Gm2] gm2 no longer builds on Solaris 10 |
Date: |
Sun, 12 Oct 2008 22:29:21 -0400 |
gm2 will no longer build on Solaris 10 because the file gm2-libs-iso/
wrapsock.c
pulls in a header that eventually invokes bcopy.
./../src/gcc-4.1.2/gcc/../include -I./../intl -I../../../src/
gcc-4.1.2/gcc/../libcpp/include ../../
../src/gcc-4.1.2/gcc/gm2/gm2-libs-iso/wrapsock.c -o gm2/gm2-libs-iso/
wrapsock.o
In file included from /usr/include/sys/stream.h:24,
from /usr/include/netinet/in.h:62,
from ../../../src/gcc-4.1.2/gcc/gm2/gm2-libs-iso/
wrapsock.c:30:
/usr/include/sys/strmdep.h:31:26: error: attempt to use poisoned "bcopy"
gmake[2]: *** [gm2/gm2-libs-iso/wrapsock.o] Error 1
The offending line in /usr/include/sys/strmdep.h is the following.
#define strbcpy(s, d, c) bcopy(s, d, c)
This could probably be replaced by the following.
#define strbcpy(s, d, c) memcpy(d, s, c)
I suspect that the solution involves using the fixinclude facility
but I know nothing
about said facility.
johng
- [Gm2] gm2 no longer builds on Solaris 10,
john o goyo <=