Subject: Compile error for Guile 2.0.3

From: Joris van der Hoeven <[email-masked]>
Date: Mon, 19 Dec 2011 18:24:50 +0100

Hi,

Under MacOS 10.6.4 with Darwinports for the installation of the dependencies,
I get the error(s) below during 'make'. I configured Guile using

  ./configure --prefix=/Users/vdhoeven/test/ CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib'

Best wishes, --Joris

Castafiore:guile-2.0.3 vdhoeven$ make -j8
make  all-recursive
Making all in lib
  GEN    alloca.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    arg-nonnull.h
  GEN    byteswap.h
  GEN    unused-parameter.h
  GEN    stdint.h
  GEN    sys/types.h
  GEN    fcntl.h
  GEN    sys/uio.h
  GEN    iconv.h
  GEN    locale.h
  GEN    netdb.h
  GEN    math.h
  GEN    arpa/inet.h
  GEN    signal.h
  GEN    stdio.h
  GEN    stdlib.h
  GEN    string.h
  GEN    sys/file.h
  GEN    sys/socket.h
  GEN    sys/stat.h
  GEN    time.h
  GEN    unistd.h
  GEN    wchar.h
  GEN    sys/time.h
make  all-recursive
  CC     c-ctype.lo
  CC     c-strcasecmp.lo
  CC     c-strncasecmp.lo
  CC     basename-lgpl.lo
  CC     dirname-lgpl.lo
  CC     stripslash.lo
  CC     fd-hook.lo
  CC     full-read.lo
  CC     full-write.lo
  CC     malloca.lo
  CC     nproc.lo
  CC     pipe2.lo
  CC     safe-read.lo
  CC     safe-write.lo
  CC     sockets.lo
  CC     strftime.lo
  CC     striconveh.lo
  CC     asnprintf.lo
  CC     canonicalize-lgpl.lo
  CC     isnand.lo
  CC     isnanf.lo
  CC     isnanl.lo
  CC     lstat.lo
  CC     open.lo
  CC     printf-args.lo
  CC     printf-parse.lo
  CC     putenv.lo
  CC     readlink.lo
  CC     rename.lo
  CC     stat.lo
  CC     vasnprintf.lo
  CC     unistr/u8-mbtouc.lo
  CC     unistr/u8-mbtouc-aux.lo
  CC     unistr/u8-mbtouc-unsafe.lo
  CC     unistr/u8-mbtouc-unsafe-aux.lo
  CCLD   libgnu.la
/usr/bin/ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols
/usr/bin/ranlib: file: .libs/libgnu.a(u8-mbtouc.o) has no symbols
/usr/bin/ranlib: file: .libs/libgnu.a(u8-mbtouc-unsafe.o) has no symbols
ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols
ranlib: file: .libs/libgnu.a(u8-mbtouc.o) has no symbols
ranlib: file: .libs/libgnu.a(u8-mbtouc-unsafe.o) has no symbols
Making all in meta
guile="/Users/vdhoeven/test/bin/`echo guile | /opt/local/bin/gsed -e 's,x,x,'`" ;	\
				      cat ./guile-config.in							\
				      | /opt/local/bin/gsed -e "s,@pkgconfigdir@,/Users/vdhoeven/test/lib/pkgconfig,g ;	  \
				      	     s,@""PKG_CONFIG@,/opt/local/bin/pkg-config,g ;			      	    \
					     						       s,@installed_guile@,$guile,g"    \
											       > guile-config.out
