Displaying 11 results from an estimated 11 matches for "libpsapi".
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
...have this import lib. It is included in the MS Platform SDK,
>> but I'm not sure whether you can link that into mingw32 programs...
> msdn suggests kernel32, but that is already included.
My apologies, I was mistaken, as Yonggang pointed out to me privately;
mingw32 does come with a libpsapi.lib file, but in your case it does not
get added to the libs to be linked with, apparently.
In my case, the configure script does check for the existence of
libpsapi.a, and adds both a HAVE_LIBPSAPI define to config.h, and
-lpsapi to LIBS.
Can you find anything in your config.log file about libps...
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
...t is included in the MS Platform SDK,
> >> but I'm not sure whether you can link that into mingw32 programs...
> > msdn suggests kernel32, but that is already included.
>
> My apologies, I was mistaken, as Yonggang pointed out to me privately;
> mingw32 does come with a libpsapi.lib file, but in your case it does not
> get added to the libs to be linked with, apparently.
>
> In my case, the configure script does check for the existence of
> libpsapi.a, and adds both a HAVE_LIBPSAPI define to config.h, and
> -lpsapi to LIBS.
>
> Can you find anything...
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
> On 2009-10-02 01:07, 罗勇刚(Yonggang Luo) wrote:
> > Well, Now I get the solution.
> > Please, someone can apply the patch.
> >
> > Just modify the makefile resident in lib/System
> >
> > But, a new error is appeared
> > llvm[2]: Linking Debug unit test ADT
> >
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
...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.
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...
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...
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
...latform SDK,
> > >> but I'm not sure whether you can link that into mingw32 programs...
> > > msdn suggests kernel32, but that is already included.
> >
> > My apologies, I was mistaken, as Yonggang pointed out to me privately;
> > mingw32 does come with a libpsapi.lib file, but in your case it does not
> > get added to the libs to be linked with, apparently.
> >
> > In my case, the configure script does check for the existence of
> > libpsapi.a, and adds both a HAVE_LIBPSAPI define to config.h, and
> > -lpsapi to LIBS.
> >...
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 18
4
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
Óscar Fuentes <ofv <at> wanadoo.es> writes:
> Duncan Pierce <duncan <at> duncanpierce.org> writes:
>
> > I have /lib/libimagehlp.a and /lib/libpsapi.a
> > 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...
2009 Jan 18
0
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
Duncan Pierce <duncan at duncanpierce.org> writes:
>> > I have /lib/libimagehlp.a and /lib/libpsapi.a
>> > 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 -lL...
2005 Sep 14
1
[LLVMdev] How to compile llvm with mingw on Windows ?
I'm trying to compile llvm (cvs head) on windows (WinXP sp2) using the
lastest mingw, but I'm getting the link errors found below. It seems that
the tools are not being linked with win32 api lib (libimagehlp.a and
libpsapi.a) which defines the missing symbols. The TOOLS_VERBOSE link
command is at the end of the mail and does not contain those libraries.
The configure line I'm using is:
../configure --enable-optimized --enable-jit --enable-targets="host-only" --prefix=/e/prg/vc/llvm-cvs-mingw/dist/
-...