OpenWrt Forum Archive

Topic: configure fails: cannot find file in $(STAGING_DIR)/usr/include

The content of this topic has been archived on 31 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

checking atomic_ops.h usability... no
checking atomic_ops.h presence... no
checking for atomic_ops.h... no
configure: error: *** libatomic-ops headers not found
make[2]: *** [/mnt/bulk/archives/openwrt/build_dir/mipsel/XXXXXX-0.9.8/.configured] Error 1

# ls /mnt/bulk/archives/openwrt/staging_dir/mipsel/usr/include/*atom* -dF
/mnt/bulk/archives/openwrt/staging_dir/mipsel/usr/include/atomicops/
/mnt/bulk/archives/openwrt/staging_dir/mipsel/usr/include/atomic-ops/
/mnt/bulk/archives/openwrt/staging_dir/mipsel/usr/include/atomic_ops.h
/mnt/bulk/archives/openwrt/staging_dir/mipsel/usr/include/atomic_ops_malloc.h
/mnt/bulk/archives/openwrt/staging_dir/mipsel/usr/include/atomic_ops_stack.h
/mnt/bulk/archives/openwrt/staging_dir/mipsel/usr/include/libatomic-ops/

what gives?  if its not looking here where is it looking?  how can i diagnose configure?  i suck, i've been stabbing configure with sticks all night long and i still cant fix this blasted dependency.

i've kicked this package a couple more times,
why oh why, why cant configure find one of thos atomic-ops headers?  they'r right there!  whats going wrong!!

The discussion might have continued from here.