mv guile-config.out guile-config
chmod +x guile-config
Making all in libguile
  GEN    gen-scmconfig.o
  GEN    vm-i-system.i
  GEN    vm-i-scheme.i
  GEN    vm-i-loader.i
  GEN    gen-scmconfig
  GEN    libpath.h
  GEN    scmconfig.h
  SNARF  alist.x
  SNARF  arbiters.x
  SNARF  array-handle.x
  SNARF  array-map.x
  SNARF  arrays.x
  SNARF  async.x
  SNARF  boolean.x
  SNARF  backtrace.x
  SNARF  bitvectors.x
  SNARF  bytevectors.x
  SNARF  chars.x
  SNARF  control.x
  SNARF  continuations.x
  SNARF  debug.x
  SNARF  deprecated.x
  SNARF  deprecation.x
  SNARF  dynl.x
  SNARF  dynwind.x
  SNARF  error.x
  SNARF  eq.x
  SNARF  eval.x
  SNARF  evalext.x
  SNARF  expand.x
  SNARF  extensions.x
  SNARF  feature.x
  SNARF  filesys.x
  SNARF  fluids.x
  SNARF  foreign.x
  SNARF  fports.x
  SNARF  gc-malloc.x
  SNARF  gc.x
  SNARF  gettext.x
  SNARF  generalized-arrays.x
  SNARF  generalized-vectors.x
  SNARF  goops.x
  SNARF  gsubr.x
  SNARF  guardians.x
  SNARF  hash.x
  SNARF  hashtab.x
  SNARF  hooks.x
  SNARF  i18n.x
  SNARF  init.x
  SNARF  ioext.x
  SNARF  keywords.x
  SNARF  list.x
  SNARF  load.x
  SNARF  macros.x
  SNARF  mallocs.x
  SNARF  memoize.x
  SNARF  modules.x
  SNARF  numbers.x
  SNARF  objprop.x
  SNARF  options.x
  SNARF  pairs.x
  SNARF  ports.x
  SNARF  print.x
  SNARF  procprop.x
  SNARF  procs.x
  SNARF  promises.x
  SNARF  r6rs-ports.x
  SNARF  rdelim.x
  SNARF  random.x
  SNARF  read.x
  SNARF  root.x
  SNARF  rw.x
  SNARF  scmsigs.x
  SNARF  script.x
  SNARF  simpos.x
  SNARF  smob.x
  SNARF  sort.x
  SNARF  srcprop.x
  SNARF  srfi-1.x
  SNARF  srfi-4.x
  SNARF  srfi-13.x
  SNARF  srfi-14.x
  SNARF  srfi-60.x
  SNARF  stackchk.x
  SNARF  stacks.x
  SNARF  stime.x
  SNARF  strings.x
  SNARF  strorder.x
  SNARF  strports.x
  SNARF  struct.x
  SNARF  symbols.x
  SNARF  threads.x
  SNARF  throw.x
  SNARF  trees.x
  SNARF  uniform.x
  SNARF  values.x
  SNARF  variable.x
  SNARF  vectors.x
  SNARF  version.x
  SNARF  vports.x
  SNARF  weaks.x
  SNARF  frames.x
  SNARF  instructions.x
  SNARF  objcodes.x
  SNARF  programs.x
  SNARF  vm.x
  SNARF  posix.x
  SNARF  net_db.x
  SNARF  socket.x
  SNARF  regex-posix.x
make  all-am
  CC     libguile_2.0_la-alist.lo
  CC     libguile_2.0_la-arbiters.lo
  CC     libguile_2.0_la-array-handle.lo
  CC     libguile_2.0_la-array-map.lo
  CC     libguile_2.0_la-async.lo
  CC     libguile_2.0_la-backtrace.lo
  CC     libguile_2.0_la-arrays.lo
  CC     libguile_2.0_la-boolean.lo
  CC     libguile_2.0_la-bitvectors.lo
  CC     libguile_2.0_la-bytevectors.lo
  CC     libguile_2.0_la-chars.lo
  CC     libguile_2.0_la-control.lo
  CC     libguile_2.0_la-continuations.lo
  CC     libguile_2.0_la-debug.lo
  CC     libguile_2.0_la-deprecated.lo
  CC     libguile_2.0_la-deprecation.lo
  CC     libguile_2.0_la-dynwind.lo
  CC     libguile_2.0_la-eq.lo
  CC     libguile_2.0_la-error.lo
  CC     libguile_2.0_la-eval.lo
  CC     libguile_2.0_la-evalext.lo
  CC     libguile_2.0_la-expand.lo
  CC     libguile_2.0_la-extensions.lo
  CC     libguile_2.0_la-feature.lo
  CC     libguile_2.0_la-filesys.lo
  CC     libguile_2.0_la-fluids.lo
  CC     libguile_2.0_la-foreign.lo
  CC     libguile_2.0_la-fports.lo
  CC     libguile_2.0_la-frames.lo
  CC     libguile_2.0_la-gc-malloc.lo
  CC     libguile_2.0_la-gc.lo
  CC     libguile_2.0_la-gdbint.lo
  CC     libguile_2.0_la-gettext.lo
  CC     libguile_2.0_la-generalized-vectors.lo
  CC     libguile_2.0_la-generalized-arrays.lo
  CC     libguile_2.0_la-goops.lo
  CC     libguile_2.0_la-gsubr.lo
  CC     libguile_2.0_la-guardians.lo
  CC     libguile_2.0_la-hash.lo
  CC     libguile_2.0_la-hashtab.lo
  CC     libguile_2.0_la-hooks.lo
  CC     libguile_2.0_la-i18n.lo
  CC     libguile_2.0_la-init.lo
  CC     libguile_2.0_la-inline.lo
  CC     libguile_2.0_la-instructions.lo
  CC     libguile_2.0_la-ioext.lo
  CC     libguile_2.0_la-keywords.lo
  CC     libguile_2.0_la-list.lo
  CC     libguile_2.0_la-load.lo
  CC     libguile_2.0_la-macros.lo
  CC     libguile_2.0_la-mallocs.lo
  CC     libguile_2.0_la-memoize.lo
  CC     libguile_2.0_la-modules.lo
  CC     libguile_2.0_la-null-threads.lo
  CC     libguile_2.0_la-numbers.lo
  CC     libguile_2.0_la-objcodes.lo
  CC     libguile_2.0_la-objprop.lo
  CC     libguile_2.0_la-options.lo
  CC     libguile_2.0_la-pairs.lo
  CC     libguile_2.0_la-poll.lo
  CC     libguile_2.0_la-ports.lo
  CC     libguile_2.0_la-print.lo
  CC     libguile_2.0_la-procprop.lo
  CC     libguile_2.0_la-procs.lo
  CC     libguile_2.0_la-programs.lo
  CC     libguile_2.0_la-promises.lo
  CC     libguile_2.0_la-r6rs-ports.lo
  CC     libguile_2.0_la-random.lo
  CC     libguile_2.0_la-rdelim.lo
  CC     libguile_2.0_la-read.lo
  CC     libguile_2.0_la-root.lo
  CC     libguile_2.0_la-rw.lo
  CC     libguile_2.0_la-scmsigs.lo
  CC     libguile_2.0_la-script.lo
  CC     libguile_2.0_la-simpos.lo
  CC     libguile_2.0_la-smob.lo
  CC     libguile_2.0_la-sort.lo
  CC     libguile_2.0_la-srcprop.lo
  CC     libguile_2.0_la-srfi-1.lo
  CC     libguile_2.0_la-srfi-4.lo
  CC     libguile_2.0_la-srfi-13.lo
  CC     libguile_2.0_la-srfi-14.lo
  CC     libguile_2.0_la-srfi-60.lo
  CC     libguile_2.0_la-stackchk.lo
  CC     libguile_2.0_la-stacks.lo
  CC     libguile_2.0_la-stime.lo
  CC     libguile_2.0_la-strings.lo
  CC     libguile_2.0_la-strorder.lo
  CC     libguile_2.0_la-strports.lo
  CC     libguile_2.0_la-struct.lo
  CC     libguile_2.0_la-symbols.lo
  CC     libguile_2.0_la-threads.lo
  CC     libguile_2.0_la-throw.lo
