Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2021 23:36:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253776] [PATCH] multimedia/rtmpdump: fix build without optimizations
Message-ID:  <bug-253776-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253776

            Bug ID: 253776
           Summary: [PATCH] multimedia/rtmpdump: fix build without
                    optimizations
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: mizhka@gmail.com
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@FreeBSD.org

Created attachment 222733
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222733&action=
=3Dedit
SVN diff

Hi,

Build of multimedia/rtmpdump may fail in case of no optimization. For insta=
nce,
if make.conf contains "WITH_DEBUG=3Dyes" and "DEBUG_FLAGS=3D-g".=20
The error message is following:

--- rtmpdump ---
ld: error: undefined symbol: CleanupSockets
>>> referenced by rtmpdump.c:1410
>>>               rtmpdump.o:(main)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [rtmpdump] Error code 1

The reason is incorrect definition of inline function CleanupSockets. The
suggested patch adds "static" in definition of function and fixes problem.=
=20

Testport is done on default and "debug" environment, on 12.2 and 13.0-BETA1.

Thanks!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253776-7788>