Hi Mark,

It seems that your JDK does not include jvmpi.h, which is required for the current Performance Inspector compilation.
You can download an IBM Java 5 SDK, for example ibm-java2-sdk-5.0-12.2-linux-i386.tgz from http://www.ibm.com/developerworks/java/jdk/linux/download.html.
You can either use this JDK for PI compilation, or just copy its include/jvmpi.h  to Dpiperf/include/jvmpi.h and rerun tinstall.appl.

Regards,

Milena

"Mark Stoltzfus" <mark.stoltzfus@pmigroup.com> wrote on 12/07/2010 03:19:57 PM:

> From: "Mark Stoltzfus" <mark.stoltzfus@pmigroup.com>

> To: <perfinsp-list@lists.sourceforge.net>
> Date: 12/07/2010 03:49 PM
> Subject: [Perfinsp-list] Compile issue on 64-bit RHEL5 using JDK1.5
>
> After reading the issues on this list about compiling jprof with JDK
> 1.6, I downloaded JDK 1.5.0_22 and ran tinstall.appl (after updating
> the path to jnd_mi.h for the include in jni.h).  I received the
> following error:

> if gcc -DHAVE_CONFIG_H -I. -I. -I../../include    -I ../../include -
> I /var/tmp/jdk1.5.0_22/include -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DJVMTI -fPIC -shared -
> D_NO_SCS -g -O2 -m64 -MT jprof.o -MD -MP -MF ".deps/jprof.Tpo" -c -o
> jprof.o jprof.c; \

>         then mv -f ".deps/jprof.Tpo" ".deps/jprof.Po"; else rm -f
> ".deps/jprof.Tpo"; exit 1; fi

> In file included from jprof.c:603:
> jprof12x.c: In function âEnableEvents1xâ:
> jprof12x.c:78: error: âJVMPI_EVENT_GEN_COMPILED_METHODâ undeclared
> (first use in this function)

> jprof12x.c:78: error: (Each undeclared identifier is reported only once
> jprof12x.c:78: error: for each function it appears in.)
> jprof12x.c:82: error: âJVMPI_EVENT_GEN_INLINE_METHODâ undeclared
> (first use in this function)

> jprof12x.c:86: error: âJVMPI_EVENT_GEN_BUILTIN_METHODâ undeclared
> (first use in this function)

> jprof12x.c:130: error: âJVMPI_EVENT_COMPILING_STARTâ undeclared
> (first use in this function)

> jprof12x.c:131: error: âJVMPI_EVENT_COMPILING_ENDâ undeclared (first
> use in this function)

> jprof12x.c: In function âEnableEvents2xâ:
> jprof12x.c:172: error: âJVMPI_EVENT_COMPILED_METHOD_EXITâ undeclared
> (first use in this function)

> jprof12x.c:175: error: âJVMPI_EVENT_COMPILED_METHOD_ENTRYâ
> undeclared (first use in this function)

> jprof12x.c:176: error: âJVMPI_EVENT_COMPILED_METHOD_ENTRY2â
> undeclared (first use in this function)

> jprof12x.c:181: error: âJVMPI_EVENT_INLINE_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof12x.c:182: error: âJVMPI_EVENT_INLINE_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof12x.c:187: error: âJVMPI_EVENT_BUILTIN_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof12x.c:188: error: âJVMPI_EVENT_BUILTIN_METHOD_ENTRY2â
> undeclared (first use in this function)

> jprof12x.c:193: error: âJVMPI_EVENT_NATIVE_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof12x.c:194: error: âJVMPI_EVENT_NATIVE_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof12x.c:197: error: âJVMPI_EVENT_COMPILING_STARTâ undeclared
> (first use in this function)

> jprof12x.c:198: error: âJVMPI_EVENT_COMPILING_ENDâ undeclared (first
> use in this function)

> jprof12x.c:262: error: âJVMPI_EVENT_COMPILER_GC_STARTâ undeclared
> (first use in this function)

