Hi Steve,

> I upgraded my autoconf, which solved my first problem.  Now,
> everything runs fine until I get to the make install step, when
> I get this error:
<snip>

The attached patch to winedump corrects the over-enthusiatic insertion of 
generated DLL entries into dlls/Makefile.in, and renames the MODULE from 
<dll> to <dll>.dll as per the current build process.

You can manually remove the offending lines youself, edit dlls/Makefile.in and 
remove the 2 lines referring to your DLL after the targets "uninstall::" and 
"install::". Then append".dll" to the MODULE = line in 
dlls/<yourdll>/Makefile.in. Alternately, apply the patch and regenerate.

I've just tested the process from start to finish and it works for me now. Let 
me know if you find any other issues. I've sent the patch to 
wine-patches/Alexandre.

> Thanks for making those changes to the README, hopefully they'll get
> committed soon so other can avoid the problems I had.

np :-)

Jon
--- wine/tools/winedump/output.c	Sat Aug 31 12:39:01 2002
+++ wine-develop/tools/winedump/output.c	Fri Sep 20 17:34:58 2002
@@ -432,7 +432,7 @@
   fprintf (makefile,
            "# Generated from %s by winedump.\nTOPSRCDIR = @top_srcdir@\n"
            "TOPOBJDIR = ../..\nSRCDIR    = @srcdir@\nVPATH     = @srcdir@\n"
-           "MODULE    = %s\n",globals.input_name, OUTPUT_DLL_NAME);
+           "MODULE    = %s.dll\n", globals.input_name, OUTPUT_DLL_NAME);
 
   fprintf (makefile, "IMPORTS   = user32 advapi32 kernel32 ntdll");
   if (globals.forward_dll)
@@ -480,7 +480,7 @@
            "cd $1\n\nsed '/dlls\\/"
            "x11drv\\/Makefile/{G;s/$/dlls\\/%s\\/Makefile/;}' configure.ac"
            " >t.tmp\nmv -f t.tmp configure.ac\necho Patched configure.ac\n\n"
-           "sed '/all:/{G;s/$/\\^%s.dll$(DLLEXT) \\\\/;}'"
+           "sed '/^all:/{G;s/$/\\^%s.dll$(DLLEXT) \\\\/;}'"
            " dlls/Makefile.in| tr ^ \\\\t >t.tmp\n"
            "sed '/BASEDIRS =/{G;s/$/\\^%s \\\\/;}' t.tmp | tr ^ \\\\t >t.tmp2"
            "\nsed '/Map symlink name /{G;s/$/^\\$(RM) \\$\\@ \\&\\& \\$\\"

Reply via email to