我为 MIPS 平台交叉编译了 avahi-0.8 库。我可以从控制台运行 avahi 守护进程,但收到以下警告:
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
如何去掉上面的警告呢?
日志截图:
[root@Ingenic:~]# avahi-daemon --file=/system/etc/avahi/avahi-daemon.conf
Found user 'root' (UID 0) and group 'root' (GID 0).
Successfully dropped root privileges.
avahi-daemon 0.8 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Loading service file /system/etc/avahi/services/sftp-ssh.service.
Loading service file /system/etc/avahi/services/ssh.service.
socket() failed: Address family not supported by protocol
Failed to create IPv6 socket, proceeding in IPv4 only mode
socket() failed: Address family not supported by protocol
Joining mDNS multicast group on interface eth0.IPv4 with address 10.42.0.148.
New relevant interface eth0.IPv4 for mDNS.
Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.0.
New relevant interface lo.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for 10.42.0.148 on eth0.IPv4.
Registering new address record for 127.0.0.0 on lo.IPv4.
Server startup complete. Host name is Ingenic.local. Local service cookie is 315733776.
Service "Ingenic" (/system/etc/avahi/services/ssh.service) successfully established.
Service "Ingenic" (/system/etc/avahi/services/sftp-ssh.service) successfully established.