threads.c: In function 'launch_thread':
threads.c:982: warning: implicit declaration of function 'GC_pthread_detach'
threads.c: In function 'scm_call_with_new_thread':
threads.c:1017: warning: implicit declaration of function 'GC_pthread_create'
  CC     libguile_2.0_la-trees.lo
  CC     libguile_2.0_la-uniform.lo
  CC     libguile_2.0_la-values.lo
  CC     libguile_2.0_la-variable.lo
  CC     libguile_2.0_la-vectors.lo
  CC     libguile_2.0_la-version.lo
  CC     libguile_2.0_la-vm.lo
  CC     libguile_2.0_la-vports.lo
  CC     libguile_2.0_la-weaks.lo
  CC     dynl.lo
  CC     posix.lo
  CC     net_db.lo
  CC     socket.lo
  CC     regex-posix.lo
  CC     guile-guile.o
  GEN    c-tokenize.o
  GEN    guile_filter_doc_snarfage
  SNARF  alist.doc
  SNARF  arbiters.doc
  SNARF  array-handle.doc
  SNARF  array-map.doc
  SNARF  arrays.doc
  SNARF  async.doc
  SNARF  backtrace.doc
  SNARF  boolean.doc
  SNARF  bitvectors.doc
  SNARF  bytevectors.doc
  SNARF  chars.doc
  SNARF  control.doc
  SNARF  continuations.doc
  SNARF  debug.doc
  SNARF  deprecated.doc
  SNARF  deprecation.doc
  SNARF  dynl.doc
  SNARF  dynwind.doc
  SNARF  eq.doc
  SNARF  error.doc
  SNARF  eval.doc
  SNARF  evalext.doc
  SNARF  expand.doc
  SNARF  extensions.doc
  SNARF  feature.doc
  SNARF  filesys.doc
  SNARF  fluids.doc
  SNARF  foreign.doc
  SNARF  fports.doc
  SNARF  gc-malloc.doc
  SNARF  gc.doc
  SNARF  gettext.doc
  SNARF  generalized-arrays.doc
  SNARF  generalized-vectors.doc
  SNARF  goops.doc
  SNARF  gsubr.doc
  SNARF  guardians.doc
  SNARF  hash.doc
  SNARF  hashtab.doc
  SNARF  hooks.doc
  SNARF  i18n.doc
  SNARF  init.doc
  SNARF  ioext.doc
  SNARF  keywords.doc
  SNARF  list.doc
  SNARF  load.doc
  SNARF  macros.doc
  SNARF  mallocs.doc
  SNARF  memoize.doc
  SNARF  modules.doc
