Git Product home page Git Product logo

build's People

Contributors

avinash95 avatar francois-berder avatar manohar-narkhede-imgtec avatar mayank-sirotiya-imgtec avatar nikhil-zinjurde-imgtec avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build's Issues

Linking error wirth undefined reference to `strdup' in contiki build

Trying to build the various examples for the 6lowpanclicker right now.

Initiated the manifest with master (also tried dev, same result).

Whenever I run a build for contiki which includes the lwm2m example I get this linking error.

make[1]: Entering directory '/home/stefan/Projects/ieee802154/Ci40/creatorkit/packages/button-sensor'
CC lwm2m-client-button-sensor.c
LD lwm2m-client-button-sensor.mikro-e
contiki-mikro-e.a(coap_abstractio): In function coap_RegisterUri': coap_abstraction_contiki.c:(.text.coap_RegisterUri+0x20): undefined reference tostrdup'
contiki-mikro-e.a(lwm2m_definitio): In function NewObjectType': lwm2m_definition.c:(.text.NewObjectType+0x6c): undefined reference tostrdup'
contiki-mikro-e.a(lwm2m_definitio): In function NewResourceType': lwm2m_definition.c:(.text.NewResourceType+0x6c): undefined reference tostrdup'
contiki-mikro-e.a(lwm2m_util.o): In function Lwm2mCore_SplitQuery': lwm2m_util.c:(.text.Lwm2mCore_SplitQuery+0x30): undefined reference tostrdup'
lwm2m_util.c:(.text.Lwm2mCore_SplitQuery+0x98): undefined reference to strdup' contiki-mikro-e.a(lwm2m_util.o):lwm2m_util.c:(.text.Lwm2mCore_SplitQuery+0xdc): more undefined references tostrdup' follow
collect2: error: ld returned 255 exit status
../../constrained-os/contiki/Makefile.include:280: recipe for target 'lwm2m-client-button-sensor.mikro-e' failed
make[1]: *** [lwm2m-client-button-sensor.mikro-e] Error 255
rm lwm2m-client-button-sensor.co

xc32-gcc version is v1.42 and installed into /opt/microchip/xc32/v1.42/

As compilation itself seems to work I would thing maybe the linking flags are not setup correctly? Or is there some piece of code missing providing strdup for th this arch on contiki?

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.