.libs/libcurl.ver:2: syntax error in VERSION script

/home/admin/workspace/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld:.libs/libcurl.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
Makefile:1239: recipe for target 'libcurl.la' failed
make[5]: *** [libcurl.la] Error 1
make[5]: Leaving directory '/home/admin/workspace/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.68.0/lib'
Makefile:949: recipe for target 'install-recursive' failed
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory '/home/admin/workspace/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.68.0'
Makefile:183: recipe for target '/home/admin/workspace/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.68.0/.built' failed
make[3]: *** [/home/admin/workspace/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.68.0/.built] Error 2
make[3]: Leaving directory '/home/admin/workspace/openwrt/package/network/utils/curl'
time: package/network/utils/curl/compile#0.31#0.12#0.40
package/Makefile:111: recipe for target 'package/network/utils/curl/compile' failed
make[2]: *** [package/network/utils/curl/compile] Error 2
make[2]: Leaving directory '/home/admin/workspace/openwrt'
package/Makefile:107: recipe for target '/home/admin/workspace/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile' failed
make[1]: *** [/home/admin/workspace/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/admin/workspace/openwrt'
/home/admin/workspace/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2
cd staging_dir/host/bin
ls -l

Ensure links are not broken and have the right permissions.
For example,

which grep 
/bin/grep
ls -l grep 
444 grep -> /usr/bin/grep

Then fix the above

rm grep
ln -s /bin/grep grep

May happen after host upgrade