[Bug 248738] multimedia/libv4l: Fix build with -fno-common (clang 11 and gcc 10)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 19 08:51:08 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248738

--- Comment #2 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Hans Petter Selasky from comment #1)
Yes, the symbols get defined in lib/libdvbv5/dvb-v5.c. They were doubly defined
in a .h file, which is incorrect.

The symbols for which I changed the declarations in the .h file to extern are
in the .so:

% nm -D /usr/local/lib/libdvbv5.so.0.0.0 | grep -F -e delivery_system_name -e
dvb_v5_name -e fe_bandwidth_name -e fe_code_rate_name -e fe_guard_interval_name
-e fe_hierarchy_name -e fe_inversion_name -e fe_modulation_name -e
fe_pilot_name -e fe_rolloff_name -e fe_tone_name -e fe_transmission_mode_name
-e fe_voltage_name
00000000000558b0 D delivery_system_name
0000000000055670 D dvb_v5_name
000000000001e360 R fe_bandwidth_name
00000000000553f0 D fe_code_rate_name
0000000000055530 D fe_guard_interval_name
0000000000055590 D fe_hierarchy_name
0000000000055600 D fe_inversion_name
0000000000055460 D fe_modulation_name
0000000000055620 D fe_pilot_name
0000000000055640 D fe_rolloff_name
00000000000555e0 D fe_tone_name
00000000000554e0 D fe_transmission_mode_name
00000000000555c0 D fe_voltage_name

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


More information about the freebsd-multimedia mailing list