[Mono-winforms-list] Win32 API shared libaries

Vladimir Kaluzhny vkaluzhny@openlinksw.co.uk
Wed, 24 Sep 2003 11:01:27 +0700


Duncan.

Thanks you a lot for  this information.
There was one silly mistake in Makefile.in -
wine_uuid.a library was not compiled and installed
through  wine-shared mode.

Now this bug was fixed and new patch is issued.
I have  removed all previously installed libraries
and compiled shared libraries on clear  place.
Now all is ok.

So, find new tarball attached with the patch.

Regards, Vlad

----- Original Message ----- 
From: "Duncan Mak" <duncan@ximian.com>
To: "Vladimir Kaluzhny" <vkaluzhny@openlinksw.co.uk>
Cc: "Miguel de Icaza" <miguel@ximian.com>
Sent: Tuesday, September 23, 2003 19:55
Subject: Re: [Mono-winforms-list] Win32 API shared libaries


> Hello Vladimir,
> 
> On Tue, 2003-09-23 at 02:04, Vladimir Kaluzhny wrote:
> > Hello.
> > This is a new realease of patch. It is  to replace
> > the previous one.
> 
> I woke up really early this morning because of jet-lag, and tried to
> build new mono-wine packages. I replaced the existing patch from you
> with the new one, and applied the rest of the patches (2 from Alexandre,
> for wine-initialization and one for getting the combo-box to work; 3
> from us at Ximian, for setting up a script to handle installing an
> acceptable .wine directory).
> 
> When I try to build, I see this error:
> 
> /usr/bin/gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
> -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith  -fPIC
> -D__WINESRC__ -D_RPCRT4_ -DCOM_NO_WINDOWS_H -DMONO  -D_REENTRANT -o
> rpcss_np_client.o rpcss_np_client.c
> /usr/bin/gcc -shared  -Wl,-soname,librpcrt4.dll.so  cproxy.o cpsf.o
> cstub.o ndr_marshall.o ndr_midl.o ndr_ole.o ndr_stubless.o rpc_binding.o
> rpc_epmap.o rpc_message.o rpc_server.o rpcrt4_main.o rpcss_np_client.o  
> rpcrt4.dll.dbg.o -o librpcrt4.dll.so -L../../dlls -ladvapi32.dll
> -lkernel32.dll -L../../ole -lwine_uuid   -L../../library -lwin32
> -L../../unicode -lwin32_unicode -lm  -ldl -lc
> /usr/bin/ld: cannot find -lwine_uuid
> collect2: ld returned 1 exit status
> make[2]: *** [librpcrt4.dll.so] Error 1
> make[2]: Leaving directory
> `/home/duncan/build/mono-wine/BUILD/wine-20030318/dlls/rpcrt4'
> gmake[1]: *** [rpcrt4/librpcrt4.dll.so] Error 2
> gmake[1]: Leaving directory
> `/home/duncan/build/mono-wine/BUILD/wine-20030318/dlls'
> gmake: *** [wine-shared] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.70307 (%build)
> 
> Going thru the both patches, old and new, the -lwine_uuid thing wasn't
> changed at all. Do you have any idea why it is not building for me?
> 
> Duncan.
>