Samba 2.0.7 does not configure on HP-UX 10.20

Mike Brodbelt m.brodbelt at
Tue Oct 3 15:24:15 GMT 2000

jarey wrote:
> I am unable to configure SAMBA 2.0.7 from the source.  I am running HP-UX
> 10.20 on a HP K210 server.  The message in the log is:
> cc: "configure", line 1439: error 1000: unexpected symbol: "foo".
> cc:  error 2017: Cannot recover from earlier errors, terminating.

Hmmm. The relevant bit of the configure script is:-

echo $ac_n "checking for inline""... $ac_c" 1>&6
echo "configure:1429: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
for ac_kw in inline __inline__ __inline; do
  cat > conftest.$ac_ext <<EOF
#line 1436 "configure"
#include "confdefs.h"

int main() {
} $ac_kw foo() {
; return 0; }
if { (eval echo configure:1443: \"$ac_compile\") 1>&5; (eval
$ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_c_inline=$ac_kw; break

It looks to me as though configure is less than happy with your
compiler. Have you tried getting hold of gcc for HPUX, and using that?



More information about the samba mailing list