From: jeffrey DOT hawk AT fibre DOT com Subject: Unable to link with advapi32 23 Jan 1998 08:59:32 -0800 Message-ID: <9800218854.AA885409869.cygnus.gnu-win32@ccrouter1.fibre.com> To: gnu-win32 AT cygnus DOT com I'm trying to compile the Info-zip code using Mingw32 and I'm getting the following linker error: nt.o(.text+0xf6):nt.c: undefined reference to `GetKernelObjectSecurity AT 20' nt.o(.text+0x127):nt.c: undefined reference to `GetKernelObjectSecurity AT 20' nt.o(.text+0x4bd):nt.c: undefined reference to `GetKernelObjectSecurity AT 20' nt.o(.text+0x4ca):nt.c: undefined reference to `GetSecurityDescriptorLength AT 4' nt.o(.text+0x535):nt.c: undefined reference to `OpenProcessToken AT 12' nt.o(.text+0x55e):nt.c: undefined reference to `LookupPrivilegeValueA AT 12' nt.o(.text+0x574):nt.c: undefined reference to `AdjustTokenPrivileges AT 24' nt.o(.text+0x5a7):nt.c: undefined reference to `LookupPrivilegeValueA AT 12' nt.o(.text+0x5b9):nt.c: undefined reference to `AdjustTokenPrivileges AT 24' gcc: Internal compiler error: program ld got fatal signal 1 I did a dump of the libadvapi32.a module and found that these symbols all have prepended underscores. How do I make the linker and compiler happy? Thanks, Jeff Hawk Advanced Fibre Communication - 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".