aa65535 / hev-dns-forwarder

Forwarding DNS queries on TCP transport
44 stars 29 forks source link

在freshtomato mips路由器上运行提示 can't resolve symbol 'signalfd' #6

Open oglopss opened 4 years ago

oglopss commented 4 years ago

请问如何解决?

https://bitbucket.org/pedro311/freshtomato-mips/src/mips-master/

freshtomato编译时的配置是有epoll的,下面是当时编译的提示

Configure standard kernel features (for small systems) (EMBEDDED) [Y/?] y
  Sysctl syscall support (SYSCTL_SYSCALL) [Y/n/?] y
  Load all symbols for debugging/ksymoops (KALLSYMS) [N/y/?] n
  Support for hot-pluggable devices (HOTPLUG) [Y/n/?] y
  Enable support for printk (PRINTK) [Y/n/?] y
  BUG() support (BUG) [Y/n/?] y
  Enable ELF core dumps (ELF_CORE) [N/y/?] n
  Enable full-sized data structures for core (BASE_FULL) [Y/n/?] y
  Enable futex support (FUTEX) [Y/n/?] y
  Enable anonymous inode source (ANON_INODES) [Y/n/?] y
    Enable eventpoll support (EPOLL) [Y/n/?] y
    Enable signalfd() system call (SIGNALFD) [Y/n/?] y
    Enable timerfd() system call (TIMERFD) [Y/n/?] y
    Enable eventfd() system call (EVENTFD) [Y/n/?] y
  Use full shmem filesystem (SHMEM) [Y/n/?] y
  Enable VM event counters for /proc/vmstat (VM_EVENT_COUNTERS) [N/y/?] n
root@unknown:/jffs# ./hev-dns-forwarder 
./hev-dns-forwarder: can't resolve symbol 'signalfd'

root@unknown:/jffs# ldd ./hev-dns-forwarder 
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2aabf000)
    libc.so.0 => /lib/libc.so.0 (0x2aade000)
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
oglopss commented 4 years ago

知道原因了,因为路由器固件编译过程最后一步把他删了,重新编译了路由器固件以后可以运行了,可是没有任何输出,这正常么,log在哪里?