|
From: David K. <da...@em...> - 2011-10-05 15:50:01
|
That is close to fitting. $make WITH_WEBSERVER=0 is necessary. slip-bridge.c has some debug prints you can turn off with #define DEBUG DEBUG_NONE. Also the slip buffer adds another UIP_BUFSIZE, for every byte you reduce that you free two bytes. -----Original Message----- From: pietro gonizzi Sent: Wednesday, October 05, 2011 11:34 AM To: Contiki developer mailing list Subject: Re: [Contiki-developers] Rpl-border-router compilation error Hi David, thanks for your help. Problems also occur when compiling the application for the sky platform. $ cd contiki/example/ipv6/rpl-border-router $ make TARGET=sky ... /opt/msp430-gcc-4.4.5/lib/gcc/msp430/4.4.5/../../../../msp430/bin/ld: border-router.sky section `.text' will not fit in region `text' /opt/msp430-gcc-4.4.5/lib/gcc/msp430/4.4.5/../../../../msp430/bin/ld: section .vectors loaded at [0000ffe0,0000ffff] overlaps section .text loaded at [00004000,0001014f] /opt/msp430-gcc-4.4.5/lib/gcc/msp430/4.4.5/../../../../msp430/bin/ld: region `text' overflowed by 588 bytes collect2: ld returned 1 exit status make: *** [border-router.sky] Error 1 rm obj_sky/contiki-sky-main.o border-router.co It seems the code requires too much memory. Has anybody experienced the same problem? pietro 2011/10/5 David Kopf <da...@em...> The border router example does not compile on those platforms, as there is no slip connection. See http://www.sics.se/contiki/wiki/index.php/A_RPL_network_on_the_minimal-net_platform for a windows/cygwin build that uses webserver6 and these defines in contiki-conf.h: #define UIP_CONF_IPV6_RPL 1 #define RPL_BORDER_ROUTER 1 -----Original Message----- From: pietro gonizzi Sent: Wednesday, October 05, 2011 8:56 AM To: con...@li... Subject: [Contiki-developers] Rpl-border-router compilation error Hi all, I am getting the following errors when compiling rpl-border-router.c application for the minimal-net and native platforms: $ make TARGET=minimal-net ... border-router.co: In function `request_prefix': /home/user/contiki/examples/ipv6/rpl-border-router/border-router.c:206: undefined reference to `slip_send' ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Contiki-developers mailing list Con...@li... https://lists.sourceforge.net/lists/listinfo/contiki-developers ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Contiki-developers mailing list Con...@li... https://lists.sourceforge.net/lists/listinfo/contiki-developers |