2018-03-10

[Tips] checking for C compiler default output file name fail

checking whether the C compiler works... no
configure: error: in `/home/gj/git/ambarella/apps/lighttpd/lighttpd-1.4.31':
configure: error: C compiler cannot create executables
See `config.log' for more details


you can refer config.log and find out that LDFLAGS may doesn't include necessary LIBRARY.

...libmcu.so: undefined reference to `
...libmcu.so: undefined reference to `



So, the configure message will said C compiler cannot create executables

沒有留言: