ActiveState / tdk

Tcl Dev Kit (TDK)
BSD 3-Clause "New" or "Revised" License
69 stars 36 forks source link

ubuntu 18 make error cmpWPkg.o object #5

Open kandido opened 4 years ago

kandido commented 4 years ago

Hello, I am trying to work with tdk debugger on Ubuntu 18.04. After clone the repository for make the compiler in ../tdk/lib/tclcompiler -> ./configure && make ... it get the error:

cmpWPkg.c:72:26: error: ‘TdkLicenseObjCmd’ undeclared here (not in a function); did you mean ‘Tcl_UnsetObjCmd’? { "tdk_license", TdkLicenseObjCmd, 1 }, ^~~~~~~~~~~~~~~~ Tcl_UnsetObjCmd Makefile:242: failed in instructions for the object 'cmpWPkg.o' make: *** [cmpWPkg.o] Error 1

How can I fix the "TdkLicenseObjCmd undeclared" error?

Thanks in advance Candido

cyangy commented 1 year ago

This function looks like it checks the valid ActiveState license. The better way is to bypass it, see this commit