build's People
Forkers
mayank-sirotiya-imgtec seank-img changeyourname abhijit-mahajani-imgtec manohar-narkhede-imgtec nikhil-zinjurde-imgtec avinash95 mar3kk mattatkinson francois-berderbuild'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 to
strdup'
contiki-mikro-e.a(lwm2m_definitio): In function NewObjectType': lwm2m_definition.c:(.text.NewObjectType+0x6c): undefined reference to
strdup'
contiki-mikro-e.a(lwm2m_definitio): In function NewResourceType': lwm2m_definition.c:(.text.NewResourceType+0x6c): undefined reference to
strdup'
contiki-mikro-e.a(lwm2m_util.o): In function Lwm2mCore_SplitQuery': lwm2m_util.c:(.text.Lwm2mCore_SplitQuery+0x30): undefined reference to
strdup'
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 to
strdup' 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.