Hello, This is a problem I have had for a while building WINE dlls for use on Windows and ReactOS. When linking the dlls dllwrap always complains that it cant find the symbol private that is added to the .def file. When I remove this symbol and rebuild my import libs and dlls I dont have any problems so lets disable it for now.
Changelog: Disable PRIVATE name on for exports in def files.
Index: spec32.c =================================================================== RCS file: /home/wine/wine/tools/winebuild/spec32.c,v retrieving revision 1.72 diff -u -r1.72 spec32.c --- spec32.c 3 Nov 2003 22:19:44 -0000 1.72 +++ spec32.c 20 Nov 2003 18:21:56 -0000 @@ -900,7 +900,9 @@ fprintf( outfile, " @%d", odp->ordinal ); if (!odp->name) fprintf( outfile, " NONAME" ); if (is_data) fprintf( outfile, " DATA" ); +#if 0 if (odp->flags & FLAG_PRIVATE) fprintf( outfile, " PRIVATE" ); +#endif fprintf( outfile, "\n" ); } }
__________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
Steven Edwards steven_ed4153@yahoo.com writes:
This is a problem I have had for a while building WINE dlls for use on Windows and ReactOS. When linking the dlls dllwrap always complains that it cant find the symbol private that is added to the .def file.
You probably need to upgrade your binutils.
--- Alexandre Julliard julliard@winehq.org wrote:
Steven Edwards steven_ed4153@yahoo.com writes:
This is a problem I have had for a while building WINE dlls for use
on
Windows and ReactOS. When linking the dlls dllwrap always complains that it cant find the symbol private that is added to the .def
file.
You probably need to upgrade your binutils.
Every binutils I try for mingw gives me this problem. I have not been able to find documentation for the private flag for binutils either. I guess I can build it from CVS but do the function have to be marked as private? I have been using WINE dlls for testing applications with this disabled and have not had any problems so far.
Thanks Steven
__________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
Steven Edwards steven_ed4153@yahoo.com writes:
Every binutils I try for mingw gives me this problem. I have not been able to find documentation for the private flag for binutils either. I guess I can build it from CVS but do the function have to be marked as private? I have been using WINE dlls for testing applications with this disabled and have not had any problems so far.
It only affects import libs, so the dlls will still work. And actually the import libs will mostly work too, unless you link an app that tries to do something stupid. It's mainly needed for building the dlls with MS tools, so in your case it's OK to remove it. Just don't expect me to commit that patch <g>