TIP: Click on subject to list as thread! ANSI
echo: binkd
to: Oli
from: Oli
date: 2022-01-13 11:05:00
subject: Building with perl hooks

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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.