OpenWrt Build Error : Cannot satisfy the following dependencies for asterisk : jansson

Taking several steps back.
What git repository have you cloned? It does not sound like vanilla OpenWrt.

Can you provide a link to it?

1 Like

You're using 3 year old OpenWrt source, but trying to bring in a modern packages feed. This is the root of your troubles.
Jansson was moved from packages into the main OpenWrt source in 2020.

You'll need to bring Jansson in from here: https://github.com/openwrt/packages/tree/lede-17.01/libs/jansson
My suggestion would be that you switch your packages feed for your entire build to the lede-17.01 branch for maximum compatibility. Note that if you do this, "asterisk" doesn't exist. There are several versions called "asterisk-11", "asterisk-13" etc.

You should probably seek support from your vendor for these builds, and encourage them to update to the latest sources :slight_smile:

5 Likes

Thank you. I actually built again everything by using the latest version of OpenWrt V19.07 https://github.com/openwrt/openwrt, enabled Asterisk and build was successful.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.