[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32429: link error: "undefined reference to `scm_to_off_t'"

From: Stefan Husmann
Subject: bug#32429: link error: "undefined reference to `scm_to_off_t'"
Date: Mon, 13 Aug 2018 18:44:16 +0200


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 
  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 
make[2]: *** [Makefile:2298: all] Error 2
make[2]: Leaving directory 
make[1]: *** [Makefile:1844: all-recursive] Error 1
make[1]: Leaving directory 
make: *** [Makefile:1730: all] Error 2

Best Regards

Stefan Husmann

reply via email to

[Prev in Thread] Current Thread [Next in Thread]