Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 Precompiled DLL is not compatible with 64-bit AMD

v1.0 (example)
open
None
2
2013-05-31
2013-05-30
Jim Showalter
No

Created simple test program:

public class A {
public static void main(String[] args) {
System.out.println("foo");
}
}

Set VM args:

-agentpath:C:/calltracer5.dll=traceFile-C:/my.trace,filterFile-C:/filters.txt,outputType-xml,usage-uncontrolled -Dcalltracerlib=calltracer5

Ran in Eclipse, failed immediately with:

Error occurred during initialization of VM
Could not find agent library C:/calltracer5.dll in absolute path, with error: Can't load IA 32-bit .dll on a AMD 64-bit platform

Would it be possible for you to provide IA 32 and 64 and AMD 32 and 64 versions of the DLL, or for some other fan of this tool to post the missing versions?

I'd really like to use this tool. Feedback on it is very positive.

Discussion

  • Syed Ali Naqvi
    Syed Ali Naqvi
    2013-05-31

    Hi Jim,
    I will compile this tool on 64 bit machine and share the dll. Lookout for the 64 bit release in another couple of days.

    Regards
    Syed Ali Jafar Naqvi

     
  • Jim Showalter
    Jim Showalter
    2013-05-31

    Thank you! My attempt to install Visual Studio Express 2012 and compile the files as a project resulted in 101 errors. Trying to compile from the command line per the readme also didn't work, due to commands having changed.

    Error 1 error C1083: Cannot open include file: 'jni.h': No such file or directory c:\users\jshowalter\desktop\javacalltracer\calltracer\src\ctjti.h 21 1 calltracer5
    2 IntelliSense: variable "_heapwalk" may not be initialized c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\malloc.h 170 53 calltracer5
    3 IntelliSense: identifier "_HEAPINFO" is undefined c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\malloc.h 170 71 calltracer5
    4 IntelliSense: identifier "_EntryInfo" is undefined c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\malloc.h 170 83 calltracer5
    5 IntelliSense: expected a declaration c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\malloc.h 291 1 calltracer5
    6 IntelliSense: expected a declaration c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h 721 1 calltracer5
    7 IntelliSense: expected a declaration c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h 423 1 calltracer5
    8 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 323 41 calltracer5
    9 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 373 52 calltracer5
    10 IntelliSense: incomplete type is not allowed c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 388 6 calltracer5
    11 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 388 23 calltracer5
    12 IntelliSense: identifier "jni_env" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 388 31 calltracer5
    13 IntelliSense: expected a ';' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 388 40 calltracer5
    14 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 406 44 calltracer5
    15 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 484 69 calltracer5
    16 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 512 75 calltracer5
    17 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 688 61 calltracer5
    18 IntelliSense: incomplete type is not allowed c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 707 6 calltracer5
    19 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 707 21 calltracer5
    20 IntelliSense: identifier "jni_env" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 707 29 calltracer5
    21 IntelliSense: expected a ';' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 707 38 calltracer5
    22 IntelliSense: expected a declaration c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 729 2 calltracer5
    23 IntelliSense: expected a declaration c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctcom.h 730 1 calltracer5
    24 IntelliSense: cannot open source file "jni.h" c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 21 1 calltracer5
    25 IntelliSense: cannot open source file "jvmti.h" c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 22 1 calltracer5
    26 IntelliSense: identifier "jmethodID" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 26 9 calltracer5
    27 IntelliSense: identifier "jclass" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 27 9 calltracer5
    28 IntelliSense: identifier "jthread" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 28 9 calltracer5
    29 IntelliSense: identifier "jrawMonitorID" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 29 9 calltracer5
    30 IntelliSense: identifier "jvmtiEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 35 8 calltracer5
    31 IntelliSense: identifier "jclass" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 74 21 calltracer5
    32 IntelliSense: identifier "JNIEnv" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 87 19 calltracer5
    33 IntelliSense: identifier "jni_env" is undefined c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 87 27 calltracer5
    34 IntelliSense: expected a ')' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 87 34 calltracer5
    35 IntelliSense: expected a ';' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjti.h 87 84 calltracer5
    36 IntelliSense: this declaration has no storage class or type specifier c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 33 1 calltracer5
    37 IntelliSense: expected a ';' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 33 11 calltracer5
    38 IntelliSense: this declaration has no storage class or type specifier c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 41 1 calltracer5
    39 IntelliSense: expected a ';' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 41 11 calltracer5
    40 IntelliSense: variable "JNIEXPORT" is not a type name c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 49 1 calltracer5
    41 IntelliSense: expected a ';' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 49 19 calltracer5
    42 IntelliSense: this declaration has no storage class or type specifier c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 57 1 calltracer5
    43 IntelliSense: expected a ';' c:\Users\jshowalter\Desktop\javacalltracer\Calltracer\src\ctjni.h 57 11 calltracer5
    44 IntelliSense: linkage specification is incompatible with previous "mb_cur_max_func" (declared at line 168 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 168 21 calltracer5
    45 IntelliSense: linkage specification is incompatible with previous "
    mb_cur_max_l_func" (declared at line 169 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 169 21 calltracer5
    46 IntelliSense: linkage specification is incompatible with previous "_set_purecall_handler" (declared at line 211 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 211 35 calltracer5
    47 IntelliSense: linkage specification is incompatible with previous "_get_purecall_handler" (declared at line 212 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 212 35 calltracer5
    48 IntelliSense: linkage specification is incompatible with previous "_set_invalid_parameter_handler" (declared at line 231 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 231 44 calltracer5
    49 IntelliSense: linkage specification is incompatible with previous "_get_invalid_parameter_handler" (declared at line 232 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 232 44 calltracer5
    50 IntelliSense: linkage specification is incompatible with previous "_errno" (declared at line 238 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 238 30 calltracer5
    51 IntelliSense: linkage specification is incompatible with previous "_set_errno" (declared at line 241 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 241 17 calltracer5
    52 IntelliSense: linkage specification is incompatible with previous "_get_errno" (declared at line 242 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 242 17 calltracer5
    53 IntelliSense: linkage specification is incompatible with previous "doserrno" (declared at line 245 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 245 33 calltracer5
    54 IntelliSense: linkage specification is incompatible with previous "_set_doserrno" (declared at line 248 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 248 17 calltracer5
    55 IntelliSense: linkage specification is incompatible with previous "_get_doserrno" (declared at line 249 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 249 17 calltracer5
    56 IntelliSense: linkage specification is incompatible with previous "
    sys_errlist" (declared at line 252 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 252 59 calltracer5
    57 IntelliSense: linkage specification is incompatible with previous "__sys_nerr" (declared at line 255 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 255 57 calltracer5
    58 IntelliSense: linkage specification is incompatible with previous "_get_pgmptr" (declared at line 328 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 328 17 calltracer5
    59 IntelliSense: linkage specification is incompatible with previous "_get_wpgmptr" (declared at line 329 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 329 17 calltracer5
    60 IntelliSense: linkage specification is incompatible with previous "_set_fmode" (declared at line 339 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 339 25 calltracer5
    61 IntelliSense: linkage specification is incompatible with previous "_get_fmode" (declared at line 340 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 340 25 calltracer5
    62 IntelliSense: linkage specification is incompatible with previous "exit" (declared at line 360 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 360 43 calltracer5
    63 IntelliSense: linkage specification is incompatible with previous "_exit" (declared at line 361 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 361 43 calltracer5
    64 IntelliSense: linkage specification is incompatible with previous "abort" (declared at line 362 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 362 43 calltracer5
    65 IntelliSense: linkage specification is incompatible with previous "_set_abort_behavior" (declared at line 365 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 365 30 calltracer5
    66 IntelliSense: linkage specification is incompatible with previous "abs" (declared at line 369 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 369 27 calltracer5
    67 IntelliSense: linkage specification is incompatible with previous "labs" (declared at line 370 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 370 27 calltracer5
    68 IntelliSense: linkage specification is incompatible with previous "llabs" (declared at line 371 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 371 27 calltracer5
    69 IntelliSense: linkage specification is incompatible with previous "_abs64" (declared at line 374 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 374 28 calltracer5
    70 IntelliSense: linkage specification is incompatible with previous "atexit" (declared at line 412 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 412 24 calltracer5
    71 IntelliSense: linkage specification is incompatible with previous "atof" (declared at line 416 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 416 40 calltracer5
    72 IntelliSense: linkage specification is incompatible with previous "_atof_l" (declared at line 417 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 417 40 calltracer5
    73 IntelliSense: linkage specification is incompatible with previous "atoi" (declared at line 419 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 419 58 calltracer5
    74 IntelliSense: linkage specification is incompatible with previous "_atoi_l" (declared at line 420 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 420 39 calltracer5
    75 IntelliSense: linkage specification is incompatible with previous "atol" (declared at line 421 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 421 39 calltracer5
    76 IntelliSense: linkage specification is incompatible with previous "_atol_l" (declared at line 422 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 422 39 calltracer5
    77 IntelliSense: linkage specification is incompatible with previous "bsearch_s" (declared at line 426 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 426 39 calltracer5
    78 IntelliSense: linkage specification is incompatible with previous "bsearch" (declared at line 430 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 430 39 calltracer5
    79 IntelliSense: linkage specification is incompatible with previous "qsort_s" (declared at line 435 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 435 22 calltracer5
    80 IntelliSense: linkage specification is incompatible with previous "qsort" (declared at line 439 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 439 22 calltracer5
    81 IntelliSense: linkage specification is incompatible with previous "_byteswap_ushort" (declared at line 443 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 443 47 calltracer5
    82 IntelliSense: linkage specification is incompatible with previous "_byteswap_ulong" (declared at line 444 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 444 47 calltracer5
    83 IntelliSense: linkage specification is incompatible with previous "_byteswap_uint64" (declared at line 445 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 445 49 calltracer5
    84 IntelliSense: linkage specification is incompatible with previous "div" (declared at line 446 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 446 39 calltracer5
    85 IntelliSense: linkage specification is incompatible with previous "getenv" (declared at line 449 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 449 74 calltracer5
    86 IntelliSense: linkage specification is incompatible with previous "getenv_s" (declared at line 451 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 451 44 calltracer5
    87 IntelliSense: linkage specification is incompatible with previous "_dupenv_s" (declared at line 459 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 459 44 calltracer5
    88 IntelliSense: linkage specification is incompatible with previous "_itoa_s" (declared at line 466 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 466 44 calltracer5
    89 IntelliSense: linkage specification is incompatible with previous "_itoa" (declared at line 468 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 468 1 calltracer5
    90 IntelliSense: linkage specification is incompatible with previous "_i64toa_s" (declared at line 469 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 469 44 calltracer5
    91 IntelliSense: linkage specification is incompatible with previous "_i64toa" (declared at line 470 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 470 59 calltracer5
    92 IntelliSense: linkage specification is incompatible with previous "_ui64toa_s" (declared at line 471 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 471 44 calltracer5
    93 IntelliSense: linkage specification is incompatible with previous "_ui64toa" (declared at line 472 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 472 60 calltracer5
    94 IntelliSense: linkage specification is incompatible with previous "_atoi64" (declared at line 473 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 473 40 calltracer5
    95 IntelliSense: linkage specification is incompatible with previous "_atoi64_l" (declared at line 474 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 474 40 calltracer5
    96 IntelliSense: linkage specification is incompatible with previous "_strtoi64" (declared at line 475 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 475 40 calltracer5
    97 IntelliSense: linkage specification is incompatible with previous "_strtoi64_l" (declared at line 476 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 476 40 calltracer5
    98 IntelliSense: linkage specification is incompatible with previous "_strtoui64" (declared at line 477 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 477 49 calltracer5
    99 IntelliSense: linkage specification is incompatible with previous "_strtoui64_l" (declared at line 478 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 478 49 calltracer5
    100 IntelliSense: linkage specification is incompatible with previous "ldiv" (declared at line 479 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 479 39 calltracer5
    101 IntelliSense: linkage specification is incompatible with previous "lldiv" (declared at line 480 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h") c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h 480 40 calltracer5

     
  • Jim Showalter
    Jim Showalter
    2013-05-31

    I just noticed that the AMD part of the error from the loader is spurious. I'm on an Intel laptop. Don't know why it's complaining about 32 bit vs. 64 bit either--the machine is 64 bit, so it should be able to run 32 bit.

     
  • Jim Showalter
    Jim Showalter
    2013-05-31

    Well. It turns out to be an Eclipse problem only, so I have been down the wrong path for a day. These articles helped http://forum.springsource.org/showthread.php?106865-Strange-Error-Can-t-load-IA-32-bit-dll-on-a-AMD-64-bit-platform and http://forum.springsource.org/showthread.php?110307-Programatically-Running-a-script-file-in-DOS-via-Java-Application. It's odd, because I'm running 64 bit OS, JDK, and Eclipse, yet my test program can't run in Eclipse. Finally got smart and ran it from the command line, and it works fine:

    C:\Users\jshowalter\Documents\EclipseTemp\z\bin>java A
    foo

    C:\Users\jshowalter\Documents\EclipseTemp\z\bin>java A -agentpath:C:/dev/trunk/rt/lib/calltracer5.dl
    l=traceFile-C:/dev/qbo.trace,filterFile-C:/dev/filtersk.txt,outputType-xml,usage-uncontrolled -Dcall
    tracerlib=calltracer5
    foo

    So, the classtracker5.dll is not the problem.

    What started this is that, if I add that agent string, Tomcat won't start. Fails immediately, leaves no trace. Remove the agent string, Tomcat runs fine. So first I moved it out of Tomcat into a simple program in Eclipse, but even that wasn't simple enough. On the command line, have verified that the agent string does not cause the simple program to crash.

    However, even with the filter set to:

    javax
    org
    com
    edu
    java

    I get no output in C:/dev/qbo.trace (no file is created).

    Which is a different problem.