[sip-comm-dev] Performance GSOC project new objectives


#1

Hi all,

We have decided to change the objectives of my GSOC project to make an integrated mem/cpu profiler for sip-communicator to give bundle dependent results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could you give me any information for the starting point ?

Thanks,
Vladimir �karupelov

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Please excuse my intervention in a project I'm not associated with
(and I surely don't meat to step on anyone's toes) but is this really
necessary? I mean wouldn't it take precious time while this time could
be spent on using existing profilers? For example, the SIP
Communicator package and class naming includes the bundle name in one
way or another so I think these total CPU/Mem statistics can be
deduced relatively easy by looking at the profile from the point of
packages and/or classes and, from what I know, Your Kit Java Profiler,
NetBeans Profiler, Eclipse MAT will enable such views.

Thank for the attention,
Lubo

···

On Thu, Jul 17, 2008 at 2:12 PM, Vladimir Škarupelov <voviss@gmail.com> wrote:

Hi all,

We have decided to change the objectives of my GSOC project to make an
integrated mem/cpu profiler for sip-communicator to give bundle dependent
results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could
you give me any information for the starting point ?

Thanks,
Vladimir Škarupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi,

here is the code of the profiler, it may need changes in the code cause it was made 03.2007 :slight_smile:
I had put it then just for the test in right group menu.
Also it is compiled only for linux :slight_smile:
And here is where I got the lib.
http://oss.metaparadigm.com/jmemprof/.

If something is unclear don't hesitate to ask.

Cheers
damencho

Vladimir �karupelov wrote:

sip-communicator-profiler.tar.gz (26.1 KB)

···

Hi all,

We have decided to change the objectives of my GSOC project to make an integrated mem/cpu profiler for sip-communicator to give bundle dependent results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could you give me any information for the starting point ?

Thanks,
Vladimir �karupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Hello Vladimir,

This is something that I personally find very handy and would be more
than happy to use.

A quick note on your project plan (since I am likely to become your
project mentor as Ben would become temporarily unavailable in a few weeks):

Vladimir Škarupelov написа:

Hi all,

We have decided to change the objectives of my GSOC project to make an
integrated mem/cpu profiler for sip-communicator to give bundle
dependent results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

Even though printing this information on the console would definitely be
a good place to start, the goal of the project would be to have it
appear in the UI (e.g. a dialog or a panel). This way you would be able
to update it as the application runs.

By the way, you may also want to add to it the time it took to load the
bundle.

Cheers
Emil

···

As I understood, Damian Minkov has already started a similar profiler.
Could you give me any information for the starting point ?

Thanks,
Vladimir Škarupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hello,

Actually the profilers I tried were slow or chargeable. I think an integrated as a bundle debugging tool could be very handy. It can be expendable and provide also other debugging features in the future.

Cheers,
Vladimir

Lubomir Marinov wrote:

···

Please excuse my intervention in a project I'm not associated with
(and I surely don't meat to step on anyone's toes) but is this really
necessary? I mean wouldn't it take precious time while this time could
be spent on using existing profilers? For example, the SIP
Communicator package and class naming includes the bundle name in one
way or another so I think these total CPU/Mem statistics can be
deduced relatively easy by looking at the profile from the point of
packages and/or classes and, from what I know, Your Kit Java Profiler,
NetBeans Profiler, Eclipse MAT will enable such views.

Thank for the attention,
Lubo

On Thu, Jul 17, 2008 at 2:12 PM, Vladimir �karupelov <voviss@gmail.com> wrote:
  

Hi all,

We have decided to change the objectives of my GSOC project to make an
integrated mem/cpu profiler for sip-communicator to give bundle dependent
results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could
you give me any information for the starting point ?

Thanks,
Vladimir �karupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hey Lubo,

All valid points, but the idea here is to have a very simple profiling
mechanism that is light, easy to use, and that requires a minimum
(preferably zero) effort to set up.

The problem that I've been having with standard profilers is that their
configuration requires a fair amount of tweaking and that makes them
hard to use in a casual manner. Performance problems that only appear
after using the application for a while are almost impossible to track
since this implies always using the application from within a profiler.

The point here is to have the tool run as a plugin that you could
regularly have a look at or consult in cases where you feel something is
wrong, or that you can ask a user to have a look at when reporting a
problem. It is not in any way supposed to completely replace the
standard profilers.

Hope this clarifies stuff.

Cheers
Emil

Lubomir Marinov написа:

···

Please excuse my intervention in a project I'm not associated with
(and I surely don't meat to step on anyone's toes) but is this really
necessary? I mean wouldn't it take precious time while this time could
be spent on using existing profilers? For example, the SIP
Communicator package and class naming includes the bundle name in one
way or another so I think these total CPU/Mem statistics can be
deduced relatively easy by looking at the profile from the point of
packages and/or classes and, from what I know, Your Kit Java Profiler,
NetBeans Profiler, Eclipse MAT will enable such views.

Thank for the attention,
Lubo

On Thu, Jul 17, 2008 at 2:12 PM, Vladimir Škarupelov <voviss@gmail.com> wrote:

Hi all,

We have decided to change the objectives of my GSOC project to make an
integrated mem/cpu profiler for sip-communicator to give bundle dependent
results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could
you give me any information for the starting point ?

Thanks,
Vladimir Škarupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#7

Hello,

Thanks for the shared code! I changed a little bit the code to suit new SC rules for plugin development, the java code can be compiled. I use Windows XP, so I needed to compile jmemprof for Windows using MinGW (tried 5.1.3 and 5.1.4), but I got the next error:

···

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
D:\Programming\workspace\jmemprof-0.8>ant
Buildfile: build.xml

init:

compile:
   [javac] Compiling 1 source file to D:\Programming\workspace\jmemprof-0.8\build

extension:
     [gcc] Compiling D:\Programming\workspace\jmemprof-0.8\jmemprof.c;D:\Programming\workspace\jmemprof-0.8\linkhash.c

     [gcc] gcc -ID:\Programming\workspace\jmemprof-0.8\C "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1