> jprof12x.c:263: error: âJVMPI_EVENT_COMPILER_GC_ENDâ undeclared
> (first use in this function)

> jprof.c: In function âinit_event_namesâ:
> jprof.c:1135: error: âJVMPI_EVENT_COMPILED_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof.c:1136: error: âJVMPI_EVENT_COMPILED_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof.c:1137: error: âJVMPI_EVENT_INLINE_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof.c:1138: error: âJVMPI_EVENT_INLINE_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof.c:1139: error: âJVMPI_EVENT_BUILTIN_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof.c:1140: error: âJVMPI_EVENT_BUILTIN_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof.c:1141: error: âJVMPI_EVENT_NATIVE_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof.c:1142: error: âJVMPI_EVENT_NATIVE_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof.c:1143: error: âJVMPI_EVENT_COMPILING_STARTâ undeclared (first
> use in this function)

> jprof.c:1147: error: âJVMPI_EVENT_COMPILED_METHOD_EXITâ undeclared
> (first use in this function)

> jprof.c:1148: error: âJVMPI_EVENT_COMPILING_ENDâ undeclared (first
> use in this function)

> jprof.c: In function âjeh_jmLoadInfoâ:
> jprof.c:1564: error: âunion <anonymous>â has no member named
> âgeneric_compiled_method_loadâ

> jprof.c:1565: error: âunion <anonymous>â has no member named
> âgeneric_compiled_method_loadâ

> jprof.c:1566: error: âunion <anonymous>â has no member named
> âgeneric_compiled_method_loadâ

> jprof.c:1567: error: âunion <anonymous>â has no member named
> âgeneric_compiled_method_loadâ

> jprof.c:1568: error: âunion <anonymous>â has no member named
> âgeneric_compiled_method_loadâ

> jprof.c: In function âJVM_OnLoadâ:
> jprof.c:1889: error: âJVMPI_EVENT_DISABLE_COMPATIBILITYâ undeclared
> (first use in this function)

> jprof.c: In function âJVM_Eventâ:
> jprof.c:2252: error: âJVMPI_EVENT_COMPILING_ENDâ undeclared (first
> use in this function)

> jprof.c:2343: warning: passing argument 2 of âprocSockCmdâ discards
> qualifiers from pointer target type

> jprof.c:2347: error: âJVMPI_EVENT_COMPILED_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof.c:2348: error: âJVMPI_EVENT_NATIVE_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof.c:2349: error: âJVMPI_EVENT_BUILTIN_METHOD_ENTRY2â undeclared
> (first use in this function)

> jprof.c:2361: error: âJVMPI_EVENT_COMPILED_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof.c:2362: error: âJVMPI_EVENT_NATIVE_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof.c:2363: error: âJVMPI_EVENT_BUILTIN_METHOD_ENTRYâ undeclared
> (first use in this function)

> jprof.c:2364: error: âJVMPI_EVENT_COMPILING_STARTâ undeclared (first
> use in this function)

> jprof.c:2370: error: âJVMPI_EVENT_COMPILED_METHOD_EXITâ undeclared
> (first use in this function)

> jprof.c:2554: error: âJVMPI_EVENT_COMPILED_METHOD_LOAD2â undeclared
> (first use in this function)

> jprof.c: In function âdeh_ClassLoadâ:
> jprof.c:7121: warning: passing argument 2 of âaddClassâ discards
> qualifiers from pointer target type

> make[3]: *** [jprof.o] Error 1
> make[3]: Leaving directory `/var/tmp/Dpiperf/src/jprof'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/var/tmp/Dpiperf/src/jprof'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/Dpiperf/src'
> make: *** [all-recursive] Error 1
> error during make. Exiting.
> [root@wal-sapp-18 Dpiperf]#
> Any idea what I’m doing wrong?  I apologize if this has been
> answered elsewhere, google and the perfinsp-list archive didn’t seem
> to have any information about this one…

> Thanks in advance,
>
> Mark
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more.
http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Perfinsp-list mailing list
> Perfinsp-list@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/perfinsp-list