1. 说明 使用clang++10.1编译报错: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crt1.o: in function `_start': (.text+0x24): undefined reference to `main' clang-10: error: linker command failed with exit code 1 (use -v to see invocatio…
编译PHP 报错:node.c: In function dom_canonicalization /opt/php-5.2.17/ext/dom/node.c:1953: error: dereferencing pointer to incomplete type 是libxml导致的问题,可以下载补丁patch一下. # curl -o php-5.x.x.patch https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4…