.6.0_05\include" "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1.6.0_05\include\win32" -O3 -Wall -shared
-D_JNI_IMPLEMENTATION_ -Wl,--kill-at D:\Programming\workspace\jmemprof-0.8\jmemprof.c D:\Programming\workspace\jmemprof-
0.8\linkhash.c -o D:\Programming\workspace\jmemprof-0.8\jmemprof.dll
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:31:17: jni.h: No such file or directory
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:32:19: jvmpi.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:2:17: jni.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:15: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_reset'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:23: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_start'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:31: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_stop'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:39: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getStatistics'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:47: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getClassMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:55: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getMethodMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:63: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getThreadMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:71: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getObjectMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: error: syntax error before "jmem_current_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: type defaults to `int' in declaration of `jmem
_current_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: type defaults to `int' in declaration of `jvm'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: type defaults to `int' in declaration of `jvmp
i'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:56: error: syntax error before "jmem_get_timemillis"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:57: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_get_timemillis':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: `jlong' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: (Each undeclared identifier is reported only onc
e
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: for each function it appears in.)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: syntax error before "ft"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: type defaults to `int' in declaration of `thre
ad_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: type defaults to `int' in declaration of `meth
od_stack'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:81: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: type defaults to `int' in declaration of `num'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: type defaults to `int' in declaration of `size
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:93: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: error: syntax error before "num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: type defaults to `int' in declaration of `num_
objs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: error: syntax error before "num_arrs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: type defaults to `int' in declaration of `num_
arrs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: error: syntax error before "obj_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: type defaults to `int' in declaration of `obj
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: error: syntax error before "arr_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: type defaults to `int' in declaration of `arr
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:102: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: error: syntax error before "alloc_method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: type defaults to `int' in declaration of `all
oc_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: type defaults to `int' in declaration of `all
oc_env_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: error: syntax error before "alloc_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: type defaults to `int' in declaration of `all
oc_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: error: syntax error before "arena_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: type defaults to `int' in declaration of `are
na_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: error: syntax error before "is_array"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: type defaults to `int' in declaration of `is_
array'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: error: syntax error before "lineno"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: type defaults to `int' in declaration of `lin
eno'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: type defaults to `int' in declaration of `num
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: error: conflicting types for 'num'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: error: previous declaration of 'num' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: conflicting types for 'size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: previous declaration of 'size' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:129: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: error: syntax error before "jmem_thread_monitor"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_thread_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_class_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_object_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_method_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_abort':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:144: error: request for member `ProfilerExit' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:195: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_push':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:197: error: `jthread' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:198: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_pop':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:204: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:205: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_primitive_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:211: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: syntax error before "type"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:213: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:214: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_unknown_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:220: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:221: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:222: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:223: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:224: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enter_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:230: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:231: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:232: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:233: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_exit_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:238: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:239: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:240: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:241: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_disable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_timer_start':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: syntax error before "thread_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:281: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:285: error: `thread_class' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:288: error: `thread_sleep' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: syntax error before numeric constant
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:299: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_notify':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: syntax error before "cputime"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:303: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:310: error: `event' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:312: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:317: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:322: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:326: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:329: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:333: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:334: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:336: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:337: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:339: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:341: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:342: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: `JVMPI_Method' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: syntax error before "method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:345: error: `method' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:346: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:349: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:350: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:352: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:354: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:356: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:358: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:360: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:363: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:366: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:371: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:372: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:374: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:375: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:378: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:381: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:390: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:391: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:392: error: syntax error before "event"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:393: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:396: error: invalid application of `sizeof' to incomplete t
ype `jmem_object'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:399: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:400: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:401: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:402: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:403: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:405: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:407: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:410: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:411: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:414: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:417: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:419: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:421: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:422: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:423: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:425: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:426: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:428: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:429: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:430: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:433: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:434: error: request for member `SetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:435: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:438: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:440: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:442: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:445: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: `cputime' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:452: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:456: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:458: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:463: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:467: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:472: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:476: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:479: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:484: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:485: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:489: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: request for member `CreateSystemThread' in some
thing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: `JVMPI_NORMAL_PRIORITY' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:498: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:511: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JVM_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:514: error: `vm' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: warning: dereferencing type-punned pointer will break
strict-aliasing rules
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: `JVMPI_VERSION_1' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:517: error: `JNI_ERR' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:521: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:525: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:529: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:533: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:536: error: `JVMPI_BOOLEAN' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:537: error: `JVMPI_BYTE' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:538: error: `JVMPI_CHAR' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:539: error: `JVMPI_SHORT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:540: error: `JVMPI_INT' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:541: error: `JVMPI_LONG' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:542: error: `JVMPI_FLOAT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:543: error: `JVMPI_DOUBLE' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:546: error: request for member `NotifyEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:555: error: `JNI_OK' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:560: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JNI_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:561: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:565: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: syntax error before "jobject"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:577: warning: passing arg 2 of `lh_table_lookup' makes poin
ter from integer without a cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:579: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:581: error: invalid application of `sizeof' to incomplete t
ype `jmem_class_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:584: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:586: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:587: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:590: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:595: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:599: error: invalid application of `sizeof' to incomplete t
ype `jmem_method_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:600: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: `depth' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:604: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:607: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `env_id' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:611: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:612: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:615: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:616: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:620: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:621: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:622: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_reset
':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:630: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:636: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:637: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:638: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:643: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:644: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:645: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before "lh_table_stats"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:653: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `lh_table_stats':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: syntax error before "jmemtable"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:655: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `table_name' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:667: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:668: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:669: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getSt
atistics':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: syntax error before "jmemtable_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:671: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:672: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:673: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:677: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:678: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:680: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:683: error: `jmemtable_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:684: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:686: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:710: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:712: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:714: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getCl
assMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:719: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:721: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:722: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:723: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:725: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:731: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:733: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:744: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:745: error: `class_id_long' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:747: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:750: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:751: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:759: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:760: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:762: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:763: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:772: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `classmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:776: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:777: error: `classmem_init' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:779: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:789: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:790: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:797: error: `classmem_arr' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:798: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: syntax error before "total_num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:805: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:808: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: `total_num_objs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: `total_obj_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: `total_num_arrs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: `total_arr_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:819: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:822: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:824: error: `classmem' undeclared (first use in this functi
on)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:836: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:839: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:840: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:859: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:861: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:863: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getMe
thodMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:868: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:870: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:871: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:872: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:874: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:882: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:884: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:898: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:900: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:901: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:909: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `methodmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:913: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:914: error: `methodmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:917: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:920: error: `methodmem_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:921: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: syntax error before "total_num"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:929: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:933: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:935: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:937: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:939: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: `source_file' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: `total_num' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: `total_size' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:949: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:952: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:954: error: `methodmem' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:956: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:973: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:975: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:977: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getTh
readMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:982: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:984: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:985: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:986: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:988: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:994: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:996: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1009: error: `class_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1010: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1012: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1013: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1014: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1022: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `threadmem_class' undeclared (first use in thi
s function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1026: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1027: error: `threadmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1029: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1032: error: `threadmem_arr' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1033: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1042: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1044: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: `jlong' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1047: error: `threadmem' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1061: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1063: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1065: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getOb
jectMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1066: warning: return makes integer from pointer without a
cast

BUILD FAILED
D:\Programming\workspace\jmemprof-0.8\build.xml:22: gcc failed with return code 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I already reported jmemprof's team about the issue. May be you know how can the problem be solved on Windows ?

Cheers,
Vladimir

Damian Minkov wrote:

Hi,

here is the code of the profiler, it may need changes in the code cause it was made 03.2007 :slight_smile:
I had put it then just for the test in right group menu.
Also it is compiled only for linux :slight_smile:
And here is where I got the lib.

http://oss.metaparadigm.com/jmemprof/.

If something is unclear don't hesitate to ask.

Cheers
damencho

Vladimir �karupelov wrote:

Hi all,

We have decided to change the objectives of my GSOC project to make an integrated mem/cpu profiler for sip-communicator to give bundle dependent results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could you give me any information for the starting point ?

Thanks,
Vladimir �karupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#8

Hi,

I think the problem is that the make script isn't finding the java headers (jni.h: No such file or directory ).
Take a look at the configuration properties file under folder config.
There is some problem with the jdk home path. Maybe the slashes in the path or something else.
you can see it in your log : ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1.6.0_05\include".

Cheers
damencho

Vladimir �karupelov wrote:

···

Hello,

Thanks for the shared code! I changed a little bit the code to suit new SC rules for plugin development, the java code can be compiled. I use Windows XP, so I needed to compile jmemprof for Windows using MinGW (tried 5.1.3 and 5.1.4), but I got the next error:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
D:\Programming\workspace\jmemprof-0.8>ant
Buildfile: build.xml

init:

compile:
   [javac] Compiling 1 source file to D:\Programming\workspace\jmemprof-0.8\build

extension:
     [gcc] Compiling D:\Programming\workspace\jmemprof-0.8\jmemprof.c;D:\Programming\workspace\jmemprof-0.8\linkhash.c

     [gcc] gcc -ID:\Programming\workspace\jmemprof-0.8\C "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1
.6.0_05\include" "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1.6.0_05\include\win32" -O3 -Wall -shared
-D_JNI_IMPLEMENTATION_ -Wl,--kill-at D:\Programming\workspace\jmemprof-0.8\jmemprof.c D:\Programming\workspace\jmemprof-
0.8\linkhash.c -o D:\Programming\workspace\jmemprof-0.8\jmemprof.dll
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:31:17: jni.h: No such file or directory
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:32:19: jvmpi.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:2:17: jni.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:15: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_reset'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:23: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_start'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:31: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_stop'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:39: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getStatistics'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:47: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getClassMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:55: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getMethodMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:63: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getThreadMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:71: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getObjectMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: error: syntax error before "jmem_current_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: type defaults to `int' in declaration of `jmem
_current_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: type defaults to `int' in declaration of `jvm'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: type defaults to `int' in declaration of `jvmp
i'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:56: error: syntax error before "jmem_get_timemillis"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:57: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_get_timemillis':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: `jlong' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: (Each undeclared identifier is reported only onc
e
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: for each function it appears in.)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: syntax error before "ft"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: type defaults to `int' in declaration of `thre
ad_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: type defaults to `int' in declaration of `meth
od_stack'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:81: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: type defaults to `int' in declaration of `num'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: type defaults to `int' in declaration of `size
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:93: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: error: syntax error before "num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: type defaults to `int' in declaration of `num_
objs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: error: syntax error before "num_arrs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: type defaults to `int' in declaration of `num_
arrs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: error: syntax error before "obj_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: type defaults to `int' in declaration of `obj
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: error: syntax error before "arr_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: type defaults to `int' in declaration of `arr
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:102: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: error: syntax error before "alloc_method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: type defaults to `int' in declaration of `all
oc_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: type defaults to `int' in declaration of `all
oc_env_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: error: syntax error before "alloc_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: type defaults to `int' in declaration of `all
oc_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: error: syntax error before "arena_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: type defaults to `int' in declaration of `are
na_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: error: syntax error before "is_array"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: type defaults to `int' in declaration of `is_
array'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: error: syntax error before "lineno"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: type defaults to `int' in declaration of `lin
eno'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: type defaults to `int' in declaration of `num
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: error: conflicting types for 'num'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: error: previous declaration of 'num' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: conflicting types for 'size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: previous declaration of 'size' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:129: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: error: syntax error before "jmem_thread_monitor"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_thread_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_class_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_object_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_method_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_abort':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:144: error: request for member `ProfilerExit' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:195: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_push':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:197: error: `jthread' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:198: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_pop':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:204: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:205: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_primitive_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:211: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: syntax error before "type"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:213: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:214: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_unknown_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:220: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:221: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:222: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:223: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:224: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enter_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:230: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:231: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:232: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:233: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_exit_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:238: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:239: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:240: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:241: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_disable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_timer_start':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: syntax error before "thread_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:281: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:285: error: `thread_class' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:288: error: `thread_sleep' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: syntax error before numeric constant
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:299: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_notify':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: syntax error before "cputime"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:303: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:310: error: `event' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:312: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:317: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:322: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:326: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:329: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:333: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:334: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:336: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:337: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:339: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:341: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:342: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: `JVMPI_Method' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: syntax error before "method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:345: error: `method' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:346: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:349: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:350: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:352: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:354: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:356: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:358: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:360: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:363: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:366: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:371: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:372: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:374: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:375: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:378: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:381: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:390: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:391: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:392: error: syntax error before "event"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:393: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:396: error: invalid application of `sizeof' to incomplete t
ype `jmem_object'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:399: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:400: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:401: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:402: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:403: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:405: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:407: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:410: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:411: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:414: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:417: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:419: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:421: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:422: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:423: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:425: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:426: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:428: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:429: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:430: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:433: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:434: error: request for member `SetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:435: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:438: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:440: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:442: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:445: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: `cputime' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:452: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:456: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:458: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:463: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:467: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:472: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:476: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:479: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:484: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:485: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:489: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: request for member `CreateSystemThread' in some
thing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: `JVMPI_NORMAL_PRIORITY' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:498: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:511: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JVM_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:514: error: `vm' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: warning: dereferencing type-punned pointer will break
strict-aliasing rules
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: `JVMPI_VERSION_1' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:517: error: `JNI_ERR' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:521: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:525: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:529: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:533: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:536: error: `JVMPI_BOOLEAN' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:537: error: `JVMPI_BYTE' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:538: error: `JVMPI_CHAR' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:539: error: `JVMPI_SHORT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:540: error: `JVMPI_INT' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:541: error: `JVMPI_LONG' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:542: error: `JVMPI_FLOAT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:543: error: `JVMPI_DOUBLE' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:546: error: request for member `NotifyEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:555: error: `JNI_OK' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:560: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JNI_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:561: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:565: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: syntax error before "jobject"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:577: warning: passing arg 2 of `lh_table_lookup' makes poin
ter from integer without a cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:579: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:581: error: invalid application of `sizeof' to incomplete t
ype `jmem_class_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:584: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:586: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:587: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:590: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:595: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:599: error: invalid application of `sizeof' to incomplete t
ype `jmem_method_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:600: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: `depth' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:604: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:607: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `env_id' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:611: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:612: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:615: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:616: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:620: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:621: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:622: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_reset
':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:630: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:636: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:637: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:638: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:643: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:644: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:645: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before "lh_table_stats"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:653: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `lh_table_stats':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: syntax error before "jmemtable"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:655: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `table_name' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:667: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:668: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:669: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getSt
atistics':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: syntax error before "jmemtable_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:671: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:672: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:673: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:677: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:678: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:680: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:683: error: `jmemtable_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:684: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:686: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:710: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:712: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:714: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getCl
assMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:719: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:721: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:722: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:723: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:725: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:731: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:733: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:744: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:745: error: `class_id_long' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:747: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:750: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:751: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:759: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:760: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:762: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:763: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:772: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `classmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:776: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:777: error: `classmem_init' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:779: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:789: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:790: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:797: error: `classmem_arr' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:798: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: syntax error before "total_num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:805: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:808: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: `total_num_objs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: `total_obj_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: `total_num_arrs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: `total_arr_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:819: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:822: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:824: error: `classmem' undeclared (first use in this functi
on)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:836: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:839: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:840: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:859: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:861: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:863: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getMe
thodMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:868: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:870: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:871: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:872: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:874: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:882: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:884: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:898: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:900: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:901: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:909: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `methodmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:913: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:914: error: `methodmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:917: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:920: error: `methodmem_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:921: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: syntax error before "total_num"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:929: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:933: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:935: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:937: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:939: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: `source_file' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: `total_num' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: `total_size' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:949: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:952: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:954: error: `methodmem' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:956: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:973: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:975: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:977: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getTh
readMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:982: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:984: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:985: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:986: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:988: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:994: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:996: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1009: error: `class_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1010: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1012: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1013: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1014: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1022: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `threadmem_class' undeclared (first use in thi
s function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1026: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1027: error: `threadmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1029: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1032: error: `threadmem_arr' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1033: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1042: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1044: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: `jlong' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1047: error: `threadmem' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1061: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1063: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1065: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getOb
jectMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1066: warning: return makes integer from pointer without a
cast

BUILD FAILED
D:\Programming\workspace\jmemprof-0.8\build.xml:22: gcc failed with return code 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I already reported jmemprof's team about the issue. May be you know how can the problem be solved on Windows ?

Cheers,
Vladimir

Damian Minkov wrote:

Hi,

here is the code of the profiler, it may need changes in the code cause it was made 03.2007 :slight_smile:
I had put it then just for the test in right group menu.
Also it is compiled only for linux :slight_smile:
And here is where I got the lib.

http://oss.metaparadigm.com/jmemprof/.

If something is unclear don't hesitate to ask.

Cheers
damencho

Vladimir �karupelov wrote:

Hi all,

We have decided to change the objectives of my GSOC project to make an integrated mem/cpu profiler for sip-communicator to give bundle dependent results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could you give me any information for the starting point ?

Thanks,
Vladimir �karupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#9

Damian,

Thanks for the reply, the problem was really in the slashes. The second problem was that it is not possible to run the jmemprofiler on j2se6+ because Java Virtual Machine Profiler Interface (JVMPI) - http://java.sun.com/j2se/1.5.0/docs/guide/jvmpi/jvmpi.html - was deprecated in j2se5 and in the newer version it is just missing =). The new Java Virtual Machine Tool Interface (JVMTI) should be used in its place. I tried to change the usage of the profiling library in jmemprof, but it didn't help. It seems that the new library should be implemented a little bit differently - you can see a similar java memory profiler's project - jmp - http://khelekore.org/jmp, after announcing j2se6 it has a new name - TIjmpi - http://khelekore.org/jmp/tijmp, you know now why =)

I tried your plugin with j2se5. You made a nice work! It provides needed memory results. But SC started work very slowly with the plugin running, I think it is just because of using native library JVMPI (as it is written on every profiler that is 100% java pure). The second minus is that the jmemprof gives only the results about memory, but we need timing also.

I searched for the open-source profilers in the Internet and found very attractive one - JIP - java interactive profiler(http://jiprof.sourceforge.net), It seems to be not so slow, because it takes advantage of the Java5 feature which allows you to hook the classloader, not use of JVMPI and it's native components. Also it has timings support. Only limitation is that j2se5+ must be used with that. I think I take this profiler and do the similar work to yours but with timings and then try to output bundle separated results.

Cheers,
Vladimir

Damian Minkov wrote:

···

Hi,

I think the problem is that the make script isn't finding the java headers (jni.h: No such file or directory ).
Take a look at the configuration properties file under folder config.
There is some problem with the jdk home path. Maybe the slashes in the path or something else.
you can see it in your log : ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1.6.0_05\include".

Cheers
damencho

Vladimir �karupelov wrote:

Hello,

Thanks for the shared code! I changed a little bit the code to suit new SC rules for plugin development, the java code can be compiled. I use Windows XP, so I needed to compile jmemprof for Windows using MinGW (tried 5.1.3 and 5.1.4), but I got the next error:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

D:\Programming\workspace\jmemprof-0.8>ant
Buildfile: build.xml

init:

compile:
   [javac] Compiling 1 source file to D:\Programming\workspace\jmemprof-0.8\build

extension:
     [gcc] Compiling D:\Programming\workspace\jmemprof-0.8\jmemprof.c;D:\Programming\workspace\jmemprof-0.8\linkhash.c

     [gcc] gcc -ID:\Programming\workspace\jmemprof-0.8\C "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1
.6.0_05\include" "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1.6.0_05\include\win32" -O3 -Wall -shared
-D_JNI_IMPLEMENTATION_ -Wl,--kill-at D:\Programming\workspace\jmemprof-0.8\jmemprof.c D:\Programming\workspace\jmemprof-
0.8\linkhash.c -o D:\Programming\workspace\jmemprof-0.8\jmemprof.dll
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:31:17: jni.h: No such file or directory
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:32:19: jvmpi.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:2:17: jni.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:15: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_reset'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:23: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_start'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:31: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_stop'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:39: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getStatistics'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:47: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getClassMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:55: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getMethodMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:63: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getThreadMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:71: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getObjectMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: error: syntax error before "jmem_current_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: type defaults to `int' in declaration of `jmem
_current_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: type defaults to `int' in declaration of `jvm'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: type defaults to `int' in declaration of `jvmp
i'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:56: error: syntax error before "jmem_get_timemillis"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:57: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_get_timemillis':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: `jlong' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: (Each undeclared identifier is reported only onc
e
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: for each function it appears in.)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: syntax error before "ft"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: type defaults to `int' in declaration of `thre
ad_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: type defaults to `int' in declaration of `meth
od_stack'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:81: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: type defaults to `int' in declaration of `num'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: type defaults to `int' in declaration of `size
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:93: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: error: syntax error before "num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: type defaults to `int' in declaration of `num_
objs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: error: syntax error before "num_arrs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: type defaults to `int' in declaration of `num_
arrs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: error: syntax error before "obj_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: type defaults to `int' in declaration of `obj
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: error: syntax error before "arr_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: type defaults to `int' in declaration of `arr
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:102: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: error: syntax error before "alloc_method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: type defaults to `int' in declaration of `all
oc_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: type defaults to `int' in declaration of `all
oc_env_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: error: syntax error before "alloc_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: type defaults to `int' in declaration of `all
oc_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: error: syntax error before "arena_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: type defaults to `int' in declaration of `are
na_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: error: syntax error before "is_array"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: type defaults to `int' in declaration of `is_
array'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: error: syntax error before "lineno"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: type defaults to `int' in declaration of `lin
eno'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: type defaults to `int' in declaration of `num
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: error: conflicting types for 'num'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: error: previous declaration of 'num' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: conflicting types for 'size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: previous declaration of 'size' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:129: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: error: syntax error before "jmem_thread_monitor"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_thread_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_class_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_object_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_method_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_abort':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:144: error: request for member `ProfilerExit' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:195: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_push':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:197: error: `jthread' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:198: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_pop':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:204: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:205: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_primitive_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:211: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: syntax error before "type"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:213: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:214: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_unknown_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:220: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:221: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:222: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:223: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:224: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enter_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:230: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:231: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:232: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:233: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_exit_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:238: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:239: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:240: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:241: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_disable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_timer_start':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: syntax error before "thread_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:281: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:285: error: `thread_class' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:288: error: `thread_sleep' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: syntax error before numeric constant
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:299: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_notify':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: syntax error before "cputime"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:303: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:310: error: `event' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:312: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:317: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:322: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:326: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:329: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:333: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:334: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:336: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:337: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:339: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:341: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:342: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: `JVMPI_Method' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: syntax error before "method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:345: error: `method' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:346: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:349: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:350: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:352: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:354: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:356: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:358: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:360: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:363: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:366: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:371: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:372: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:374: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:375: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:378: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:381: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:390: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:391: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:392: error: syntax error before "event"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:393: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:396: error: invalid application of `sizeof' to incomplete t
ype `jmem_object'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:399: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:400: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:401: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:402: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:403: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:405: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:407: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:410: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:411: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:414: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:417: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:419: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:421: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:422: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:423: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:425: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:426: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:428: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:429: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:430: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:433: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:434: error: request for member `SetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:435: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:438: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:440: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:442: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:445: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: `cputime' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:452: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:456: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:458: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:463: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:467: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:472: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:476: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:479: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:484: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:485: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:489: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: request for member `CreateSystemThread' in some
thing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: `JVMPI_NORMAL_PRIORITY' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:498: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:511: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JVM_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:514: error: `vm' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: warning: dereferencing type-punned pointer will break
strict-aliasing rules
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: `JVMPI_VERSION_1' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:517: error: `JNI_ERR' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:521: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:525: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:529: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:533: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:536: error: `JVMPI_BOOLEAN' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:537: error: `JVMPI_BYTE' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:538: error: `JVMPI_CHAR' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:539: error: `JVMPI_SHORT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:540: error: `JVMPI_INT' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:541: error: `JVMPI_LONG' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:542: error: `JVMPI_FLOAT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:543: error: `JVMPI_DOUBLE' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:546: error: request for member `NotifyEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:555: error: `JNI_OK' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:560: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JNI_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:561: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:565: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: syntax error before "jobject"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:577: warning: passing arg 2 of `lh_table_lookup' makes poin
ter from integer without a cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:579: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:581: error: invalid application of `sizeof' to incomplete t
ype `jmem_class_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:584: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:586: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:587: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:590: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:595: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:599: error: invalid application of `sizeof' to incomplete t
ype `jmem_method_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:600: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: `depth' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:604: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:607: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `env_id' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:611: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:612: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:615: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:616: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:620: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:621: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:622: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_reset
':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:630: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:636: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:637: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:638: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:643: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:644: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:645: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before "lh_table_stats"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:653: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `lh_table_stats':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: syntax error before "jmemtable"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:655: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `table_name' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:667: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:668: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:669: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getSt
atistics':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: syntax error before "jmemtable_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:671: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:672: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:673: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:677: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:678: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:680: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:683: error: `jmemtable_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:684: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:686: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:710: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:712: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:714: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getCl
assMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:719: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:721: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:722: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:723: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:725: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:731: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:733: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:744: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:745: error: `class_id_long' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:747: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:750: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:751: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:759: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:760: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:762: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:763: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:772: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `classmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:776: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:777: error: `classmem_init' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:779: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:789: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:790: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:797: error: `classmem_arr' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:798: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: syntax error before "total_num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:805: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:808: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: `total_num_objs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: `total_obj_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: `total_num_arrs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: `total_arr_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:819: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:822: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:824: error: `classmem' undeclared (first use in this functi
on)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:836: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:839: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:840: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:859: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:861: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:863: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getMe
thodMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:868: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:870: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:871: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:872: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:874: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:882: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:884: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:898: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:900: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:901: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:909: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `methodmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:913: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:914: error: `methodmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:917: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:920: error: `methodmem_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:921: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: syntax error before "total_num"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:929: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:933: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:935: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:937: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:939: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: `source_file' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: `total_num' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: `total_size' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:949: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:952: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:954: error: `methodmem' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:956: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:973: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:975: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:977: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getTh
readMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:982: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:984: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:985: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:986: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:988: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:994: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:996: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1009: error: `class_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1010: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1012: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1013: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1014: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1022: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `threadmem_class' undeclared (first use in thi
s function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1026: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1027: error: `threadmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1029: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1032: error: `threadmem_arr' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1033: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1042: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1044: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: `jlong' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1047: error: `threadmem' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1061: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1063: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1065: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getOb
jectMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1066: warning: return makes integer from pointer without a
cast

BUILD FAILED
D:\Programming\workspace\jmemprof-0.8\build.xml:22: gcc failed with return code 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I already reported jmemprof's team about the issue. May be you know how can the problem be solved on Windows ?

Cheers,
Vladimir

Damian Minkov wrote:

Hi,

here is the code of the profiler, it may need changes in the code cause it was made 03.2007 :slight_smile:
I had put it then just for the test in right group menu.
Also it is compiled only for linux :slight_smile:
And here is where I got the lib.

http://oss.metaparadigm.com/jmemprof/.

If something is unclear don't hesitate to ask.

Cheers
damencho

Vladimir �karupelov wrote:

Hi all,

We have decided to change the objectives of my GSOC project to make an integrated mem/cpu profiler for sip-communicator to give bundle dependent results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could you give me any information for the starting point ?

Thanks,
Vladimir �karupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#10

Hello all,

I tried SC with JIP profiler. The profiler is fast enough, but doesn't have memory profiling (see my blog http://developerscabin.blogspot.com for more information). I also found that profiler4j (http://profiler4j.sourceforge.net) is supporting both timing and memory profiling. Actually I can also use one profiler for memory analysis and the other for timings, but I think that such approach will totally make SC speed handicapped. Also compiling bundles time and memory results from different profiles can bring to the false results. So I am on the way of trying profiler4j with SC.

Cheers,
Vladimir

Vladimir �karupelov wrote:

···

Damian,

Thanks for the reply, the problem was really in the slashes. The second problem was that it is not possible to run the jmemprofiler on j2se6+ because Java Virtual Machine Profiler Interface (JVMPI) - http://java.sun.com/j2se/1.5.0/docs/guide/jvmpi/jvmpi.html - was deprecated in j2se5 and in the newer version it is just missing =). The new Java Virtual Machine Tool Interface (JVMTI) should be used in its place. I tried to change the usage of the profiling library in jmemprof, but it didn't help. It seems that the new library should be implemented a little bit differently - you can see a similar java memory profiler's project - jmp - http://khelekore.org/jmp, after announcing j2se6 it has a new name - TIjmpi - http://khelekore.org/jmp/tijmp, you know now why =)

I tried your plugin with j2se5. You made a nice work! It provides needed memory results. But SC started work very slowly with the plugin running, I think it is just because of using native library JVMPI (as it is written on every profiler that is 100% java pure). The second minus is that the jmemprof gives only the results about memory, but we need timing also.

I searched for the open-source profilers in the Internet and found very attractive one - JIP - java interactive profiler(http://jiprof.sourceforge.net), It seems to be not so slow, because it takes advantage of the Java5 feature which allows you to hook the classloader, not use of JVMPI and it's native components. Also it has timings support. Only limitation is that j2se5+ must be used with that. I think I take this profiler and do the similar work to yours but with timings and then try to output bundle separated results.

Cheers,
Vladimir

Damian Minkov wrote:

Hi,

I think the problem is that the make script isn't finding the java headers (jni.h: No such file or directory ).
Take a look at the configuration properties file under folder config.
There is some problem with the jdk home path. Maybe the slashes in the path or something else.
you can see it in your log : ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1.6.0_05\include".

Cheers
damencho

Vladimir �karupelov wrote:

Hello,

Thanks for the shared code! I changed a little bit the code to suit new SC rules for plugin development, the java code can be compiled. I use Windows XP, so I needed to compile jmemprof for Windows using MinGW (tried 5.1.3 and 5.1.4), but I got the next error:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

D:\Programming\workspace\jmemprof-0.8>ant
Buildfile: build.xml

init:

compile:
   [javac] Compiling 1 source file to D:\Programming\workspace\jmemprof-0.8\build

extension:
     [gcc] Compiling D:\Programming\workspace\jmemprof-0.8\jmemprof.c;D:\Programming\workspace\jmemprof-0.8\linkhash.c

     [gcc] gcc -ID:\Programming\workspace\jmemprof-0.8\C "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1
.6.0_05\include" "-ID:\Programming\workspace\jmemprof-0.8\Program FilesJavajdk1.6.0_05\include\win32" -O3 -Wall -shared
-D_JNI_IMPLEMENTATION_ -Wl,--kill-at D:\Programming\workspace\jmemprof-0.8\jmemprof.c D:\Programming\workspace\jmemprof-
0.8\linkhash.c -o D:\Programming\workspace\jmemprof-0.8\jmemprof.dll
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:31:17: jni.h: No such file or directory
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:32:19: jvmpi.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:2:17: jni.h: No such file or directory
     [gcc] In file included from D:\Programming\workspace\jmemprof-0.8\jmemprof.c:34:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:15: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_reset'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:16: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:23: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_start'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:24: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:31: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_stop'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:32: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:39: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getStatistics'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:40: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:47: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getClassMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:55: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getMethodMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:56: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:63: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getThreadMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:64: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:71: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: type defaults to `int' in declaration of `Java
