Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Mon, 13 Nov 2000 12:07:08 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: make: could not load advapi32.dll
Message-ID: <20001113120708.K7424@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20001113143929.28133.qmail@web106.yahoomail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <20001113143929.28133.qmail@web106.yahoomail.com>; from earnie_boyd@yahoo.com on Mon, Nov 13, 2000 at 06:39:29AM -0800

On Mon, Nov 13, 2000 at 06:39:29AM -0800, Earnie Boyd wrote:
>--- Christopher Faylor <cgf@redhat.com> 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.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

