[Tcsh] configure fails on Debian 12 (bookworm)

Kimmo Suominen kim at netbsd.org
Thu Apr 13 19:41:22 UTC 2023


The full output is here:
https://www.netbsd.org/~kim/tcsh/output.amd64.txt


On Thu 13. Apr 2023 at 19.34 Christos Zoulas <christos at zoulas.com> wrote:

> On 2023-04-13 9:45 am, Kimmo Suominen wrote:
> > | configure:8065: gcc -c -g -O2
> > -ffile-prefix-map=/home/builder/build-aAEu4Kg5pL/tcsh-6.24.09=.
> > -fstack-protector-strong -Wformat
> > -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wdate-time
> > -D_FORTIFY_SOURCE=2 conftest.c >&5
> > | conftest.c: In function 'main':
> > | conftest.c:42:24: error: expected expression before ')' token
> > |    42 | if (sizeof ((socklen_t)))
> > |       |                        ^
> >
> > root at 07589e99ecd2:/# gcc --version
> > gcc (Debian 12.2.0-14) 12.2.0
>
> Where does it define socklen_t?
>
> AC_DEFUN([AC_TYPE_SOCKLEN_T], [
> AC_CHECK_TYPE(socklen_t,,
> AC_DEFINE(socklen_t, int, [Define to `int' if neither <sys/types.h> nor
> <sys/soc
> ket.h> define.]), [dnl
> #include <sys/types.h>
> #include <sys/socket.h>
> ])
> ])
> AC_TYPE_SOCKLEN_T()
>
> --
> christos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20230413/8482ee47/attachment.htm>


More information about the Tcsh mailing list