-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Howdy all?
I have the following sw/hw config
babayaga# uname -a
OpenBSD babayaga.neotext.ca 7.3 GENERIC#2 sparc64
babayaga# /usr/sbin/smtpd -n
configuration OK
babayaga# /usr/sbin/smtpd -h
version: OpenSMTPD 7.0.0
usage: smtpd [-dFhnv] [-D macro=value] [-f file] [-P system] [-T trace]
babayaga# dmesg
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2023 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 7.3 (GENERIC) #2: Tue Feb 13 00:35:05 MST 2024
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 510001152 (486MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 270 MHz
and would like to test/configure OpenSMTPD before upgrading the rest
of the system (old&slow runs on 32G CF card).
But attempts to compile the OpenSMTP port fail:
Trying to build opensmtpd 7.7 on a sparc64 running OpenBSD 7.3 I get the
following:
/../usr.sbin/smtpd/queue_proc.o: In function `queue_proc_message_fd_r':
/../usr.sbin/smtpd/queue_proc.c:182: undefined reference to `imsg_get_fd'
/../usr.sbin/smtpd/scheduler_proc.o: In function `scheduler_proc_call':
/../usr.sbin/smtpd/scheduler_proc.c:43: undefined reference to `imsgbuf_flush'
/../usr.sbin/smtpd/scheduler_proc.c:64: undefined reference to `imsgbuf_read'
/../usr.sbin/smtpd/scheduler_proc.o: In function `scheduler_proc_init':
/../usr.sbin/smtpd/scheduler_proc.c:115: undefined reference to `imsgbuf_init'
/../usr.sbin/smtpd/scheduler_proc.c:117: undefined reference to
`imsgbuf_allow_fdpass'
collect2: ld returned 1 exit status
*** Error 1 in mk/smtpd (Makefile:1286 'smtpd')
*** Error 1 in mk (Makefile:398 'all-recursive': @fail=; if (target_option=k;
case ${target_option-} in ?) ;; *) echo "am__make_running_w...)
*** Error 1 in . (Makefile:451 'all-recursive': @fail=; if (target_option=k;
case ${target_option-} in ?) ;; *) echo "am__make_running_wi...)
*** Error 2 in /usr/local/stars/opensmtpd-7.7.0p0 (Makefile:358 'all')
On OpenBSD 7.4 on an AMD64 I get
>>> referenced by smtpd.c:933 (../../usr.sbin/smtpd/smtpd.c:933)
>>> ../../usr.sbin/smtpd/smtpd.o:(setup_peers)
>>> referenced 5 more times
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error 1 in mk/smtpd (Makefile:1286 'smtpd')
*** Error 1 in mk (Makefile:398 'all-recursive': @fail=; if (target_option=k;
case ${target_option-} in ?) ;; *) echo "am__make_running_w...)
*** Error 1 in . (Makefile:451 'all-recursive': @fail=; if (target_option=k;
case ${target_option-} in ?) ;; *) echo "am__make_running_wi...)
*** Error 2 in /usr/local/stars/opensmtpd-7.7.0p0 (Makefile:358 'all')
On opensmtpd-7.5.0p0
mpat/libtls/openssl.o ../../openbsd-compat/res_hnok.o
../../openbsd-compat/res_random.o -lz -lssl -lcrypto -lutil -levent
./../usr.sbin/smtpd/control.o: In function `control_imsg':
./../usr.sbin/smtpd/control.c:119: undefined reference to `imsg_get_fd'
./../usr.sbin/smtpd/lka.o: In function `lka_imsg':
./../usr.sbin/smtpd/lka.c:376: undefined reference to `imsg_get_fd'
./../usr.sbin/smtpd/lka.c:322: undefined reference to `imsg_get_fd'
./../usr.sbin/smtpd/lka.c:368: undefined reference to `imsg_get_fd'
./../usr.sbin/smtpd/mda.o: In function `mda_imsg':
./../usr.sbin/smtpd/mda.c:336: undefined reference to `imsg_get_fd'
./../usr.sbin/smtpd/mda.o:../../usr.sbin/smtpd/mda.c:215: more undefined
references to `imsg_get_fd' follow
collect2: ld returned 1 exit status
*** Error 1 in mk/smtpd (Makefile:1281 'smtpd')
*** Error 1 in mk (Makefile:397 'all-recursive': @fail=; if (target_option=k;
case ${target_option-} in ?) ;; *) echo "am__make_running_w...)
*** Error 1 in . (Makefile:450 'all-recursive': @fail=; if (target_option=k;
case ${target_option-} in ?) ;; *) echo "am__make_running_wi...)
*** Error 2 in /usr/local/stars/opensmtpd-7.5.0p0 (Makefile:357 'all')
So OpenSMTP 7.3 is the latest version that will compile.
Is this to be expected?
RSVP Thanks,
Duncan (Dhu) Campbell
--
Je suis Canadien:
Ce n'est pas Francais ou Anglais,
C'est une esp`ece de sauvage.
Ne obliviscaris: vix ea nostra voco!
*A mari ad mari ad mari*
Duncan Patton a Campbell
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQTKdleqECmr94McXWPR6f/NOjb3lQUCaF//GAAKCRDR6f/NOjb3
le34AQD3S8pCgU+dh80HxPVMsZOBxgaQ1jf0aswpAipo1Je+mAEAocgFAhMahRNp
fYZn+OTQHsUoGyD7AOYjyn/57FWlRwc=
=nmnu
-----END PGP SIGNATURE-----