The linux-libc-dev is installed and I have : find /usr/include/ -iname "*stddef*" /usr/include/linux/stddef.h /usr/include/c++/4.7/cstddef
Only the compiler can't find it. Maybe a variable is not defined correctly. What should I look at? De : Eric Decker [mailto:[email protected]] Envoyé : vendredi 5 avril 2013 07:38 À : MICHARD Romain 231795 Cc : [email protected] Objet : Re: [Tinyos-help] Missing header files when compiling and other errors On my system (Ubuntu 11.10), I find stddef.h lives in: find /usr/include/ -iname "*stddef*" /usr/include/linux/stddef.h /usr/include/c++/4.6/cstddef And stddef.h comes from the package... dpkg -S /usr/include/linux/stddef.h linux-libc-dev: /usr/include/linux/stddef.h Do you have linux-libc-dev installed? I looked on line to see if searching google offered any clues but didn't find much that made sense. On Thu, Apr 4, 2013 at 12:37 PM, MICHARD Romain 231795 <[email protected]<mailto:[email protected]>> wrote: That was already installed. Nothing better with a new installation. De : Eric Decker [mailto:[email protected]<mailto:[email protected]>] Envoyé : jeudi 4 avril 2013 20:24 À : MICHARD Romain 231795 Cc : [email protected]<mailto:[email protected]>; Eric Decker Objet : Re: [Tinyos-help] Missing header files when compiling and other errors i'm pretty sure you need to install build-essential try doing sudo apt-get install build-essential see if that helps. On Thu, Apr 4, 2013 at 5:56 AM, MICHARD Romain 231795 <[email protected]<mailto:[email protected]>> wrote: Hi, As my first message was placed in a different thread, I send another one. I've installed TinyOS in a new Kubuntu 12.10 machine. I'm typing "make micaz sim" in the /opt/tinyos-2.1.2/apps/Blink directory and I get this: mkdir -p simbuild/micaz make: python2.7-config : commande introuvable make: python2.7-config : commande introuvable make: python2.7-config : commande introuvable placing object files in simbuild/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"rmichard\" -DIDENT_HOSTNAME=\"rmichard-Virtua\" -DIDENT_USERHASH=0x56fde0f4L -DIDENT_TIMESTAMP=0x515af8e8L -DIDENT_UIDHASH=0x9caa1ad9L -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or directory /usr/lib/ncc/nesc_nx.h:62:22: error: inttypes.h: No such file or directory /usr/lib/ncc/nesc_nx.h:281: syntax error before `__nesc_ntoh_uint8' /usr/lib/ncc/nesc_nx.h:286: syntax error before `__nesc_hton_uint8' /usr/lib/ncc/nesc_nx.h:288: warning: type defaults to `int' in declaration of `base' /usr/lib/ncc/nesc_nx.h:288: `value' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:288: warning: data definition has no type or storage class ...(here are only the first error lines) make: *** [sim-exe] Erreur 1 Can anyone help me? Thanks. _______________________________________________ Tinyos-help mailing list [email protected]<mailto:[email protected]> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
