Subj : Building with perl hooks
To : Oli
From : Oli
Date : Thu Jan 13 2022 11:05 am
Oli wrote (2022-01-13):
AI>>> Does ./binkd -vv mention perl at this point on a fresh make?
PH>> No, sadly not. Something is not being picked up.
O> Okay, it's some problem with the make process. Solution:
O> $ make clean
O> and then start from the beginning.
To reproduce the problem:
$ make clean (or fresh git clone)
$ ./configure
[...]
$ make
[...]
$ ./binkd -vv
Binkd 1.1a-113 (Jan 13 2022 10:53:17/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
$ ./configure --with-perl
[...]
$ make
Making depends...
Compiling perlhooks.c...
perlhooks.c: In function ‘perl_on_handshake’:
perlhooks.c:1935:11: warning: ‘strncpy’ specified bound 41 equals destination size [-Wstringop-truncation]
1935 | strncpy(state->expected_pwd, SvPV(passwd, len), sizeof(state->expected_pwd));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking binkd...
[...]
$ ./binkd -vv
Binkd 1.1a-113 (Jan 13 2022 10:53:17/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
---
* Origin: Birds aren't real (2:280/464.47)