memoize.c:479:***Mismatching FUNC_NAME.  Should be: `#define FUNC_NAME s_"@prompt"'
  SNARF  numbers.doc
  SNARF  objprop.doc
  SNARF  options.doc
  SNARF  pairs.doc
  SNARF  ports.doc
pairs.c:147:***Missing or erroneous `#define FUNC_NAME s_scm_cdr'
pairs.c:150:***Missing or erroneous #undef for scm_car: 
pairs.c:155:***Missing or erroneous `#define FUNC_NAME s_scm_cddr'
pairs.c:158:***Missing or erroneous #undef for scm_cdar: 
pairs.c:163:***Missing or erroneous `#define FUNC_NAME s_scm_cadr'
pairs.c:166:***Missing or erroneous #undef for scm_caar: 
pairs.c:171:***Missing or erroneous `#define FUNC_NAME s_scm_cdddr'
pairs.c:174:***Missing or erroneous #undef for scm_cddar: 
pairs.c:179:***Missing or erroneous `#define FUNC_NAME s_scm_cdadr'
pairs.c:182:***Missing or erroneous #undef for scm_cdaar: 
pairs.c:187:***Missing or erroneous `#define FUNC_NAME s_scm_caddr'
pairs.c:190:***Missing or erroneous #undef for scm_cadar: 
pairs.c:195:***Missing or erroneous `#define FUNC_NAME s_scm_caadr'
pairs.c:198:***Missing or erroneous #undef for scm_caaar: 
pairs.c:203:***Missing or erroneous `#define FUNC_NAME s_scm_cddddr'
pairs.c:206:***Missing or erroneous #undef for scm_cdddar: 
pairs.c:211:***Missing or erroneous `#define FUNC_NAME s_scm_cddadr'
pairs.c:214:***Missing or erroneous #undef for scm_cddaar: 
pairs.c:219:***Missing or erroneous `#define FUNC_NAME s_scm_cdaddr'
pairs.c:222:***Missing or erroneous #undef for scm_cdadar: 
pairs.c:227:***Missing or erroneous `#define FUNC_NAME s_scm_cdaadr'
pairs.c:230:***Missing or erroneous #undef for scm_cdaaar: 
pairs.c:235:***Missing or erroneous `#define FUNC_NAME s_scm_cadddr'
pairs.c:238:***Missing or erroneous #undef for scm_caddar: 
pairs.c:243:***Missing or erroneous `#define FUNC_NAME s_scm_cadadr'
pairs.c:246:***Missing or erroneous #undef for scm_cadaar: 
pairs.c:251:***Missing or erroneous `#define FUNC_NAME s_scm_caaddr'
pairs.c:254:***Missing or erroneous #undef for scm_caadar: 
pairs.c:259:***Missing or erroneous `#define FUNC_NAME s_scm_caaadr'
pairs.c:262:***Missing or erroneous #undef for scm_caaaar: 
  SNARF  print.doc
  SNARF  procprop.doc
  SNARF  procs.doc
  SNARF  promises.doc
  SNARF  r6rs-ports.doc
  SNARF  random.doc
  SNARF  rdelim.doc
  SNARF  read.doc
  SNARF  root.doc
  SNARF  rw.doc
  SNARF  scmsigs.doc
  SNARF  script.doc
  SNARF  simpos.doc
  SNARF  smob.doc
  SNARF  sort.doc
  SNARF  srcprop.doc
  SNARF  srfi-1.doc
  SNARF  srfi-4.doc
  SNARF  srfi-13.doc
  SNARF  srfi-14.doc
  SNARF  srfi-60.doc
  SNARF  stackchk.doc
  SNARF  stacks.doc
  SNARF  stime.doc
  SNARF  strings.doc
  SNARF  strorder.doc
  SNARF  strports.doc
  SNARF  struct.doc
  SNARF  symbols.doc
  SNARF  threads.doc
  SNARF  throw.doc
  SNARF  trees.doc
  SNARF  uniform.doc
  SNARF  values.doc
  SNARF  variable.doc
  SNARF  vectors.doc
  SNARF  version.doc
  SNARF  vports.doc
  SNARF  weaks.doc
  SNARF  posix.doc
  SNARF  net_db.doc
  SNARF  socket.doc
  SNARF  regex-posix.doc
make[3]: *** [libguile_2.0_la-vm.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Castafiore:guile-2.0.3 vdhoeven$