[Bug 261274] dns/dnsjit build error

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jan 2022 15:07:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261274

            Bug ID: 261274
           Summary: dns/dnsjit build error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jaap@NLnetLabs.nl
                CC: freebsd@dns.company
                CC: freebsd@dns.company
             Flags: maintainer-feedback?(freebsd@dns.company)

Created attachment 231076
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231076&action=edit
patch to fix build problem

It seems that I cannot build dns/dnsjit anymore, it complains with

ld: error: undefined symbol: _send_tls
>>> referenced by dnscli.c
>>>               output/dnscli.o:(output_dnscli_send)

ld: error: undefined symbol: _send_tcp
>>> referenced by dnscli.c
>>>               output/dnscli.o:(output_dnscli_send)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [dnsjit] Error code 1

The attached patch fixes this but there is probably a better way

-- 
You are receiving this mail because:
You are the assignee for the bug.