Giter VIP home page Giter VIP logo

at_server's People

Contributors

jrffrj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

at_server's Issues

编译失败 undefined reference to `g_variant_new'

使用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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.