日期:2014-05-16 浏览次数:20859 次
make[2]: Entering directory `/home/gfs/study/dbus/dbus-1.2.24/bus' CCLD dbus-daemon /opt/crosstool/arm-linux/gcc-3.4.4-glibc-2.3.5/arm-linux/lib/gcc/arm-linux/3.4.4 /../../../../arm-linux/bin/ld: Warning: gc-sections option ignored bus.o: In function `process_config_postinit': /opt/crosstool/arm-linux/gcc-3.4.4-glibc-2.3.5/arm-linux/lib/gcc/arm-linux/3.4.4 /../../../../arm-linux/lib/libc_nonshared.a(elf-init.oST): In function `__libc_c su_init': elf-init.c:(.text+0x5c): undefined reference to `__init_array_end' elf-init.c:(.text+0x60): undefined reference to `__init_array_start' /opt/crosstool/arm-linux/gcc-3.4.4-glibc-2.3.5/arm-linux/lib/gcc/arm-linux/3.4.4 /../../../../arm-linux/lib/libc_nonshared.a(elf-init.oST): In function `__libc_c su_fini': elf-init.c:(.text+0xbc): undefined reference to `__fini_array_end' elf-init.c:(.text+0xc0): undefined reference to `__fini_array_start' collect2: ld returned 1 exit status make[2]: *** [dbus-daemon] Error 1 make[2]: Leaving directory `/home/gfs/study/dbus/dbus-1.2.24/bus' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gfs/study/dbus/dbus-1.2.24' make: *** [all] Error 2
CFLAGS = -ffunction-sections -fdata-sections -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wf loat-equal -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -fno-strict-aliasing
CFLAGS = -ffunction-sections -fdata-sections -g -O2 -shared -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wf loat-equal -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -fno-strict-aliasing