GNU bug report logs - #32429
link error: "undefined reference to `scm_to_off_t'"

Previous Next

Package: guile;

Reported by: Stefan Husmann <stefan-husmann <at> t-online.de>

Date: Mon, 13 Aug 2018 16:44:02 UTC

Severity: normal

Tags: moreinfo

To reply to this bug, email your comments to 32429 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#32429; Package guile. (Mon, 13 Aug 2018 16:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Husmann <stefan-husmann <at> t-online.de>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Mon, 13 Aug 2018 16:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Husmann <stefan-husmann <at> t-online.de>
To: bug-guile <at> gnu.org
Subject: link error: "undefined reference to `scm_to_off_t'"
Date: Mon, 13 Aug 2018 18:44:16 +0200
Hello,

compiling guile's master under Arch Linux results in a link error:

posix.c: In function 'scm_nice':
posix.c:1892:3: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
   nice (scm_to_int (incr));
^~~~~~~~~~~~~~~~~~~~~~~~
  CC       libguile_3.0_la-net_db.lo
  CC       libguile_3.0_la-socket.lo
  CC       libguile_3.0_la-regex-posix.lo
  CCLD     libguile-3.0.la
/usr/bin/ld: .libs/libguile_3.0_la-posix.o: in function `scm_tmpnam':
posix.c:(.text+0x1f2d): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
  CC       guile-guile.o
  CCLD     guile
/usr/bin/ld: ./.libs/libguile-3.0.so: undefined reference to `scm_to_off_t'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2439: guile] Error 1
make[3]: Leaving directory '/home/haawda/paketierung/meine_Pakete/guile-git/src/guile/libguile'
make[2]: *** [Makefile:2298: all] Error 2
make[2]: Leaving directory '/home/haawda/paketierung/meine_Pakete/guile-git/src/guile/libguile'
make[1]: *** [Makefile:1844: all-recursive] Error 1
make[1]: Leaving directory '/home/haawda/paketierung/meine_Pakete/guile-git/src/guile'
make: *** [Makefile:1730: all] Error 2

Best Regards

Stefan Husmann




Information forwarded to bug-guile <at> gnu.org:
bug#32429; Package guile. (Sat, 15 Dec 2018 16:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 32429 <at> debbugs.gnu.org (full text, mbox):

From: Matt Wette <matt.wette <at> gmail.com>
To: 32429 <at> debbugs.gnu.org
Subject: scm_to_off_t
Date: Sat, 15 Dec 2018 08:33:56 -0800
can you post your config.log file?

That error is bizarre because scm_to_off_t should be #defined from 
libguile/syscalls.h




Added tag(s) moreinfo. Request was from Taylan Kammer <taylan.kammer <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 18 May 2021 16:33:02 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.