checking for growing stack pointer... configure: error: in `/home/oct1158/Documents/Code/C/3/bluez/glib-2.57.1':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
解决办法:
echo glib_cv_stack_grows=no >> arm-linux.cache
然后./configure时带上--cache-file=arm-linux.cache选项。