jrffrj / at_server Goto Github PK
View Code? Open in Web Editor NEWjc09 at实现
jc09 at实现
使用gcc 编译失败 找不到引用函数 请问这个应该怎么处理下呢
gcc main.c -I. -I/usr/lib64/glib-2.0/include
/tmp/ccsJCu9F.o: In function adapter_at': main.c:(.text+0x11f6): undefined reference to
g_variant_new'
main.c:(.text+0x1233): undefined reference to g_dbus_connection_call_sync' main.c:(.text+0x1250): undefined reference to
g_error_free'
main.c:(.text+0x127f): undefined reference to g_variant_get' /tmp/ccsJCu9F.o: In function
adapter_sms_changed':
main.c:(.text+0x12c1): undefined reference to g_variant_get_type_string' main.c:(.text+0x12f9): undefined reference to
g_print'
main.c:(.text+0x132a): undefined reference to g_variant_get' main.c:(.text+0x1365): undefined reference to
g_variant_get_string'
main.c:(.text+0x13a0): undefined reference to g_variant_iter_next' /tmp/ccsJCu9F.o: In function
fn':
main.c:(.text+0x141a): undefined reference to mg_http_match_uri' main.c:(.text+0x1463): undefined reference to
mg_json_get_str'
main.c:(.text+0x14b2): undefined reference to mg_http_reply' main.c:(.text+0x14dc): undefined reference to
mg_http_reply'
main.c:(.text+0x1504): undefined reference to mg_http_reply' main.c:(.text+0x1521): undefined reference to
mg_json_get_str'
main.c:(.text+0x156d): undefined reference to mg_http_reply' main.c:(.text+0x15db): undefined reference to
mg_http_reply'
main.c:(.text+0x160d): undefined reference to mg_http_reply' main.c:(.text+0x1623): undefined reference to
mg_http_match_uri'
main.c:(.text+0x1668): undefined reference to mg_http_reply' main.c:(.text+0x1706): undefined reference to
mg_http_reply'
main.c:(.text+0x171c): undefined reference to mg_http_match_uri' main.c:(.text+0x1765): undefined reference to
mg_json_get_str'
main.c:(.text+0x188b): undefined reference to mg_http_reply' main.c:(.text+0x18b3): undefined reference to
mg_http_reply'
main.c:(.text+0x18db): undefined reference to mg_http_reply' main.c:(.text+0x194d): undefined reference to
mg_http_serve_dir'
/tmp/ccsJCu9F.o: In function signal_subscribe': main.c:(.text+0x1967): undefined reference to
g_main_loop_new'
main.c:(.text+0x19a0): undefined reference to g_dbus_connection_signal_subscribe' main.c:(.text+0x19b3): undefined reference to
g_main_loop_run'
main.c:(.text+0x19c7): undefined reference to g_dbus_connection_signal_unsubscribe' /tmp/ccsJCu9F.o: In function
main':
main.c:(.text+0x1a62): undefined reference to g_bus_get_sync' main.c:(.text+0x1a84): undefined reference to
g_print'
main.c:(.text+0x1dbc): undefined reference to pthread_create' main.c:(.text+0x1dc6): undefined reference to
mg_log_set'
main.c:(.text+0x1dd5): undefined reference to mg_mgr_init' main.c:(.text+0x1df5): undefined reference to
mg_http_listen'
main.c:(.text+0x1e09): undefined reference to `mg_mgr_poll'
collect2: error: ld returned 1 exit status
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.