Cobol compilation with cobol server license


We have a COBOL server 3.0 installed with a valid license. Was trying to compile a program to create .o (object file) in UAT environment and it gave a error "Error[18]: No license code is available for feature RestrictedNativeChecker on host"

Do I need a devhub to compile.

Note: We have a devhub license for DEV env and 2 COBOL server license one each for UAT and PROD.