logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Issues building Apache 2.2.29
Author
nawglan



Joined: 17 Sep 2012
Posts: 10

PostPosted: Thu 06 Nov '14 23:15    Post subject: Issues building Apache 2.2.29 Reply with quote

I ran into an issue using the 2.2.29 source bundle from http://people.apache.org/~gsmith/httpd/releases/.

Compile steps taken from http://www.apachelounge.com/viewtopic.php?t=4936.


I'm getting more unresolved external symbols.

Building Win32 Release targets (R suffixes)
cd srclib\apr
C:\third_party\emsng_build\bin\nmake.exe -nologo -f apr.mak CFG="apr - Win32 Release" RECURSE=0
C:\third_party\emsng_build\bin\nmake.exe -nologo -f libapr.mak CFG="libapr - Win32 Release" RECURSE=0
link.exe @C:\Users\DESMON~1.DAI\AppData\Local\Temp\nmD1E1.tmp
Creating library .\Release\libapr-1.lib and object .\Release\libapr-1.exp
apr_atomic.obj : error LNK2019: unresolved external symbol __InterlockedIncrement referenced in function _apr_atomic_inc32@4
apr_atomic.obj : error LNK2019: unresolved external symbol __InterlockedExchangeAdd referenced in function _apr_atomic_add32@8
apr_atomic.obj : error LNK2019: unresolved external symbol __InterlockedExchange referenced in function _apr_atomic_set32@8
apr_atomic.obj : error LNK2019: unresolved external symbol __InterlockedDecrement referenced in function _apr_atomic_dec32@4
apr_atomic.obj : error LNK2019: unresolved external symbol __InterlockedCompareExchange referenced in function _apr_atomic_cas32@12
.\Release\libapr-1.dll : fatal error LNK1120: 5 unresolved externals

I get these same errors when I take the unix src bundle, include the apr-iconv bundle under srclib, convert line endings, etc.

Thanks for any help.
Back to top
nawglan



Joined: 17 Sep 2012
Posts: 10

PostPosted: Fri 07 Nov '14 17:48    Post subject: Reply with quote

Fixed via patching apr_atomic.c (found in 2.4.x build thread).

Sorry for any noise.

patch found here: http://marc.info/?l=apr-dev&m=138386228311375&w=2
Back to top


Reply to topic   Topic: Issues building Apache 2.2.29 View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads