Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

lwIP 文件夹直接导入报错 #1

@zhuozhuo

Description

@zhuozhuo

Hi,我看你组织是Leancloud,我就中文提问了哈。

最近在研究Fling App的局域网发现的功能,发现需要用到Netbios协议,在github中找到一个C写的相关代码,但是里面需要引用到lwip相关文件,搜索后找到了你的工程,所以打算引入你工程中的Iwip文件夹。 我工程中,直接把你工程中的lwIP文件夹导入我新建的工程,并在User Header Search Paths 设置了include的路径。但是模拟器或者真机编译时都报错,我下载并编译你的Framework是没有问题的,然后我对照了你的Build Settings的相关设置,并按照你的工程设置来还是没有解决问题。如果要导入这个文件夹是否有其他要求呢?

真机报错

Undefined symbols for architecture x86_64:
  "_tcp_input_pre", referenced from:
      _ip6_input in ip6.o
      _ip4_input in ip4.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions