unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Jay K <jayk123@hotmail.com>
To: "guile-devel@gnu.org" <guile-devel@gnu.org>
Cc: Larkin Nickle <me@larbob.org>
Subject: Re: guile-2 on Tru64/OSF1 regcomp.c const warning and unresolved mktime_internal
Date: Thu, 8 Jul 2021 04:23:29 +0000	[thread overview]
Message-ID: <MWHPR1401MB19512E9F8C95E23B3CB3A773E6199@MWHPR1401MB1951.namprd14.prod.outlook.com> (raw)
In-Reply-To: <MWHPR1401MB19511CE70B53F93F05D05504E6199@MWHPR1401MB1951.namprd14.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 3377 bytes --]

> 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<https://www.gnu.org/software/gnulib/manual/html_node/timegm.html>

 - Jay

________________________________
From: Jay K
Sent: Thursday, July 8, 2021 4:04 AM
To: guile-devel@gnu.org <guile-devel@gnu.org>
Cc: Larkin Nickle <me@larbob.org>
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

[-- Attachment #2: Type: text/html, Size: 5866 bytes --]

      reply	other threads:[~2021-07-08  4:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08  4:04 guile-2 on Tru64/OSF1 regcomp.c const warning and unresolved mktime_internal Jay K
2021-07-08  4:23 ` Jay K [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR1401MB19512E9F8C95E23B3CB3A773E6199@MWHPR1401MB1951.namprd14.prod.outlook.com \
    --to=jayk123@hotmail.com \
    --cc=guile-devel@gnu.org \
    --cc=me@larbob.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).