编译ucos+lwip出现了问题,请大家释疑
出错提示如下:make: Entering directory `/home/net/ucip/proj/sim_ucos/core'
+ linking o file ... : startup.o at91_init.o os_core.o os_mbox.o os_mem.o os_q.o os_task.o os_time.o os_flag.o os_sem.o os_cpu_c.o os_cpu_a.o skyeye_printf.o ../api_lib.o ../api_msg.o ../arp.o ../err.o ../icmp.o ../inet.o ../ip_addr.o ../ip.o ../lib_arch.o ../loopif.o ../mem.o ../memp.o ../ne2kif.o ../netif.o ../pbuf.o ../sockets.o ../stats.o ../sys_arch.o ../sys.o ../tcp_input.o ../tcpip.o ../tcp.o ../tcp_output.o ../test_sim.o ../udp.o -> ucos.elf
/usr/local/lib/gcc-lib/arm-elf/2.95.3//libgcc.a(__main.o): In function `__do_global_ctors':
__main.o(.text+0xc4): undefined reference to `__CTOR_LIST__'
/usr/local/lib/gcc-lib/arm-elf/2.95.3//libgcc.a(__main.o)(.data+0x0): undefined reference to `__DTOR_LIST__'
make: *** Error 1
make: Leaving directory `/home/net/ucip/proj/sim_ucos/core'
make: *** Error 2
make: Leaving directory `/home/net/ucip/proj/sim_ucos'
make: *** Error 2
好像是gcc的lib文件中有问题,该怎么解决啊??? 我也是这个问题,郁闷中 http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=77858&start=0&postdays=0&postorder=asc&highlight=__DTOR_LIST__
页:
[1]