facebook/pfff — Issue #21: Build error on Ubuntu Oneiric
Author: rvanvelzen
Created: 2011-12-26 23:23:20+00:00
State: open

```
ocamlc -g -dtypes -thread -w +9 -w -21 -warn-error +a -I commons -I external/ocamlpcre -I external/ocamlgraph -I external/phylomel/src -I external/ocamlthrift -I external/ocamlnet -I external/ocamlgtk -I external/ocamlcairo -I h_version-control -I h_visualization -I h_program-lang -I h_program-visual -I globals -I lang_ml/parsing -I lang_ml/analyze -I lang_nw/parsing -I lang_nw/analyze -I lang_lisp/parsing -I lang_lisp/analyze -I lang_haskell/parsing -I lang_haskell/analyze -I lang_php/parsing -I lang_php/matcher -I lang_php/pretty -I lang_sql/parsing -I lang_js/parsing -I lang_js/analyze -I lang_cpp/parsing -I lang_cpp/analyze -I lang_java/parsing -I lang_java/analyze -I lang_python/parsing -I lang_python/analyze -I lang_csharp/parsing -I lang_csharp/analyze -I lang_erlang/parsing -I lang_erlang/analyze -I lang_php/analyze -I lang_php/analyze/foundation -I lang_php/analyze/checker -I lang_php/analyze/database -I lang_php/analyze/tools -I lang_php/analyze/qa_test -I lang_php/analyze/dynamic_analysis -I lang_php/analyze/static_analysis -I lang_html/parsing -I lang_html/analyze -I lang_css/parsing -I lang_web/parsing -I lang_text -I visual -I commons/ocamlextra -I commons/ocollection -I commons/lib-json -I commons/lib-xml -I commons/lib-sexp -I external/ocamlgtk/src -I external/ocamlcairo/src -I external/ocamlpcre/lib -I external/ocamlnet/netsys -I external/ocamlnet/netstring -I external/phylomel/src -custom -o pfff nums.cma bigarray.cma str.cma unix.cma commons/commons.cma external/ocamlpcre/lib/pcre.cma commons/commons_regexp.cma external/ocamlnet/netsys/netsys_oothr.cma external/ocamlnet/netsys/netsys.cma external/ocamlnet/netstring/netstring.cma external/ocamlgraph/ocamlgraph.cma commons/commons_graph.cma external/phylomel/src/lib.cma commons/commons_features.cma h_version-control/lib.cma h_visualization/lib.cma h_program-lang/lib.cma h_program-visual/lib.cma globals/globals.cma lang_ml/parsing/lib.cma lang_ml/analyze/lib.cma lang_nw/parsing/lib.cma lang_nw/analyze/lib.cma lang_lisp/parsing/lib.cma lang_lisp/analyze/lib.cma lang_haskell/parsing/lib.cma lang_haskell/analyze/lib.cma lang_php/parsing/lib.cma lang_php/analyze/foundation/lib.cma lang_php/analyze/tools/lib.cma lang_php/analyze/checker/lib.cma lang_php/matcher/lib.cma lang_php/analyze/database/lib.cma lang_php/analyze/static_analysis/lib.cma lang_php/analyze/dynamic_analysis/lib.cma lang_php/analyze/qa_test/lib.cma lang_php/analyze/lib.cma lang_php/pretty/lib.cma lang_sql/parsing/lib.cma lang_js/parsing/lib.cma lang_js/analyze/lib.cma lang_cpp/parsing/lib.cma lang_cpp/analyze/lib.cma lang_java/parsing/lib.cma lang_java/analyze/lib.cma lang_python/parsing/lib.cma lang_python/analyze/lib.cma lang_csharp/parsing/lib.cma lang_csharp/analyze/lib.cma lang_erlang/parsing/lib.cma lang_erlang/analyze/lib.cma lang_text/lib.cma lang_html/parsing/lib.cma lang_html/analyze/lib.cma lang_css/parsing/lib.cma lang_web/parsing/lib.cma test.cmo main.cmo

external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_dealloc_tables':
pcre_stubs.c:(.text+0x1b): undefined reference to `pcre_free'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_dealloc_regexp':
pcre_stubs.c:(.text+0x56): undefined reference to `pcre_free'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_ocaml_init':
pcre_stubs.c:(.text+0x257): undefined reference to `pcre_callout'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_version_stub':
pcre_stubs.c:(.text+0x280): undefined reference to `pcre_version'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_compile_stub':
pcre_stubs.c:(.text+0x2f6): undefined reference to `pcre_compile'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_study_stub':
pcre_stubs.c:(.text+0x40f): undefined reference to `pcre_study'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_options_stub':
pcre_stubs.c:(.text+0x611): undefined reference to `pcre_fullinfo'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_size_stub':
pcre_stubs.c:(.text+0x6d1): undefined reference to `pcre_fullinfo'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_studysize_stub':
pcre_stubs.c:(.text+0x791): undefined reference to `pcre_fullinfo'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_capturecount_stub':
pcre_stubs.c:(.text+0x851): undefined reference to `pcre_fullinfo'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_backrefmax_stub':
pcre_stubs.c:(.text+0x911): undefined reference to `pcre_fullinfo'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o):pcre_stubs.c:(.text+0x9d1): more undefined references to `pcre_fullinfo' follow
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_exec_stub':
pcre_stubs.c:(.text+0x1169): undefined reference to `pcre_exec'
pcre_stubs.c:(.text+0x122f): undefined reference to `pcre_exec'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_maketables_stub':
pcre_stubs.c:(.text+0x14ff): undefined reference to `pcre_maketables'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_get_stringnumber_stub':
pcre_stubs.c:(.text+0x1582): undefined reference to `pcre_get_stringnumber'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_names_stub':
pcre_stubs.c:(.text+0x1619): undefined reference to `pcre_fullinfo'
pcre_stubs.c:(.text+0x1643): undefined reference to `pcre_fullinfo'
pcre_stubs.c:(.text+0x166d): undefined reference to `pcre_fullinfo'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_config_utf8_stub':
pcre_stubs.c:(.text+0x17df): undefined reference to `pcre_config'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_config_newline_stub':
pcre_stubs.c:(.text+0x181f): undefined reference to `pcre_config'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_config_link_size_stub':
pcre_stubs.c:(.text+0x184f): undefined reference to `pcre_config'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_config_stackrecurse_stub':
pcre_stubs.c:(.text+0x187f): undefined reference to `pcre_config'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o): In function `pcre_config_match_limit_stub':
pcre_stubs.c:(.text+0x18bf): undefined reference to `pcre_config'
external/ocamlpcre/lib/libpcre_stubs.a(pcre_stubs.o):pcre_stubs.c:(.text+0x18ef): more undefined references to `pcre_config' follow
collect2: ld gaf exit-status 1 terug
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system
```