Open Bug 1225736 Opened 10 years ago Updated 3 years ago

Turn on MDNS service on Linux

Categories

(Core :: Networking, defect, P5)

All
Linux
defect

Tracking

()

People

(Reporter: schien, Unassigned)

References

Details

(Whiteboard: [necko-would-take])

Attachments

(1 file)

Need to provide an implementation of MDNS service on Linux to support Presentation API. I plan to integrate mDNSResponder into m-c. https://opensource.apple.com/tarballs/mDNSResponder/
The common MDNS library available on Linux is Avahi. Avahi has a dns_sd.h compliant library (libavahi-compat-libdns_sd) but is no longer maintained. Therefore we need to use Avahi client library directly but not reuse the current mDNSResponder implementation.
Whiteboard: [necko-would-take]
remove myself from assignee since I'm not actively working on it at this moment.
Assignee: schien → nobody
Assignee: nobody → xeonchen
WIP, early-stage implementation of Avahi operator. However, this encounters the following link error: ../../build/unix/gold/ld: error: Unified_cpp_dns_mdns_libmdns0.o: requires dynamic R_X86_64_PC32 reloc against 'avahi_service_browser_new' which may overflow at runtime; recompile with -fPIC ../../build/unix/gold/ld: error: Unified_cpp_dns_mdns_libmdns0.o: requires dynamic R_X86_64_PC32 reloc against 'avahi_client_errno' which may overflow at runtime; recompile with -fPIC ../../build/unix/gold/ld: error: Unified_cpp_dns_mdns_libmdns0.o: requires dynamic R_X86_64_PC32 reloc against 'avahi_threaded_poll_stop' which may overflow at runtime; recompile with -fPIC ../../build/unix/gold/ld: error: Unified_cpp_dns_mdns_libmdns0.o: requires dynamic R_X86_64_PC32 reloc against 'avahi_threaded_poll_new' which may overflow at runtime; recompile with -fPIC I once made it work, but it just doesn't work anymore. Currently I have no idea how to solve this.
I'm not actively handling this issue, and it is okay if anyone wanna take this bug.
Assignee: xeonchen → nobody
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: