From: newsham AT aloha DOT net (Tim Newsham) Subject: Re: undefined reference 14 Oct 1997 23:28:48 -0700 Message-ID: <199710142213.MAA24628.cygnus.gnu-win32@haleakala.aloha.net> References: <34434031 DOT 590 AT ixos-leipzig DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: gunther DOT ebert AT ixos-leipzig DOT de (Gunther Ebert) Cc: newsham AT aloha DOT net, gnu-win32 AT cygnus DOT com > It is really not there. You will either have to build a new import library > for netapi32.dll. Look for netapi32.def in the CDK source tree (winsup/sysdef I believe) > and add a line > > NetEnumerateTrustedDomains AT 8 > > without any @xx stuff. If the other function names in the netapi32.def file > have preceding underscores add one also the new line. > > Build the import library by executing dlltool: > > dlltool -k --dllname netapi32.dll --output-lib libnetapi32.a --def netapi32.def thanks. That worked. I had to leave the "@8" on though (following the exaple of the other entries in the file). Btw, what is the @8 used for and how is it generated? Tim N. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".