trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huaping Gu <>
Subject OSX EI Captain build fail on CompileParseRules
Date Mon, 19 Oct 2015 23:22:52 GMT
Hi all,
Any one met the same issue to build 6.0 (latest code) on OS X

Make sure I have the pure installed, and configure as bellow:

./configure --prefix=/opt/ats6 --enable-experimental-plugins
--with-pcre=/usr/local/Cellar/pcre/8.37 CC=clang CXX=clang++

But always get error on CompileParseRules. From log seems like related to
pare regex, but not sure how to fix it?


  CXX      ParseRules.lo

  CXX      Regex.lo

  CXX      Regression.lo

  CXX      TextBuffer.lo

  CXX      Tokenizer.lo

  CXX      Vec.lo

  CXX      Version.lo

  CXX      hugepages.lo

  CXX      ink_args.lo

  CXX      ink_assert.lo

  CXX      ink_auth_api.lo

  CXX      ink_base64.lo

  CXX      ink_cap.lo

  CXX      ink_code.lo

  CXX      ink_defs.lo

  CXX      ink_error.lo

  CXX      ink_file.lo

  CXX      ink_hash_table.lo

  CXX      ink_hrtime.lo

  CXX      ink_inet.lo

  CXX      ink_memory.lo

  CXX      ink_mutex.lo

  CXX      ink_queue.lo

  CXX      ink_queue_utils.lo

  CXX      ink_rand.lo

  CXX      ink_res_init.lo

  CXX      ink_res_mkquery.lo

  CXX      ink_resource.lo

  CXX      ink_rwlock.lo

  CXX      ink_sock.lo

  CXX      ink_sprintf.lo

  CXX      ink_stack_trace.lo

  CXX      ink_string++.lo

  CXX      ink_string.lo

  CXX      ink_sys_control.lo

  CXX      ink_syslog.lo

  CXX      ink_thread.lo

  CXX      ink_time.lo

  CXX      llqueue.lo

  CXX      lockfile.lo

  CXX      signals.lo

  CXX      X509HostnameValidator.lo


Undefined symbols for architecture x86_64:

  "_pcre_assign_jit_stack", referenced from:

      Regex::compile(char const*, unsigned int) in Regex.o

      DFA::build(char const*, unsigned int) in Regex.o

  "_pcre_free_study", referenced from:

      Regex::~Regex() in Regex.o

      Regex::~Regex() in Regex.o

      DFA::~DFA() in Regex.o

  "_pcre_jit_stack_alloc", referenced from:

      get_jit_stack(void*) in Regex.o

  "_pcre_jit_stack_free", referenced from: in Regex.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see

make[3]: *** [] Error 1

make[2]: *** [all-recursive] Error 1

make[1]: *** [all] Error 2

make: *** [all-recursive] Error 1

View raw message