wine/dlls rpcrt4/ rpcrt ...

Greg Turner gmturner007 at
Thu Oct 10 20:46:41 CDT 2002

On Thursday 10 October 2002 08:01 pm, Alexandre Julliard wrote:
> Greg Turner <gmturner007 at> writes:
> > Is there, aside from "just knowing," or tracing down API's
> > one-by-one, a task which isn't always obvious to me anyhow, a
> > systematic way to check for broken dll dependencies?
> "make checklink" does this. It won't tell you which dependencies to
> add though...

cool feature! btw, I get:

make[2]: Entering directory `/var/src/wine/dlls/msimg32'
gcc -o checklink -Wl,-rpath,../../dlls -Wl,-rpath,../../library -Wl,-rpath,../../unicode ../../library/checklink.c && rm -f checklink undefined reference to `SetLastError'

this solved it:

Index: dlls/msimg32/
RCS file: /home/wine/wine/dlls/msimg32/,v
retrieving revision 1.5
diff -u -r1.5
--- dlls/msimg32/    17 May 2002 03:37:13 -0000      1.5
+++ dlls/msimg32/    11 Oct 2002 01:43:45 -0000
@@ -3,6 +3,7 @@
 SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = msimg32.dll
+IMPORTS   = kernel32


This was already in dlls/

> > I also presume there are some rules about what is allowed to depend
> > on what, which I also don't know...
> The basic rules are that you can't create circular dependencies, and

Makes sense

> that in general you shouldn't import things that the equivalent dll
> under Windows doesn't import.

Also makes sense.  Got it, thanks!


"If ye love wealth better than liberty, the tranquility
of servitude better than the animating contest of freedom,
go home from us in peace. We ask not your counsels or your
arms. Crouch down and lick the hands, which feed you. May
your chains set lightly upon you, and may posterity forget
that ye were our countrymen." 

-Samuel Adams

More information about the wine-patches mailing list