unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#19237: Guile-2.0.11 OS X 10.10.1 build error
@ 2014-11-30 23:51 Hans Aberg
  2014-12-03 22:21 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Aberg @ 2014-11-30 23:51 UTC (permalink / raw)
  To: 19237

I get a build error [1] with guile-2.0.11 on OS X 10.10.1. It looks like an illegal int to pointer conversion cause a name to not be defined, and then the linking fails.


1. make
...
Making all in guile-readline
  SNARF  readline.x
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
  CC       readline.lo
../../guile-2.0.11/guile-readline/readline.c:433:16: warning: implicit declaration of function 'rl_get_keymap_name' is invalid in C99
      [-Wimplicit-function-declaration]
  if (strncmp (rl_get_keymap_name (rl_get_keymap ()), "vi", 2))
               ^
../../guile-2.0.11/guile-readline/readline.c:433:16: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
      [-Wint-conversion]
  if (strncmp (rl_get_keymap_name (rl_get_keymap ()), "vi", 2))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
2 warnings generated.
  CCLD     libguilereadline-v-18.la
Undefined symbols for architecture x86_64:
  "_rl_get_keymap_name", referenced from:
      _scm_init_readline in readline.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libguilereadline-v-18.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2








^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-05  9:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-30 23:51 bug#19237: Guile-2.0.11 OS X 10.10.1 build error Hans Aberg
2014-12-03 22:21 ` Ludovic Courtès
2014-12-03 22:32   ` Hans Aberg
2014-12-04 17:23     ` Ludovic Courtès
2014-12-04 19:28       ` Hans Aberg
2014-12-04 23:47         ` Mark H Weaver
2014-12-05  9:28           ` Hans Aberg

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).