我正在尝试使用LLVM (来自Homebrew)构建ELF文件,但我无法理解如何链接它。struct multiboot2_header_t {} multiboot2_header __attribute__((section(".multiboot"))); /* place all of your code afterwards */ }我可以通过命令将其编译成对象文件clang -<em
我正在尝试执行一个elf文件(称之为预编译),它给出了:从源代码编译可以正常工作.linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=<BUILD ID HERE>, not strippeda: ELF 64-bit
c++ --without-headers
make headers_install ARCH=i386 CROSS_COMPILE=i386-linux- INDTALL_HDR_PATH/sysdeps/unix/sysv/linux/fxstatat64.c:55: undefined reference to `__syscall_error'
/home/MyPC/opt/