[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [guile-reader-devel] Conflicting types
From: |
tantalum |
Subject: |
Re: [guile-reader-devel] Conflicting types |
Date: |
Fri, 17 Mar 2017 15:10:15 +0000 |
User-agent: |
Posteo Webmail |
hi
it seems i am getting the same error, also on arch. with guile 2.2 and
2.1.6.
---
make[3]: Entering directory '/tmp/guile-reader-git/src/guile-reader/src'
CC reader.lo
In file included from reader.c:1946:0:
make-reader-flags.c:86:1: error: conflicting types for
‘_scm_to_make_reader_flag’
_scm_to_make_reader_flag (register const char *str, register size_t
len)
^~~~~~~~~~~~~~~~~~~~~~~~
reader.c:1943:1: note: previous declaration of
‘_scm_to_make_reader_flag’ was here
_scm_to_make_reader_flag (const char *, unsigned int);
^~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:482: reader.lo] Error 1
---
the patch by Stefan Husmann makes it go away.
but i also have to make several workarounds for additional errors to get
to this point:
1.
configure.ac:109: error: required file 'build-aux/config.rpath' not
found
workaround:
mkdir -p build-aux && touch build-aux/config.rpath
2.
configure: WARNING: `guilemoduledir' (${prefix}/share/guile/site/2.2) is
different from `GUILE_SITE' (/usr/share/guile/site/2.2).
workaround:
GUILE_SITE=/usr/share/guile/site/2.2 ./configure --prefix=/usr
--with-guilemoduledir=/usr/share/guile/site/2.2
3.
configure: error: You need Guile 1.8.x or higher.
workaround:
CFLAGS= CPPFLAGS= LDFLAGS= GUILE_SITE=/usr/share/guile/site/2.2
./configure --prefix=/usr
--with-guilemoduledir=/usr/share/guile/site/2.2
and one other thing: there seems to be no git tag for version 1.6.2 yet.