[OpenAFS-devel] 1.5.30a has compile errors on linux
Russ Allbery
rra@stanford.edu
Fri, 18 Jul 2008 20:29:41 -0700
Jason Edgecombe <jason@rampaginggeek.com> writes:
> I didn't. I even tried a second compile
> with --disable-pthreaded-ubik, but got the same compile error.
That would appear to be because that configure flag sets a variable that
nothing uses and instead we always build threaded ubik no matter what.
Fix committed as DEVEL15-no-unconditional-pthreaded-ubik-20080718
--- Makefile.in 12 Jun 2008 19:58:23 -0000 1.113
+++ Makefile.in 19 Jul 2008 03:26:19 -0000
@@ -188,7 +188,7 @@ ubik: cmd comerr auth ubik_depinstall
${COMPILE_PART1} ubik ${COMPILE_PART2}
tubik: ubik libafsrpc
- case ${SYS_NAME} in \
+ [ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
${COMPILE_PART1} tubik ${COMPILE_PART2} ;; \
*_darwin_[1-6][0-9]) \
@@ -205,7 +205,7 @@ ptserver: cmd comerr ubik cmd comerr aut
${COMPILE_PART1} ptserver ${COMPILE_PART2}
tptserver: cmd comerr ptserver tubik libafsrpc libafsauthent
- case ${SYS_NAME} in \
+ [ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
${COMPILE_PART1} tptserver ${COMPILE_PART2} ;; \
*_darwin_[1-6][0-9]) \
@@ -260,7 +260,7 @@ vlserver: cmd comerr vol audit vlserver_
${COMPILE_PART1} vlserver ${COMPILE_PART2}
tvlserver: cmd comerr vol audit tubik libafsrpc libafsauthent tvlserver_depinstall
- case ${SYS_NAME} in \
+ [ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
${COMPILE_PART1} tvlserver ${COMPILE_PART2} ;; \
*_darwin_[1-6][0-9]) \
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>