From: russell <stream@willows7.myzen.co.uk>
To: guile-user@gnu.org
Subject: Building Guile 2.2.X on OpenIndiana
Date: Sat, 10 Mar 2018 12:13:41 +0000 [thread overview]
Message-ID: <7bbfb036-3770-88ca-cabf-b90107dcc3f3@willows7.myzen.co.uk> (raw)
Hi,
When I attempt to build Guile 2.2.X on OpenIndiana Hipster assembled 12
February 2018.
$ CC=gcc-6 CXX=g++-6 LDFLAGS="-L/opt/gnu/lib -L/usr/lib" ./configure
--prefix=/opt/gnu
The make process completes without error, however when I attempt to
build guile, it fails as when it attempts to redfine accept4()
/tmp/guile-2.2.3$ gmake
gmake -C libguile scmconfig.h
gmake[1]: Entering directory '/tmp/guile-2.2.3/libguile'
GEN gen-scmconfig.o
GEN gen-scmconfig
GEN scmconfig.h
gmake[1]: Leaving directory '/tmp/guile-2.2.3/libguile'
gmake all-recursive
gmake[1]: Entering directory '/tmp/guile-2.2.3'
Making all in lib
gmake[2]: Entering directory '/tmp/guile-2.2.3/lib'
GEN alloca.h
GEN c++defs.h
GEN warn-on-use.h
GEN arg-nonnull.h
GEN arpa/inet.h
GEN byteswap.h
GEN configmake.h
GEN dirent.h
GEN fcntl.h
GEN iconv.h
GEN langinfo.h
GEN limits.h
GEN locale.h
GEN math.h
GEN netdb.h
GEN poll.h
GEN signal.h
GEN stdint.h
GEN stdio.h
GEN stdlib.h
GEN string.h
GEN sys/file.h
GEN sys/select.h
GEN sys/socket.h
GEN sys/stat.h
GEN sys/time.h
GEN sys/times.h
GEN sys/types.h
GEN sys/uio.h
GEN time.h
GEN unistd.h
GEN wchar.h
GEN wctype.h
gmake all-recursive
gmake[3]: Entering directory '/tmp/guile-2.2.3/lib'
gmake[4]: Entering directory '/tmp/guile-2.2.3/lib'
CC accept4.lo
In file included from /usr/include/sys/time.h:462:0,
from ./sys/time.h:39,
from /usr/include/sys/select.h:53,
from ./sys/select.h:36,
from /usr/include/sys/types.h:640,
from ./sys/types.h:28,
from ./sys/socket.h:51,
from accept4.c:20:
./sys/socket.h:1034:1: error: conflicting types for 'accept4'
_GL_FUNCDECL_SYS (accept4, int,
^
In file included from ./sys/socket.h:58:0,
from accept4.c:20:
/usr/include/sys/socket.h:540:12: note: previous declaration of
'accept4' was here
extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t, int);
^~~~~~~
accept4.c:32:1: error: conflicting types for 'accept4'
accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
^~~~~~~
In file included from ./sys/socket.h:58:0,
from accept4.c:20:
/usr/include/sys/socket.h:540:12: note: previous declaration of
'accept4' was here
extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t, int);
^~~~~~~
gmake[4]: *** [Makefile:2067: accept4.lo] Error 1
gmake[4]: Leaving directory '/tmp/guile-2.2.3/lib'
gmake[3]: *** [Makefile:2086: all-recursive] Error 1
gmake[3]: Leaving directory '/tmp/guile-2.2.3/lib'
gmake[2]: *** [Makefile:1869: all] Error 2
gmake[2]: Leaving directory '/tmp/guile-2.2.3/lib'
gmake[1]: *** [Makefile:1857: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/guile-2.2.3'
gmake: *** [Makefile:1743: all] Error 2
Can you please advise how to get round this problem
regards
Russell
reply other threads:[~2018-03-10 12:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7bbfb036-3770-88ca-cabf-b90107dcc3f3@willows7.myzen.co.uk \
--to=stream@willows7.myzen.co.uk \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).