make: could not load advapi32.dll

Christopher Faylor
Mon Nov 13 09:07:00 GMT 2000

On Mon, Nov 13, 2000 at 06:39:29AM -0800, Earnie Boyd wrote:
>--- Christopher Faylor <> wrote:
>> On Sun, Nov 12, 2000 at 10:48:10PM +0100, Emanuele Aliberti wrote:
>> >  I am from the RactOS developers. We use GCC/MinGW to compile the
>> >kernel an the Win32 personality. I am reporting not properly an error,
>> >but a behaviour you should probably be aware of.
>> >
>> >The setup is a bit strange. 
>> >
>> >1. GCC/MingW 2.95.2
>> >2. CygWin 1.1.5 (make, ld, dlltool only; no GCC)
>> >
>> >PATH is set to give priority to CygWin binaries. Remember that there is
>> >no GCC/Cygwin here.
>> >
>> >Note that ntoskrnl.exe is compiled and linked regularly by
>> >gcc/mingw+ld/cygwin. The same for ntdll.dll, kernel32.dll and
>> >crtdll.dll. It happens something strange when ld is called to link
>> >advapi32.dll (actually make.exe/cygwin can not load advapi32.dll).
>> Cygwin autoloads advapi32.dll.  I suspect that if you're building the
>> DLL this could be a problem.
>So, you would need to build new-advapi32.dll and let the install process copy
>it to the advapi32.dll name.

Even that would be hard, though, since 'cp' could be using advapi32.dll, too.
Possibly, if you rename the .dll to foo.advapi32.dll first or something that
might work.


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list