Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile mdns example #44

Open
jiqianghu opened this issue Aug 26, 2023 · 2 comments
Open

compile mdns example #44

jiqianghu opened this issue Aug 26, 2023 · 2 comments

Comments

@jiqianghu
Copy link

Many undefined reference to `mDNSResponderDeinit'....;
See "Realtek mDNS User Guide" to need change icf file, but application_is.icf is different with the doc.
How can I build with makefile without IAR IDE?

@jiqianghu
Copy link
Author

Link mdns .a library? or edit application_is.icf to make/compile it?

@renpeipei-realtek
Copy link
Contributor

Hi @jiqianghu,
The "Realtek mDNS User Guide" is not for z2 SDK, please refer to /component/common/example/mdns/readme.txt

  1. To link lib_mdns.a in IAR, right click "application_is-Debug -> lib", select "Add -> Add Files…", add lib_mdns.a in path /component/soc/realtek/8710c/misc/bsp/lib/common/IAR.
    image

  2. To link lib_mdns.a in GCC, modify /project/realtek_amebaz2_v0_example/GCC-RELEASE/application.is.mk, add "-l_mdns".
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants