i am currently trying to port adam dunkels uip code to the msp430-gcc
compiler.  i have posted a request for where i might find bill
knight's port but nobody has responded.  here is an error i get when
trying link the object files together.  i had this same problem with
the way the ethernet address was declared in the file uip_arp.c

struct uip_eth_addr uip_ethaddr = {{UIP_ETHADDR0,
                                    UIP_ETHADDR1,
                                    UIP_ETHADDR2,
                                    UIP_ETHADDR3,
                                    UIP_ETHADDR4,
                                    UIP_ETHADDR5}};

i had to comment this out and in the uipopt.h file and define
UIP_FIXETHADDR to be 0.  is there somebody out there who is familiar
with this type of linking error that could possibly kick down some
insight.

msp430-gcc -Wall -mmcu=msp430x149 -g -Os   -c -o fs.o fs.c
msp430-gcc -Wall -mmcu=msp430x149 -g -Os   -c -o httpd.o httpd.c
msp430-gcc -Wall -mmcu=msp430x149 -g -Os -o yep main.o cs8900a.o uip.o
uip_arch.o uip_arp.o cgi.o fs.o httpd.o
msp430-ld: section .fini9 [00004d8e -> 00004d8f] overlaps section
.data [00004d8e -> 00004da5]
msp430-ld: section .fini0 [00004d90 -> 00004d95] overlaps section
.data [00004d8e -> 00004da5]
msp430-ld: section .init0 [00004d96 -> 00004d9b] overlaps section
.data [00004d8e -> 00004da5]
msp430-ld: section .init2 [00004d9c -> 00004db5] overlaps section
.data [00004d8e -> 00004da5]
make: *** [yep] Error 1

thanks,
aaron

Reply via email to