This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: undefined reference


> 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@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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]