Skip to content

Instantly share code, notes, and snippets.

@pedrofaria
Created February 15, 2012 15:39
Show Gist options
  • Save pedrofaria/1836749 to your computer and use it in GitHub Desktop.
Save pedrofaria/1836749 to your computer and use it in GitHub Desktop.
mkdir -p build/compiler/ build/extra/ build/interpreter/ build/modules/std/ build/modules/std/ffi/ build/modules/std/file/ build/modules/std/io/ build/modules/std/math/ build/modules/std/net/ build/modules/std/os/ build/modules/std/reflection/ build/modules/std/regex/ build/types/ build/vm/
touch build/ensure-dirs
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG vm/vm.cc | sed -e 's,^\([^:]*\):,build/vm/vm.o build/vm/vm.d:,' > build/vm/vm.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG vm/opcode.cc | sed -e 's,^\([^:]*\):,build/vm/opcode.o build/vm/opcode.d:,' > build/vm/opcode.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/type.cc | sed -e 's,^\([^:]*\):,build/types/type.o build/types/type.d:,' > build/types/type.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/str.cc | sed -e 's,^\([^:]*\):,build/types/str.o build/types/str.d:,' > build/types/str.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/pair.cc | sed -e 's,^\([^:]*\):,build/types/pair.o build/types/pair.d:,' > build/types/pair.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/object.cc | sed -e 's,^\([^:]*\):,build/types/object.o build/types/object.d:,' > build/types/object.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/map.cc | sed -e 's,^\([^:]*\):,build/types/map.o build/types/map.d:,' > build/types/map.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/int.cc | sed -e 's,^\([^:]*\):,build/types/int.o build/types/int.d:,' > build/types/int.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/double.cc | sed -e 's,^\([^:]*\):,build/types/double.o build/types/double.d:,' > build/types/double.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/byte.cc | sed -e 's,^\([^:]*\):,build/types/byte.o build/types/byte.d:,' > build/types/byte.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/bool.cc | sed -e 's,^\([^:]*\):,build/types/bool.o build/types/bool.d:,' > build/types/bool.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/array.cc | sed -e 's,^\([^:]*\):,build/types/array.o build/types/array.d:,' > build/types/array.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/std_pkg.cc | sed -e 's,^\([^:]*\):,build/modules/std/std_pkg.o build/modules/std/std_pkg.d:,' > build/modules/std/std_pkg.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/regex/regex.cc | sed -e 's,^\([^:]*\):,build/modules/std/regex/regex.o build/modules/std/regex/regex.d:,' > build/modules/std/regex/regex.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/regex/pcre.cc | sed -e 's,^\([^:]*\):,build/modules/std/regex/pcre.o build/modules/std/regex/pcre.d:,' > build/modules/std/regex/pcre.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/reflection/reflectionpackage.cc | sed -e 's,^\([^:]*\):,build/modules/std/reflection/reflectionpackage.o build/modules/std/reflection/reflectionpackage.d:,' > build/modules/std/reflection/reflectionpackage.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/reflection/reflectionfunction.cc | sed -e 's,^\([^:]*\):,build/modules/std/reflection/reflectionfunction.o build/modules/std/reflection/reflectionfunction.d:,' > build/modules/std/reflection/reflectionfunction.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/reflection/reflection.cc | sed -e 's,^\([^:]*\):,build/modules/std/reflection/reflection.o build/modules/std/reflection/reflection.d:,' > build/modules/std/reflection/reflection.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/os/os.cc | sed -e 's,^\([^:]*\):,build/modules/std/os/os.o build/modules/std/os/os.d:,' > build/modules/std/os/os.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/net/tcpsocket.cc | sed -e 's,^\([^:]*\):,build/modules/std/net/tcpsocket.o build/modules/std/net/tcpsocket.d:,' > build/modules/std/net/tcpsocket.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/net/net.cc | sed -e 's,^\([^:]*\):,build/modules/std/net/net.o build/modules/std/net/net.d:,' > build/modules/std/net/net.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/math/math.cc | sed -e 's,^\([^:]*\):,build/modules/std/math/math.o build/modules/std/math/math.d:,' > build/modules/std/math/math.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/io/io.cc | sed -e 's,^\([^:]*\):,build/modules/std/io/io.o build/modules/std/io/io.d:,' > build/modules/std/io/io.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/file/filestream.cc | sed -e 's,^\([^:]*\):,build/modules/std/file/filestream.o build/modules/std/file/filestream.d:,' > build/modules/std/file/filestream.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/file/file.cc | sed -e 's,^\([^:]*\):,build/modules/std/file/file.o build/modules/std/file/file.d:,' > build/modules/std/file/file.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/ffi/ffi.cc | sed -e 's,^\([^:]*\):,build/modules/std/ffi/ffi.o build/modules/std/ffi/ffi.d:,' > build/modules/std/ffi/ffi.d
re2c --case-insensitive -bc -obuild/interpreter/scanner.cc interpreter/scanner.re
bison -d -obuild/interpreter/parser.cc interpreter/parser.y
sed -ie '135s/|| \([^)]*\)/|| (\1)/' build/interpreter/position.hh
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG interpreter/main.cc | sed -e 's,^\([^:]*\):,build/interpreter/main.o build/interpreter/main.d:,' > build/interpreter/main.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG interpreter/driver.cc | sed -e 's,^\([^:]*\):,build/interpreter/driver.o build/interpreter/driver.d:,' > build/interpreter/driver.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG extra/testrunner.cc | sed -e 's,^\([^:]*\):,build/extra/testrunner.o build/extra/testrunner.d:,' > build/extra/testrunner.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/typechecker.cc | sed -e 's,^\([^:]*\):,build/compiler/typechecker.o build/compiler/typechecker.d:,' > build/compiler/typechecker.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/scope.cc | sed -e 's,^\([^:]*\):,build/compiler/scope.o build/compiler/scope.d:,' > build/compiler/scope.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/pkgmanager.cc | sed -e 's,^\([^:]*\):,build/compiler/pkgmanager.o build/compiler/pkgmanager.d:,' > build/compiler/pkgmanager.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/cstring.cc | sed -e 's,^\([^:]*\):,build/compiler/cstring.o build/compiler/cstring.d:,' > build/compiler/cstring.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/compiler.cc | sed -e 's,^\([^:]*\):,build/compiler/compiler.o build/compiler/compiler.d:,' > build/compiler/compiler.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/clever.cc | sed -e 's,^\([^:]*\):,build/compiler/clever.o build/compiler/clever.d:,' > build/compiler/clever.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/cgvisitor.cc | sed -e 's,^\([^:]*\):,build/compiler/cgvisitor.o build/compiler/cgvisitor.d:,' > build/compiler/cgvisitor.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/cgvisitor.o compiler/cgvisitor.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/clever.o compiler/clever.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/compiler.o compiler/compiler.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/cstring.o compiler/cstring.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/pkgmanager.o compiler/pkgmanager.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/scope.o compiler/scope.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/typechecker.o compiler/typechecker.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/driver.o interpreter/driver.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/main.o interpreter/main.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/parser.o build/interpreter/parser.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/scanner.o build/interpreter/scanner.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/array.o types/array.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/bool.o types/bool.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/byte.o types/byte.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/double.o types/double.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/int.o types/int.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/map.o types/map.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/object.o types/object.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/pair.o types/pair.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/str.o types/str.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/type.o types/type.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/vm/opcode.o vm/opcode.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/vm/vm.o vm/vm.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/std_pkg.o modules/std/std_pkg.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/math/math.o modules/std/math/math.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/io/io.o modules/std/io/io.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/file/file.o modules/std/file/file.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/file/filestream.o modules/std/file/filestream.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/os/os.o modules/std/os/os.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/reflection/reflection.o modules/std/reflection/reflection.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/reflection/reflectionfunction.o modules/std/reflection/reflectionfunction.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/reflection/reflectionpackage.o modules/std/reflection/reflectionpackage.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/net/net.o modules/std/net/net.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/net/tcpsocket.o modules/std/net/tcpsocket.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/regex/pcre.o modules/std/regex/pcre.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/regex/regex.o modules/std/regex/regex.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/ffi/ffi.o modules/std/ffi/ffi.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -lpcre -lpcrecpp -lffi -ldl -o clever build/compiler/cgvisitor.o build/compiler/clever.o build/compiler/compiler.o build/compiler/cstring.o build/compiler/pkgmanager.o build/compiler/scope.o build/compiler/typechecker.o build/interpreter/driver.o build/interpreter/main.o build/interpreter/parser.o build/interpreter/scanner.o build/types/array.o build/types/bool.o build/types/byte.o build/types/double.o build/types/int.o build/types/map.o build/types/object.o build/types/pair.o build/types/str.o build/types/type.o build/vm/opcode.o build/vm/vm.o build/modules/std/std_pkg.o build/modules/std/math/math.o build/modules/std/io/io.o build/modules/std/file/file.o build/modules/std/file/filestream.o build/modules/std/os/os.o build/modules/std/reflection/reflection.o build/modules/std/reflection/reflectionfunction.o build/modules/std/reflection/reflectionpackage.o build/modules/std/net/net.o build/modules/std/net/tcpsocket.o build/modules/std/regex/pcre.o build/modules/std/regex/regex.o build/modules/std/ffi/ffi.o
[tasks:2] pedro@pedro:clever$ make VERBOSE=yes all
mkdir -p build/compiler/ build/extra/ build/interpreter/ build/modules/std/ build/modules/std/ffi/ build/modules/std/file/ build/modules/std/io/ build/modules/std/math/ build/modules/std/net/ build/modules/std/os/ build/modules/std/reflection/ build/modules/std/regex/ build/types/ build/vm/
touch build/ensure-dirs
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG vm/vm.cc | sed -e 's,^\([^:]*\):,build/vm/vm.o build/vm/vm.d:,' > build/vm/vm.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG vm/opcode.cc | sed -e 's,^\([^:]*\):,build/vm/opcode.o build/vm/opcode.d:,' > build/vm/opcode.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/type.cc | sed -e 's,^\([^:]*\):,build/types/type.o build/types/type.d:,' > build/types/type.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/str.cc | sed -e 's,^\([^:]*\):,build/types/str.o build/types/str.d:,' > build/types/str.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/pair.cc | sed -e 's,^\([^:]*\):,build/types/pair.o build/types/pair.d:,' > build/types/pair.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/object.cc | sed -e 's,^\([^:]*\):,build/types/object.o build/types/object.d:,' > build/types/object.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/map.cc | sed -e 's,^\([^:]*\):,build/types/map.o build/types/map.d:,' > build/types/map.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/int.cc | sed -e 's,^\([^:]*\):,build/types/int.o build/types/int.d:,' > build/types/int.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/double.cc | sed -e 's,^\([^:]*\):,build/types/double.o build/types/double.d:,' > build/types/double.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/byte.cc | sed -e 's,^\([^:]*\):,build/types/byte.o build/types/byte.d:,' > build/types/byte.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/bool.cc | sed -e 's,^\([^:]*\):,build/types/bool.o build/types/bool.d:,' > build/types/bool.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG types/array.cc | sed -e 's,^\([^:]*\):,build/types/array.o build/types/array.d:,' > build/types/array.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/std_pkg.cc | sed -e 's,^\([^:]*\):,build/modules/std/std_pkg.o build/modules/std/std_pkg.d:,' > build/modules/std/std_pkg.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/regex/regex.cc | sed -e 's,^\([^:]*\):,build/modules/std/regex/regex.o build/modules/std/regex/regex.d:,' > build/modules/std/regex/regex.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/regex/pcre.cc | sed -e 's,^\([^:]*\):,build/modules/std/regex/pcre.o build/modules/std/regex/pcre.d:,' > build/modules/std/regex/pcre.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/reflection/reflectionpackage.cc | sed -e 's,^\([^:]*\):,build/modules/std/reflection/reflectionpackage.o build/modules/std/reflection/reflectionpackage.d:,' > build/modules/std/reflection/reflectionpackage.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/reflection/reflectionfunction.cc | sed -e 's,^\([^:]*\):,build/modules/std/reflection/reflectionfunction.o build/modules/std/reflection/reflectionfunction.d:,' > build/modules/std/reflection/reflectionfunction.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/reflection/reflection.cc | sed -e 's,^\([^:]*\):,build/modules/std/reflection/reflection.o build/modules/std/reflection/reflection.d:,' > build/modules/std/reflection/reflection.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/os/os.cc | sed -e 's,^\([^:]*\):,build/modules/std/os/os.o build/modules/std/os/os.d:,' > build/modules/std/os/os.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/net/tcpsocket.cc | sed -e 's,^\([^:]*\):,build/modules/std/net/tcpsocket.o build/modules/std/net/tcpsocket.d:,' > build/modules/std/net/tcpsocket.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/net/net.cc | sed -e 's,^\([^:]*\):,build/modules/std/net/net.o build/modules/std/net/net.d:,' > build/modules/std/net/net.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/math/math.cc | sed -e 's,^\([^:]*\):,build/modules/std/math/math.o build/modules/std/math/math.d:,' > build/modules/std/math/math.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/io/io.cc | sed -e 's,^\([^:]*\):,build/modules/std/io/io.o build/modules/std/io/io.d:,' > build/modules/std/io/io.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/file/filestream.cc | sed -e 's,^\([^:]*\):,build/modules/std/file/filestream.o build/modules/std/file/filestream.d:,' > build/modules/std/file/filestream.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/file/file.cc | sed -e 's,^\([^:]*\):,build/modules/std/file/file.o build/modules/std/file/file.d:,' > build/modules/std/file/file.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG modules/std/ffi/ffi.cc | sed -e 's,^\([^:]*\):,build/modules/std/ffi/ffi.o build/modules/std/ffi/ffi.d:,' > build/modules/std/ffi/ffi.d
re2c --case-insensitive -bc -obuild/interpreter/scanner.cc interpreter/scanner.re
bison -d -obuild/interpreter/parser.cc interpreter/parser.y
sed -ie '135s/|| \([^)]*\)/|| (\1)/' build/interpreter/position.hh
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG interpreter/main.cc | sed -e 's,^\([^:]*\):,build/interpreter/main.o build/interpreter/main.d:,' > build/interpreter/main.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG interpreter/driver.cc | sed -e 's,^\([^:]*\):,build/interpreter/driver.o build/interpreter/driver.d:,' > build/interpreter/driver.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG extra/testrunner.cc | sed -e 's,^\([^:]*\):,build/extra/testrunner.o build/extra/testrunner.d:,' > build/extra/testrunner.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/typechecker.cc | sed -e 's,^\([^:]*\):,build/compiler/typechecker.o build/compiler/typechecker.d:,' > build/compiler/typechecker.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/scope.cc | sed -e 's,^\([^:]*\):,build/compiler/scope.o build/compiler/scope.d:,' > build/compiler/scope.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/pkgmanager.cc | sed -e 's,^\([^:]*\):,build/compiler/pkgmanager.o build/compiler/pkgmanager.d:,' > build/compiler/pkgmanager.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/cstring.cc | sed -e 's,^\([^:]*\):,build/compiler/cstring.o build/compiler/cstring.d:,' > build/compiler/cstring.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/compiler.cc | sed -e 's,^\([^:]*\):,build/compiler/compiler.o build/compiler/compiler.d:,' > build/compiler/compiler.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/clever.cc | sed -e 's,^\([^:]*\):,build/compiler/clever.o build/compiler/clever.d:,' > build/compiler/clever.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -MM -MG compiler/cgvisitor.cc | sed -e 's,^\([^:]*\):,build/compiler/cgvisitor.o build/compiler/cgvisitor.d:,' > build/compiler/cgvisitor.d
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/cgvisitor.o compiler/cgvisitor.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/clever.o compiler/clever.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/compiler.o compiler/compiler.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/cstring.o compiler/cstring.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/pkgmanager.o compiler/pkgmanager.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/scope.o compiler/scope.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/compiler/typechecker.o compiler/typechecker.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/driver.o interpreter/driver.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/main.o interpreter/main.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/parser.o build/interpreter/parser.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/interpreter/scanner.o build/interpreter/scanner.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/array.o types/array.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/bool.o types/bool.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/byte.o types/byte.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/double.o types/double.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/int.o types/int.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/map.o types/map.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/object.o types/object.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/pair.o types/pair.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/str.o types/str.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/types/type.o types/type.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/vm/opcode.o vm/opcode.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/vm/vm.o vm/vm.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/std_pkg.o modules/std/std_pkg.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/math/math.o modules/std/math/math.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/io/io.o modules/std/io/io.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/file/file.o modules/std/file/file.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/file/filestream.o modules/std/file/filestream.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/os/os.o modules/std/os/os.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/reflection/reflection.o modules/std/reflection/reflection.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/reflection/reflectionfunction.o modules/std/reflection/reflectionfunction.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/reflection/reflectionpackage.o modules/std/reflection/reflectionpackage.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/net/net.o modules/std/net/net.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/net/tcpsocket.o modules/std/net/tcpsocket.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/regex/pcre.o modules/std/regex/pcre.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/regex/regex.o modules/std/regex/regex.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -c -o build/modules/std/ffi/ffi.o modules/std/ffi/ffi.cc
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -lpcre -lpcrecpp -lffi -ldl -o clever build/compiler/cgvisitor.o build/compiler/clever.o build/compiler/compiler.o build/compiler/cstring.o build/compiler/pkgmanager.o build/compiler/scope.o build/compiler/typechecker.o build/interpreter/driver.o build/interpreter/main.o build/interpreter/parser.o build/interpreter/scanner.o build/types/array.o build/types/bool.o build/types/byte.o build/types/double.o build/types/int.o build/types/map.o build/types/object.o build/types/pair.o build/types/str.o build/types/type.o build/vm/opcode.o build/vm/vm.o build/modules/std/std_pkg.o build/modules/std/math/math.o build/modules/std/io/io.o build/modules/std/file/file.o build/modules/std/file/filestream.o build/modules/std/os/os.o build/modules/std/reflection/reflection.o build/modules/std/reflection/reflectionfunction.o build/modules/std/reflection/reflectionpackage.o build/modules/std/net/net.o build/modules/std/net/tcpsocket.o build/modules/std/regex/pcre.o build/modules/std/regex/regex.o build/modules/std/ffi/ffi.o
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::matches(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
build/modules/std/regex/pcre.o:/home/pedro/src/clever/modules/std/regex/pcre.cc:98: more undefined references to `pcrecpp::RE::no_arg' follow
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::matches(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::PartialMatch(pcrecpp::StringPiece const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&) const'
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::replace(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:108: undefined reference to `pcrecpp::RE::Replace(pcrecpp::StringPiece const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::replaceAll(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:120: undefined reference to `pcrecpp::RE::GlobalReplace(pcrecpp::StringPiece const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
build/modules/std/regex/pcre.o: In function `RE':
/usr/include/pcrecpp.h:493: undefined reference to `pcrecpp::RE::Init(char const*, pcrecpp::RE_Options const*)'
/usr/include/pcrecpp.h:494: undefined reference to `pcrecpp::RE::Init(char const*, pcrecpp::RE_Options const*)'
build/modules/std/regex/pcre.o: In function `~PcreValue':
/home/pedro/src/clever/./modules/std/regex/pcrevalue.h:41: undefined reference to `pcrecpp::RE::~RE()'
build/modules/std/ffi/ffi.o: In function `clever::packages::std::ffi::find_ffi_type(char const*)':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:68: undefined reference to `ffi_type_sint32'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:70: undefined reference to `ffi_type_double'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:72: undefined reference to `ffi_type_sint8'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:74: undefined reference to `ffi_type_pointer'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:76: undefined reference to `ffi_type_sint8'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:78: undefined reference to `ffi_type_void'
build/modules/std/ffi/ffi.o: In function `clv_f_call_ext_func':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:105: undefined reference to `dlopen'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:114: undefined reference to `dlsym'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:133: undefined reference to `ffi_type_sint32'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:168: undefined reference to `ffi_type_double'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:182: undefined reference to `ffi_prep_cif'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:191: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:197: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:203: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:210: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:221: undefined reference to `ffi_call'
build/modules/std/ffi/ffi.o:/home/pedro/src/clever/modules/std/ffi/ffi.cc:226: more undefined references to `ffi_call' follow
build/modules/std/ffi/ffi.o: In function `~FFI':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:277: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [clever] Error 1
[tasks:2] pedro@pedro:clever$ ^C
[tasks:2] pedro@pedro:clever$ make clean
[tasks:2] pedro@pedro:clever$ make VERBOSE=yes all > output
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::matches(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::no_arg'
build/modules/std/regex/pcre.o:/home/pedro/src/clever/modules/std/regex/pcre.cc:98: more undefined references to `pcrecpp::RE::no_arg' follow
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::matches(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:98: undefined reference to `pcrecpp::RE::PartialMatch(pcrecpp::StringPiece const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&) const'
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::replace(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:108: undefined reference to `pcrecpp::RE::Replace(pcrecpp::StringPiece const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::replaceAll(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:120: undefined reference to `pcrecpp::RE::GlobalReplace(pcrecpp::StringPiece const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
build/modules/std/regex/pcre.o: In function `RE':
/usr/include/pcrecpp.h:493: undefined reference to `pcrecpp::RE::Init(char const*, pcrecpp::RE_Options const*)'
/usr/include/pcrecpp.h:494: undefined reference to `pcrecpp::RE::Init(char const*, pcrecpp::RE_Options const*)'
build/modules/std/regex/pcre.o: In function `~PcreValue':
/home/pedro/src/clever/./modules/std/regex/pcrevalue.h:41: undefined reference to `pcrecpp::RE::~RE()'
build/modules/std/ffi/ffi.o: In function `clever::packages::std::ffi::find_ffi_type(char const*)':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:68: undefined reference to `ffi_type_sint32'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:70: undefined reference to `ffi_type_double'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:72: undefined reference to `ffi_type_sint8'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:74: undefined reference to `ffi_type_pointer'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:76: undefined reference to `ffi_type_sint8'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:78: undefined reference to `ffi_type_void'
build/modules/std/ffi/ffi.o: In function `clv_f_call_ext_func':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:105: undefined reference to `dlopen'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:114: undefined reference to `dlsym'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:133: undefined reference to `ffi_type_sint32'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:168: undefined reference to `ffi_type_double'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:182: undefined reference to `ffi_prep_cif'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:191: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:197: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:203: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:210: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:221: undefined reference to `ffi_call'
build/modules/std/ffi/ffi.o:/home/pedro/src/clever/modules/std/ffi/ffi.cc:226: more undefined references to `ffi_call' follow
build/modules/std/ffi/ffi.o: In function `~FFI':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:277: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [clever] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment