Compatibility issue installing packages under self-compiled image

I am having trouble installing ocserv package to self-compiled 19.07.1, the error message as follow:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ocserv:
 *      kernel (= 4.14.167-1-2e88863ccdd594fb8e842df3c25842ee)
 * opkg_install_cmd: Cannot install package ocserv.

The compiling process is that after git clone, git checkout openwrt-19.07, then after list the tags, git checkout v19.07.1, before make steps. Is there something wrong with the steps that caused the error message?

Perhaps the other solution would be compile ocserv by my self, but since it has a lot of dependencies, I am afraid it's hard for me to select all of the necessary packages for it to working.

BTW, I am compiling it myself because the annoying crash bug caused by flow control, I would like to apply patches to the driver to address this issue, which was not include in up-stream yet.

This is the solution. Generally when you select a package, the dependencies are automatically selected, so it may not be as bad as you think.

1 Like