> Unresolved symbol: mktime_internal > I haven't solved yet. Ok, well, comparing to Linux.. configure looks for function timegm, and if it is there, great, use it. If it is not there, do something else. timegm is in glibc but not OSF1 libc. GNU Gnulib: timegm - Jay ________________________________ From: Jay K Sent: Thursday, July 8, 2021 4:04 AM To: guile-devel@gnu.org Cc: Larkin Nickle Subject: guile-2 on Tru64/OSF1 regcomp.c const warning and unresolved mktime_internal /bin/ksh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/users/jay/s/guile-2.0-2.0.13+1.orig/lib -I.. -I/usr/users/jay/s/guile-2.0-2.0.13+1.orig -mieee -I/usr/users/jay/include -I/usr/users/jay/include -pthread -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c -o regex.lo /usr/users/jay/s/guile-2.0-2.0.13+1.orig/lib/regex.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/users/jay/s/guile-2.0-2.0.13+1.orig/lib -I.. -I/usr/users/jay/s/guile-2.0-2.0.13+1.orig -mieee -I/usr/users/jay/include -I/usr/users/jay/include -pthread -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c /usr/users/jay/s/guile-2.0-2.0.13+1.orig/lib/regex.c -DPIC -o .libs/regex.o In file included from /usr/users/jay/s/guile-2.0-2.0.13+1.orig/lib/regex.c:71:0: /usr/users/jay/s/guile-2.0-2.0.13+1.orig/lib/regcomp.c: In function 'build_charclass': /usr/users/jay/s/guile-2.0-2.0.13+1.orig/lib/regcomp.c:3607:3: warning: passing argument 1 of 'wctype' discards 'const' qualifier from pointer target type [enabled by default] In file included from ./wctype.h:59:0, mbcset->char_classes[mbcset->nchar_classes++] = __wctype (name); For increased portability, please cast away const here: mbcset->char_classes[mbcset->nchar_classes++] = __wctype ((char*)(name)); I realize it is just a warning, but still seems nice-ish. libtool: link: gcc -shared -DPIC .libs/binary-io.o .libs/c-ctype.o .libs/c-strcasecmp.o .libs/c-strncasecmp.o .libs/dirname-lgpl.o .libs/basename-lgpl.o .libs/stripslash.o .libs/full-read.o .libs/full-write.o .libs/hard-locale.o .libs/localcharset.o .libs/malloca.o .libs/math.o .libs/nproc.o .libs/pipe2.o .libs/safe-read.o .libs/safe-write.o .libs/stat-time.o .libs/strftime.o .libs/striconveh.o .libs/sys_socket.o .libs/tempname.o .libs/unistd.o .libs/wctype-h.o .libs/xsize.o .libs/asnprintf.o .libs/canonicalize-lgpl.o .libs/dirfd.o .libs/gai_strerror.o .libs/isfinite.o .libs/isinf.o .libs/malloc.o .libs/mbrtowc.o .libs/mbsinit.o .libs/mkostemp.o .libs/printf-args.o .libs/printf-parse.o .libs/putenv.o .libs/readlink.o .libs/regex.o .libs/secure_getenv.o .libs/setenv.o .libs/time_rz.o .libs/timegm.o .libs/unsetenv.o .libs/vasnprintf.o .libs/vsnprintf.o .libs/wcrtomb.o -L/usr/users/jay/lib -lunistring /usr/users/jay/lib/libiconv.so /usr/users/jay/lib/libgc.so -lpthread -lrt -lpthreads -lm -pthread -pthread -Wl,-msym -Wl,-soname -Wl,libgnu.so.0 `test -n "0.0.0:0.0" && func_echo_all "-Wl,-set_version -Wl,0.0.0:0.0"` -Wl,-update_registry -Wl,.libs/so_locations -o .libs/libgnu.so.0.0.0 Unresolved symbol: mktime_internal I haven't solved yet. libgnu.so? That seems kinda wrong but maybe I don't understand something. Maybe it is really just building libgnu.a and doesn't use/install libgnu.so. Thank you, - Jay