9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Conor Williams <conor.williams@gmail.com>
To: ori@eigenstate.org
Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Tcl 8.7a3 port to Plan 9
Date: Sun, 21 Jun 2020 23:40:18 +0100	[thread overview]
Message-ID: <CAL6pNZ844B2+E2bpJKK_kDOarHJsnLyOKR2Lc8LZv=HW1H+jqg@mail.gmail.com> (raw)
In-Reply-To: <CAL6pNZ9doWeiE3+wkROXgO2B=BuOLXbDtCO2_PKFDpjS_ZVm2Q@mail.gmail.com>

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

i cannot find the definition of "struct addrinfo" anywhere...

on freebsd it is in netdb.h


On Sun, Jun 21, 2020 at 10:24 PM Conor Williams <conor.williams@gmail.com>
wrote:

> ok...
> here are the errors on the two (unfortunately
> one compiles on yours)
> and i deleted TCL_HAVE_THREADS from
>  the list of cc defines as it broke 2 others (
> and didnt fix these two) (tclUnixSock.c,
> tclIOSock.c)
>
>
>
> /C
> ps. addrinfo is mentioned in the configure script and writes to
> tclConfig.h.in a flag (i tried turning this on and off)
> --
>
> cc -c -O    -DBUILD_tcl  -I"." -I/usr/glenda/tcl8.6.10/unix
> -I/usr/glenda/tcl8.6.10/generic -I/usr/glenda/tcl8.6.10/libtommath
>  -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\"
> -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
>  -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DNO_DLFCN_H=1
> -DHAVE_SYS_PARAM_H=1  -D_REENTRANT=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\"
> -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern -DTCL_SHLIB_EXT=\"\" -DNDEBUG=1
> -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\
> long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1
> -DNO_GETWD=1 -DNO_REALPATH=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1
> -DNO_FD_SET=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1
> -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TIMEZONE_VAR=1 -DNO_FSTATFS=1
> -Dsocklen_t=int -Dintptr_t=int -Duintptr_t=unsigned\ int -DNO_UNION_WAIT=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DNO_ISNAN=1
> -D_BSD_EXTENSION -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1
> -DMP_FIXED_CUTOFFS -DMP_NO_STDINT /usr/glenda/tcl8.6.10/generic/tclIOSock.c
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:191[stdin:18439] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:191[stdin:18439] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:192[stdin:18440] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:203[stdin:18449] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:205[stdin:18451] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:210[stdin:18456] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:230[stdin:18468] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:230[stdin:18468] name not
> declared: AI_PASSIVE
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:233[stdin:18471] structure not
> fully declared addrinfo
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:240[stdin:18478] incompatible
> types: "IND CONST CHAR" and "INT" for op "AS"
> /usr/glenda/tcl8.6.10/generic/tclIOSock.c:255[stdin:18489] structure not
> fully declared addrinfo
> too many errors
> *** Error code 1
> cc -c -O    -DBUILD_tcl  -I"." -I/usr/glenda/tcl8.6.10/unix
> -I/usr/glenda/tcl8.6.10/generic -I/usr/glenda/tcl8.6.10/libtommath
>  -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\"
> -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
>  -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DNO_DLFCN_H=1
> -DHAVE_SYS_PARAM_H=1  -D_REENTRANT=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\"
> -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern -DTCL_SHLIB_EXT=\"\" -DNDEBUG=1
> -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\
> long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1
> -DNO_GETWD=1 -DNO_REALPATH=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1
> -DNO_FD_SET=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1
> -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TIMEZONE_VAR=1 -DNO_FSTATFS=1
> -Dsocklen_t=int -Dintptr_t=int -Duintptr_t=unsigned\ int -DNO_UNION_WAIT=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DNO_ISNAN=1
> -D_BSD_EXTENSION -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1
> -DMP_FIXED_CUTOFFS -DMP_NO_STDINT /usr/glenda/tcl8.6.10/unix/tclUnixSock.c
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:39[stdin:18328] incomplete union
> element: sa6
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:39[stdin:18328] incomplete union
> element: sas
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:519[stdin:18657] name not
> declared: ECONNRESET
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:670[stdin:18754] name not
> declared: SHUT_RD
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:673[stdin:18757] name not
> declared: SHUT_WR
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:715[stdin:18784] incomplete
> structure: in6_addr
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:715[stdin:18784] incomplete
> structure: in6_addr
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:716[stdin:18785] structure not
> fully declared in6_addr
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:716[stdin:18785] name not
> declared: in6addr_any
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:725[stdin:18792] structure not
> fully declared in6_addr
> /usr/glenda/tcl8.6.10/unix/tclUnixSock.c:729[stdin:18796] structure not
> fully declared in6_addr
> too many errors
> *** Error code 1
> Configuring package 'itcl4.2.0'
> ln: conf27997.dir destination exists
> *** Error code 1
> `all' not remade because of errors
>
> On Sun, Jun 21, 2020 at 9:41 PM Conor Williams <conor.williams@gmail.com>
> wrote:
>
>> ok... down to two files..
>> it may be the posix threads...
>> leave it with me and i will post soon if i can't get ti.
>> thanks Ori
>>
>> On Sun, Jun 21, 2020 at 8:50 PM <ori@eigenstate.org> wrote:
>>
>>> > great...
>>> >
>>>
>>> Hopefully that's enough to get you past the hurdles for the
>>> other files :)
>>>
>>> If not, post a mkfile so that I don't have to hand-edit the
>>> command lines for each compilation, at least.
>>>
>>>

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

  reply	other threads:[~2020-06-21 22:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAL6pNZ_=-_KOertAzg=zhdcsu+0xPL-=Fy3HnwA50funft3mdw@mail.gmail.com>
     [not found] ` <5F3FC59B3F854BF644300D24C6D2BBFF@eigenstate.org>
     [not found]   ` <CAL6pNZ9eG116b7C3Z_7CFw57jU7tB36vLQkj6YDi5dF_OOYrXA@mail.gmail.com>
2020-06-21 19:47     ` Conor Williams
2020-06-21 19:50       ` ori
2020-06-21 20:41         ` Conor Williams
2020-06-21 21:24           ` Conor Williams
2020-06-21 22:40             ` Conor Williams [this message]
2020-06-21 23:01               ` ori
     [not found]                 ` <CAL6pNZ9iHNNKYYvOFzGF6AweZXFKJA-b5hY3UXGaEOONHsyz6Q@mail.gmail.com>
2020-06-21 23:27                   ` Fwd: " Conor Williams
2020-06-21 23:56                     ` Conor Williams
2020-06-22  0:08                       ` ori
2020-06-22  0:47                         ` Conor Williams
2020-06-22  0:53                           ` ori
2020-06-22  1:32                             ` Conor Williams
2020-06-22 11:18                               ` Conor Williams
2020-06-21 19:34 ori
  -- strict thread matches above, loose matches on Subject: below --
2020-06-21 10:27 Conor Williams
2020-06-21 12:54 ` [9fans] " Mat Kovach
2020-06-21 13:01   ` Conor Williams
2020-06-21 16:20 ` ori

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

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

  git send-email \
    --in-reply-to='CAL6pNZ844B2+E2bpJKK_kDOarHJsnLyOKR2Lc8LZv=HW1H+jqg@mail.gmail.com' \
    --to=conor.williams@gmail.com \
    --cc=9fans@9fans.net \
    --cc=ori@eigenstate.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 NNTP newsgroup(s).