_com_metaparadigm_jmemprof_JMemProf_getObjectMem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.h:72: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: error: syntax error before "jmem_current_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: type defaults to `int' in declaration of `jmem
_current_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:48: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: type defaults to `int' in declaration of `jvm'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:51: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: type defaults to `int' in declaration of `jvmp
i'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:52: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:56: error: syntax error before "jmem_get_timemillis"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:57: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_get_timemillis':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: `jlong' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: (Each undeclared identifier is reported only onc
e
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: for each function it appears in.)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:62: error: syntax error before "ft"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:76: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: type defaults to `int' in declaration of `thre
ad_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:77: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: type defaults to `int' in declaration of `meth
od_stack'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:80: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:81: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:84: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: type defaults to `int' in declaration of `num'

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: type defaults to `int' in declaration of `size
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:86: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:90: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:93: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:96: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: error: syntax error before "num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: type defaults to `int' in declaration of `num_
objs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:98: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: error: syntax error before "num_arrs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: type defaults to `int' in declaration of `num_
arrs'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:99: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: error: syntax error before "obj_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: type defaults to `int' in declaration of `obj
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:100: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: error: syntax error before "arr_size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: type defaults to `int' in declaration of `arr
_size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:101: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:102: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: error: syntax error before "jobjectID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:105: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:106: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: error: syntax error before "alloc_method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: type defaults to `int' in declaration of `all
oc_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:107: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: type defaults to `int' in declaration of `all
oc_env_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:108: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: error: syntax error before "alloc_time"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: type defaults to `int' in declaration of `all
oc_time'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:110: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: error: syntax error before "arena_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: type defaults to `int' in declaration of `are
na_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:112: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: error: syntax error before "is_array"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: type defaults to `int' in declaration of `is_
array'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:113: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:118: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: type defaults to `int' in declaration of `cla
ss_id'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:119: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: error: syntax error before "lineno"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: type defaults to `int' in declaration of `lin
eno'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:122: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:126: warning: no semicolon at end of struct or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: type defaults to `int' in declaration of `num
'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: error: conflicting types for 'num'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:85: error: previous declaration of 'num' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:127: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: syntax error before "size"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: type defaults to `int' in declaration of `siz
e'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: error: conflicting types for 'size'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:114: error: previous declaration of 'size' was here
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:128: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:129: error: syntax error before '}' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: error: syntax error before "jmem_thread_monitor"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_thread_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:135: warning: type defaults to `int' in declaration of `jme
m_class_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_object_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: type defaults to `int' in declaration of `jme
m_method_monitor'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:136: warning: data definition has no type or storage class
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_abort':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:144: error: request for member `ProfilerExit' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:167: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:168: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:175: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:176: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_free':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:189: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:190: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:195: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_push':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:197: error: `jthread' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:198: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_method_pop':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:204: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:205: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_primitive_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:211: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:212: error: syntax error before "type"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:213: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:214: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_unknown_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:220: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:221: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:222: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:223: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:224: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enter_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:230: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:231: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:232: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:233: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_exit_all_monitors':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:238: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:239: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:240: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:241: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_enable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:246: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:247: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:248: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:249: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:250: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:251: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:252: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:253: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:254: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:255: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:256: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:257: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_disable_all_events':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:262: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:263: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:264: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:265: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:266: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:267: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:268: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:269: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:270: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:271: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:272: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: request for member `DisableEvent' in something
not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:273: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_timer_start':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:279: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:280: error: syntax error before "thread_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:281: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:283: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:285: error: `thread_class' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:288: error: `thread_sleep' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:293: error: syntax error before numeric constant
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:299: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_notify':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:302: error: syntax error before "cputime"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:303: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:310: error: `event' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:312: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:317: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:322: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:326: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:329: error: invalid application of `sizeof' to incomplete t
ype `jmem_class'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:333: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:334: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:336: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:337: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:339: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:341: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:342: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: `JVMPI_Method' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:344: error: syntax error before "method"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:345: error: `method' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:346: error: invalid application of `sizeof' to incomplete t
ype `jmem_method'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:349: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:350: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:352: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:353: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:354: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:356: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:358: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:360: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:363: error: `JVMPI_EVENT_CLASS_UNLOAD' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:366: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:371: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:372: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:374: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:375: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:378: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:381: error: `JVMPI_EVENT_OBJECT_ALLOC' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:390: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:391: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:392: error: syntax error before "event"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:393: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:396: error: invalid application of `sizeof' to incomplete t
ype `jmem_object'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:399: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:400: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:401: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:402: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:403: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:405: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:407: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:410: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:411: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:412: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:414: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:417: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:419: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:421: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:422: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:423: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:425: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:426: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:428: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:429: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:430: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:433: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:434: error: request for member `SetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:435: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:438: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:440: error: request for member `RawMonitorEnter' in somethi
ng not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:442: error: request for member `RawMonitorExit' in somethin
g not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:445: error: `JVMPI_EVENT_METHOD_ENTRY' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: `cputime' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:447: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:452: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:456: error: `JVMPI_EVENT_METHOD_EXIT' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:458: error: request for member `GetCurrentThreadCpuTime' in
something not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:463: error: request for member `GetThreadLocalStorage' in s
omething not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:467: error: `JVMPI_EVENT_OBJECT_FREE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:472: error: `JVMPI_EVENT_OBJECT_MOVE' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:476: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:479: error: `JVMPI_EVENT_ARENA_DELETE' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:484: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:485: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:489: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: request for member `CreateSystemThread' in some
thing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:492: error: `JVMPI_NORMAL_PRIORITY' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:498: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:510: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:511: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JVM_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:514: error: `vm' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: invalid type argument of `->'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: warning: dereferencing type-punned pointer will break
strict-aliasing rules
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:516: error: `JVMPI_VERSION_1' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:517: error: `JNI_ERR' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:521: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:525: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:529: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:533: error: request for member `RawMonitorCreate' in someth
ing not a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:536: error: `JVMPI_BOOLEAN' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:537: error: `JVMPI_BYTE' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:538: error: `JVMPI_CHAR' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:539: error: `JVMPI_SHORT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:540: error: `JVMPI_INT' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:541: error: `JVMPI_LONG' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:542: error: `JVMPI_FLOAT' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:543: error: `JVMPI_DOUBLE' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:546: error: request for member `NotifyEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:547: error: `JVMPI_EVENT_GC_START' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:548: error: `JVMPI_EVENT_GC_FINISH' undeclared (first use i
n this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:549: error: `JVMPI_EVENT_CLASS_LOAD' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:550: error: `JVMPI_EVENT_THREAD_START' undeclared (first us
e in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:551: error: `JVMPI_EVENT_THREAD_END' undeclared (first use
in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:552: error: `JVMPI_EVENT_JVM_INIT_DONE' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: request for member `EnableEvent' in something n
ot a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:553: error: `JVMPI_EVENT_JVM_SHUT_DOWN' undeclared (first u
se in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:555: error: `JNI_OK' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before "jint"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:559: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:560: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `JNI_OnLoad':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:561: error: `JNI_VERSION_1_2' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:564: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:565: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_class_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:572: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:574: error: `JVMPI_CLASS' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:575: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:576: error: syntax error before "jobject"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:577: warning: passing arg 2 of `lh_table_lookup' makes poin
ter from integer without a cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:579: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:581: error: invalid application of `sizeof' to incomplete t
ype `jmem_class_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:582: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:583: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:584: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:586: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:587: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:588: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:590: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:591: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:595: error: syntax error before "jmethodID"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_method_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:597: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:599: error: invalid application of `sizeof' to incomplete t
ype `jmem_method_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:600: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:603: error: `depth' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:604: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:607: error: syntax error before "JNIEnv"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `jmem_thread_mem_add':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:609: error: `env_id' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:611: error: invalid application of `sizeof' to incomplete t
ype `jmem_thread_mem'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:612: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:615: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:616: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:620: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:621: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:622: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_reset
':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:630: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:636: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:637: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:638: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:643: error: syntax error before "void"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:644: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:645: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before "lh_table_stats"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:650: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:653: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `lh_table_stats':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:654: error: syntax error before "jmemtable"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:655: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `table_name' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: error: `t' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:657: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:658: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:667: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:668: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:669: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getSt
atistics':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:670: error: syntax error before "jmemtable_class"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:671: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:672: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:673: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `jmemtable_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:675: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:677: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:678: error: `jmemtable_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:680: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:683: error: `jmemtable_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:684: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:686: error: `jmemtable' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:710: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:712: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:714: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getCl
assMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:717: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:718: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:719: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:721: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:722: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:723: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:725: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:731: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:733: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:742: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:744: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:745: error: `class_id_long' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:747: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:748: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:750: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:751: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:756: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:759: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:760: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:762: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:763: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:772: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `classmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:774: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:776: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:777: error: `classmem_init' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:779: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:789: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:790: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:797: error: `classmem_arr' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:798: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:803: error: syntax error before "total_num_objs"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:805: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:808: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: `total_num_objs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:811: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: `total_obj_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:812: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: `total_num_arrs' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:813: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: `total_arr_size' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:814: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:819: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:822: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:823: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:824: error: `classmem' undeclared (first use in this functi
on)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:836: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:839: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:840: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:859: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:861: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:863: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getMe
thodMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:866: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:867: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:868: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:870: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:871: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:872: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:874: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:882: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:884: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:893: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: `method_id' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:896: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:898: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:899: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:900: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:901: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:902: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:909: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `methodmem_class' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:911: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:913: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:914: error: `methodmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:917: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:920: error: `methodmem_arr' undeclared (first use in this f
unction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:921: warning: return makes integer from pointer without a c
ast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: `jint' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:928: error: syntax error before "total_num"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:929: error: `jintArray' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:933: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:935: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:937: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:939: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: `source_file' undeclared (first use in this fun
ction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:941: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: `total_num' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:944: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: `total_size' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:945: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:949: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:952: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: `jlong' undeclared (first use in this function)

     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:953: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:954: error: `methodmem' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:956: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:973: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:975: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:977: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getTh
readMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: `jobjectID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:980: error: syntax error before "class_id"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: `JNIEnv' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:981: error: syntax error before ')' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:982: error: `jmethodID' undeclared (first use in this funct
ion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:984: error: `jclass' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:985: error: `jobject' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:986: error: `jobjectArray' undeclared (first use in this fu
nction)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:988: error: `jstring' undeclared (first use in this functio
n)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:994: error: `aggr' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:996: error: request for member `DisableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: `thread_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1005: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: `method_id' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1008: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1009: error: `class_id_long' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1010: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1011: error: `JVMPI_NORMAL_OBJECT' undeclared (first use in
this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1012: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1013: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1014: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1015: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1022: error: request for member `EnableGC' in something not
a structure or union
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `threadmem_class' undeclared (first use in thi
s function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1024: error: `env' undeclared (first use in this function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1026: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1027: error: `threadmem_init' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1029: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1032: error: `threadmem_arr' undeclared (first use in this
function)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1033: warning: return makes integer from pointer without a
cast
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1042: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1044: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: `jlong' undeclared (first use in this function
)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1046: error: syntax error before "unsigned"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1047: error: `threadmem' undeclared (first use in this func
tion)
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1049: error: dereferencing pointer to incomplete type
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: At top level:
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1061: error: syntax error before "jobjectArray"
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1063: error: syntax error before '*' token
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1065: warning: return type defaults to `int'
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c: In function `Java_com_metaparadigm_jmemprof_JMemProf_getOb
jectMem':
     [gcc] D:\Programming\workspace\jmemprof-0.8\jmemprof.c:1066: warning: return makes integer from pointer without a
cast

BUILD FAILED
D:\Programming\workspace\jmemprof-0.8\build.xml:22: gcc failed with return code 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I already reported jmemprof's team about the issue. May be you know how can the problem be solved on Windows ?

Cheers,
Vladimir

Damian Minkov wrote:

Hi,

here is the code of the profiler, it may need changes in the code cause it was made 03.2007 :slight_smile:
I had put it then just for the test in right group menu.
Also it is compiled only for linux :slight_smile:
And here is where I got the lib.

http://oss.metaparadigm.com/jmemprof/.

If something is unclear don't hesitate to ask.

Cheers
damencho

Vladimir �karupelov wrote:

Hi all,

We have decided to change the objectives of my GSOC project to make an integrated mem/cpu profiler for sip-communicator to give bundle dependent results.
The profiler will print in the console something like this:

bundle1: CPU 50% Mem 510kb
bundle2: CPU 12% Mem 120kb
bundle3: CPU 0.1% Mem 12kb

As I understood, Damian Minkov has already started a similar profiler. Could you give me any information for the starting point ?

Thanks,
Vladimir �karupelov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net