Displaying 5 results from an estimated 5 matches for "_getprocessmemoryinfo".
Did you mean:
getprocessmemoryinfo
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
...`GetProcessMemoryInfo at 12'
>> collect2: ld returned 1 exit status
> I believe you will need additional libraries like imagehlp and psapi.
I have /lib/libimagehlp.a and /lib/libpsapi.a
nm --defined-only /lib/libpsapi.a | grep "GetProcessMemoryInfo" -
returns:
00000000 T _GetProcessMemoryInfo at 12
00000000 I __imp__GetProcessMemoryInfo at 12
And llvm-config seems to be asking for them to be picked up:
-I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
-fomit-frame-pointer -Woverloaded-virtual
-L//lib -lpsapi -limagehlp -lm
-lLLVMCore -lLLVMSupport -lLLVMSystem
So I'...
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
2009/1/13 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello, Duncan
>
> * LD (which I took to be representative of Binutils version) 2.17.50
> 20060824
> Why you're using such old binutils? 2.18.50-20080109 definitely worked for
> me (and release binaries were built so...).
Thank you for your reply Anton. I'm sorry it's taken a while to get
back to you.
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
Hello, Duncan
> $ g++ -g tut1.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut1
> /mingw/lib/libLLVMSystem.a(Process.o):Process.cpp:(.text+0x8d):
> undefined reference to `GetProcessMemoryInfo at 12'
> collect2: ld returned 1 exit status
I believe you will need additional libraries like imagehlp and psapi.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
Duncan Pierce <duncan at duncanpierce.org> writes:
> I have /lib/libimagehlp.a and /lib/libpsapi.a
>
> nm --defined-only /lib/libpsapi.a | grep "GetProcessMemoryInfo" -
>
> returns:
>
> 00000000 T _GetProcessMemoryInfo at 12
> 00000000 I __imp__GetProcessMemoryInfo at 12
>
> And llvm-config seems to be asking for them to be picked up:
>
> -I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
> -fomit-frame-pointer -Woverloaded-virtual
> -L//lib -lpsapi -limagehlp -lm
> -lLLVMCor...
2012 Jul 20
0
[LLVMdev] LLVM Kaleidoscope Chapter 7 Compilation Error in MinGW32(MSYS Shell) on Windows
...ned reference to `__imp__SymSetOptions at 4'
c:/llvm/llvminstall/lib/libLLVMSupport.a(Signals.cpp.obj):Signals.cpp:(.text+0x5
be): undefined reference to `__imp__SymInitialize at 12'
c:/llvm/llvminstall/lib/libLLVMSupport.a(Process.cpp.obj):Process.cpp:(.text+0xc
4): undefined reference to `_GetProcessMemoryInfo at 12'
collect2.exe: error: ld returned 1 exit status
clang++: error: linker (via gcc) command failed with exit code 1 (use -v to
see
invocation)
On a side note does anyone know how to fix the LLVM external function error
(Program used *external function* '...' which could not be reso...