Invoked as: /home/kio/pub/Develop/Projects/pico/openocd/jimtcl/configure --disable-install-jim --disable-option-checking --prefix=/usr/local --cache-file=/dev/null --srcdir=. Tclsh: /usr/bin/tclsh Failed: cc -g -O2 -c conftest__.c -o conftest__.o conftest__.c:1:10: fatal error: crt_externs.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~ compilation terminated. child process exited abnormally ============ The failed code was: #include int main(void) { return 0; } ============ Failed: cc -g -O2 conftest__.c -o conftest__ /usr/bin/ld: /tmp/cc6GBmxO.o: in function `main': /home/kio/pub/Develop/Projects/pico/openocd/jimtcl/conftest__.c:3: undefined reference to `sys_signame' collect2: error: ld returned 1 exit status child process exited abnormally ============ The failed code was: extern void sys_signame(void); int main(void) { sys_signame(); return 0; } ============ Failed: cc -g -O2 conftest__.c -o conftest__ /usr/bin/ld: /tmp/ccgbmwJI.o: in function `main': /home/kio/pub/Develop/Projects/pico/openocd/jimtcl/conftest__.c:3: undefined reference to `sys_siglist' collect2: error: ld returned 1 exit status child process exited abnormally ============ The failed code was: extern void sys_siglist(void); int main(void) { sys_siglist(); return 0; } ============ Failed: cc -g -O2 -c conftest__.c -o conftest__.o conftest__.c: In function 'main': conftest__.c:4:40: error: 'struct stat' has no member named 'st_mtimespec' 4 | static struct stat _s; return sizeof(_s.st_mtimespec); | ^ child process exited abnormally ============ The failed code was: #include #include int main(void) { static struct stat _s; return sizeof(_s.st_mtimespec); return 0; } ============ Failed: cc -g -O2 -c conftest__.c -o conftest__.o conftest__.c: In function 'main': conftest__.c:3:12: error: size of array '_x' is negative 3 | static int _x[sizeof(off_t) == 4 ? 1 : -1] = { 1 }; | ^~ child process exited abnormally ============ The failed code was: #include int main(void) { static int _x[sizeof(off_t) == 4 ? 1 : -1] = { 1 }; return 0; } ============ Failed: cc -g -O2 conftest__.c -o conftest__ /usr/bin/ld: /tmp/ccuUdcmZ.o: in function `main': /home/kio/pub/Develop/Projects/pico/openocd/jimtcl/conftest__.c:3: undefined reference to `_NSGetEnviron' collect2: error: ld returned 1 exit status child process exited abnormally ============ The failed code was: extern void _NSGetEnviron(void); int main(void) { _NSGetEnviron(); return 0; } ============ Failed: cc -g -O2 -c conftest__.c -o conftest__.o conftest__.c: In function 'main': conftest__.c:4:1: error: too few arguments to function 'mkdir' 4 | mkdir("/dummy"); | ^~~~~ In file included from conftest__.c:2: /usr/include/x86_64-linux-gnu/sys/stat.h:389:12: note: declared here 389 | extern int mkdir (const char *__path, __mode_t __mode) | ^~~~~ child process exited abnormally ============ The failed code was: #include #include int main(void) { mkdir("/dummy"); return 0; } ============