Cross compile static libnuma for arm
I'm trying to cross compile libnuma for arm arch. In process of compiling i am facing below issue while generating libnuma.so file.
arm-linux-gnueabi-gcc -static -Wl,-soname=libnuma.so.1 -Wl,--version-script,versions.ldscript -Wl,-init,numa_init -o libnuma.so.1 libnuma.o syscall.o distance.o /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/lib/../lib/crt1.o: In function _start': (.text+0x34): undefined reference to
main' collect2: error: ld returned 1 exit status make: *** [libnuma.so.1] Error 1
Can anyone please tell me how to overcome out of this issue inorder to generate static library?
链接地址: http://www.djcxy.com/p/86906.html上一篇: 在GCC中,是否可以从其他头文件中包含预编译头文件?
下一篇: 交叉编译arm的静态libnuma