Opkg host-compile fails

Build stops at host-compile of opkg.
Dont know what to do

make[2]: Entering directory '/home/user/openwrt/dir825'
make[3]: Entering directory '/home/user/openwrt/dir825/package/system/opkg'
make[3]: *** No rule to make target 'host-compile'.  Stop.
make[3]: Leaving directory '/home/user/openwrt/dir825/package/system/opkg'
package/Makefile:106: recipe for target 'package/system/opkg/host/compile' failed
make[2]: *** [package/system/opkg/host/compile] Error 2
make[2]: Leaving directory '/home/user/openwrt/dir825'
package/Makefile:103: recipe for target '/home/user/openwrt/dir825/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_install' failed
make[1]: *** [/home/user/openwrt/dir825/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/user/openwrt/dir825'

Post a longer log. The lines you've shown contain zero information.

Some packages fail to compile in multithread mode (-j X)
For example openssl.
I did make package/opkg/host/compile and it compiled and fixed the problem
Same thing about openssl. Had to clean and make single threaded

[ 98%] Linking C executable opkg-cl
../libopkg/libopkg.a(pkg.c.o): In function `pkg_init':
/home/openwrt/openwrt/build_dir/target-mips_24kc_musl-1.1.16/host/opkg-2017-12-08-9f61f7ac/libopkg/pkg.c:88: undefined reference to `blob_buf_init'
../libopkg/libopkg.a(pkg.c.o): In function `pkg_set_raw':
/home/openwrt/openwrt/build_dir/target-mips_24kc_musl-1.1.16/host/opkg-2017-12-08-9f61f7ac/libopkg/pkg.c:117: undefined reference to `blob_put'
../libopkg/libopkg.a(pkg.c.o): In function `pkg_init':
/home/openwrt/openwrt/build_dir/target-mips_24kc_musl-1.1.16/host/opkg-2017-12-08-9f61f7ac/libopkg/pkg.c:88: undefined reference to `blob_buf_init'
../libopkg/libopkg.a(pkg.c.o): In function `pkg_deinit':
/home/openwrt/openwrt/build_dir/target-mips_24kc_musl-1.1.16/host/opkg-2017-12-08-9f61f7ac/libopkg/pkg.c:336: undefined reference to `blob_buf_free'
../libopkg/libopkg.a(file_util.c.o): In function `file_md5sum_alloc':
/home/openwrt/openwrt/build_dir/target-mips_24kc_musl-1.1.16/host/opkg-2017-12-08-9f61f7ac/libopkg/file_util.c:157: undefined reference to `md5sum'
collect2: error: ld returned 1 exit status
src/CMakeFiles/opkg-cl.dir/build.make:97: recipe for target 'src/opkg-cl' failed
make[5]: *** [src/opkg-cl] Error 1
make[5]: Leaving directory '/home/openwrt/openwrt/build_dir/target-mips_24kc_musl-1.1.16/host/opkg-2017-12-08-9f61f7ac'
CMakeFiles/Makefile2:196: recipe for target 'src/CMakeFiles/opkg-cl.dir/all' failed