我在mac上尝试编译开源的dnspod-sr,我已经把ubuntu下的/usr/include全部移植到mac上,编译是没有缺少文件的错误,但是却报出一下错误:- Undefined symbols for architecture x86_64:

  • "___errno_location", referenced from:
  • _connect_to in net.o
  • _tcp_write_info in net.o
  • _tcp_read_dns_msg in net.o
  • _handle_event in event.o
  • "_epoll_create", referenced from:
  • _add_backdoor in net.o
  • _create_event in event.o
  • "_epoll_ctl", referenced from:
  • _add_backdoor in net.o
  • _add_event in event.o
  • _del_event in event.o
  • _release_qoutinfo in author.o
  • _after_pass_data in author.o
  • _handle_back_event in author.o
  • "_epoll_wait", referenced from:
  • _handle_event in event.o
  • _handle_back_event in author.o
  • "_sigtimedwait", referenced from:
  • _time_cron in init.o
  • ld: symbol(s) not found for architecture x86_64
  • collect2: ld returned 1 exit status
  • 复制代码这些.o文件都是在dnspod的文件夹中的。

上网查了应该是没有连接某个框架吧,谁懂怎么解决?李院长?