This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [64 bit] problem using Win32 API in native Cygwin64 library


On Apr  3 13:36, Corinna Vinschen wrote:
> On Apr  3 13:25, VÃclav Zeman wrote:
> > On 2 April 2013 17:37, Corinna Vinschen wrote:
> > > I just uploaded a new w32api package which should fix this issue.
> > > The intrinsics are now provide by libkernel32.a.  Please give it
> > > a try.
> > It is much better but I am still getting one failure:
> > 
> > src/.libs/liblog4cplus_la-cygwin-win32.o: In function `VarCmp':
> > /usr/include/w32api/oleauto.h:487: undefined reference to `VarCmp'
> > /usr/include/w32api/oleauto.h:487:(.text+0x34f): relocation truncated
> > to fit: R_X86_64_PC32 against undefined symbol `VarCmp'
> > collect2: error: ld returned 1 exit status
> > Makefile:1110: recipe for target `liblog4cplus.la' failed
> 
> Are you using C++?  If so, can you try to use the other variant
> of VarCmp, with an extra, forth parameter, set to 0?

I just tried it myself and I can link against VarCmp just fine...
*If* I add a -loleaut32 to the linker stage.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]