|
发表于 2006-8-7 10:53:01
|
显示全部楼层
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.text+0xc4): In function `__do_global_ctors':
: 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__'
collect2: ld returned 1 exit status
make: *** [aodvd-arm] 错误 1
这不是编译器的问题,是源代码的问题,
检查一下__CTOR_LIST__和__DTOR_LIST__有没有在头文件里定义. |
|