Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 709125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:28:08+00:00 2026-05-14T04:28:08+00:00

I am trying to compile mod_spnego ( http://sourceforge.net/projects/modgssapache/ ) with SSPI support in Visual

  • 0

I am trying to compile mod_spnego (http://sourceforge.net/projects/modgssapache/) with SSPI support in Visual C++ 2008 Express Edition. I have managed to get the compiling itself work fine, but now I am stuck at some errors that the linker prints out:

Linking…
Creating library 2-win32-debug/mod_spnego.lib and object 2-win32-debug/mod_spnego.exp
mod_spnego.obj : error LNK2019: unresolved external symbol __imp__DeleteSecurityContext@4 referenced in function _handleSpnegoTokenSSPI
mod_spnego.obj : error LNK2019: unresolved external symbol _QueryContextAttributesA@12 referenced in function _handleSpnegoTokenSSPI
mod_spnego.obj : error LNK2019: unresolved external symbol _FreeContextBuffer@4 referenced in function _handleSpnegoTokenSSPI
mod_spnego.obj : error LNK2019: unresolved external symbol __imp__AcceptSecurityContext@36 referenced in function _handleSpnegoTokenSSPI
mod_spnego.obj : error LNK2019: unresolved external symbol _AcquireCredentialsHandleA@36 referenced in function _handleSpnegoTokenSSPI
2-win32-debug/mod_spnego.so : fatal error LNK1120: 5 unresolved externals

Looking in the source code, these methods come from Sspi.h in the Microsoft SDK. I have no idea about compiling things on Windows, so I have an easy question: What lib file contains the SSPI API? Which one do I have to link against?

By the way, at the moment, the following libs are linked:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

Thank you,
memminger

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:28:09+00:00Added an answer on May 14, 2026 at 4:28 am

    I think I found it out myself: Secur32.Lib.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When trying to compile the following file in xcode: http://openkinect.org/wiki/C%2B%2BOpenCvExample I get these errors:
I have been trying to compile Haskell code all day – again – involving
Trying to compile a sample http class with the SDK, and getting some strange
While trying to compile a Silverlight project for Windows Phone using Visual Studio 2010
Im trying to compile this project h__p://ross-warren.co.uk/my-twitter-clone-using-jsp-and-cassandra/ I have downloaded it, and spend almost
Trying to compile a iPhone/iPad application with SDK3.2 and am getting this error: Undefined
When trying to compile this code: #include <iostream> #include <vector> using namespace std; class
While trying to compile, Haskell Platform (2012.2.0.0) I realized I compiled the wrong GHC
When trying to compile GNU software on HP-UX (binutils for example) I'm getting error
While trying to compile a 64 bit linux kernel using gcc, I see the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.