From: Nektarios I. <ine...@gm...> - 2007-03-03 13:20:22
|
Hello everyone, I am getting the following when I try to "make" the 'Source only' version of jTssWrapper 0.2.5 I have followed the online instructions and setup all the necessary paths prior to building. I can't think of anything else that might be wrong. Here is the output on my terminal: [root@localhost jTssWrapperSource_0.2.5]# make - - - - - - - - - - - - - - - - - - - - - IAIK/OpenTC jTSS - Java TSS 1.1b Wrapper ver. 0.2.5 'Source only' distribution - - - - - - - - - - - - - - - - - - - - - make[1]: Entering directory `/home/inectarios/Trusted_Computing/jTssWrapperSource_0.2.5' checking requirements and paths for native lib... ok. checking requirements and paths... ok. generating SWIG interface files from TSS headers... preprocessing output/interfaces/tss_structs.i.tmp > output/interfaces/tss_structs.i.tmp2 preprocessing /usr/local/include/tss/tspi.h > output/interfaces/tspi.i ok. calling SWIG to generate minimal C wrapper... output/interfaces/tss_structs.i:9: Error: No methodmodifiers attribute defined in javadestruct typemap for TSS_VERSION. output/interfaces/tss_structs.i:17: Error: No methodmodifiers attribute defined in javadestruct typemap for TSS_PCR_EVENT. output/interfaces/tss_structs.i:29: Error: No methodmodifiers attribute defined in javadestruct typemap for TSS_EVENT_CERT. output/interfaces/tss_structs.i:42: Error: No methodmodifiers attribute defined in javadestruct typemap for TSS_UUID. output/interfaces/tss_structs.i:52: Error: No methodmodifiers attribute defined in javadestruct typemap for TSS_KM_KEYINFO. output/interfaces/tss_structs.i:73: Error: No methodmodifiers attribute defined in javadestruct typemap for TSS_VALIDATION. output/interfaces/tss_structs.i:95: Error: No methodmodifiers attribute defined in javadestruct typemap for TCPA_NONCE. make[1]: *** [swig] Error 7 make[1]: Leaving directory `/home/inectarios/Trusted_Computing/jTssWrapperSource_0.2.5' make: *** [default] Error 2 Any ideas? Thank you. |
From: Thomas W. <tho...@ia...> - 2007-03-05 06:36:18
Attachments:
smime.p7s
|
Hello, > I am getting the following when I try to "make" the 'Source only' > version of jTssWrapper 0.2.5 From the error messages you provided it is hard to find out what is going wrong. Looks like swig is unhappy with something. What version of swig are you using? Maybe there is alsos something going wrong at an earlier stage. Can you provide the .i files from output/interfaces? Generally you could also try to use the partially prebuilt version of the wrapper. With this version you do not have to rely in swig to generate the framework from the interface files since this stuff is already included in the tar file. You do not loose anything by using the prebuilt version since it also includes all source code. Regards, Thomas Winkler |
From: Nektarios I. <ine...@gm...> - 2007-03-10 12:57:26
|
Hello Thomas, Thank you. I guess I will stick to the Pre-Built version for now since I am running out of time for the project. I may try to built the "source only" version some other time and we can look into it in more depth then. Best Regards, Nektarios On 05/03/07, Thomas Winkler <tho...@ia...> wrote: > > Hello, > > > I am getting the following when I try to "make" the 'Source only' > > version of jTssWrapper 0.2.5 > > From the error messages you provided it is hard to find out what is > going wrong. Looks like swig is unhappy with something. What version of > swig are you using? > Maybe there is alsos something going wrong at an earlier stage. Can you > provide the .i files from output/interfaces? > > Generally you could also try to use the partially prebuilt version of > the wrapper. With this version you do not have to rely in swig to > generate the framework from the interface files since this stuff is > already included in the tar file. You do not loose anything by using the > prebuilt version since it also includes all source code. > > Regards, > Thomas Winkler > > |
From: Thomas W. <tho...@ia...> - 2007-03-13 06:47:30
Attachments:
smime.p7s
|
Hello, > Thank you. I guess I will stick to the Pre-Built version for now since I > am running out of time for the project. I may try to built the "source > only" version some other time and we can look into it in more depth then. There seem to be problems with newer versions of SWIG. The one I'm currently using is 1.3.28. We'll try to track down the problems with newer SWIG versions. For the time being, we strongly suggest to use the pre-built version of the jTSS Wrapper. You do not lose anything since also the pre-built version comes with the entire source code. The only difference is that for the pre-built version you do not need SWIG (it comes already with the C source files) and the jar files are already compiled. Regards, Thomas Winkler |