Giter Site home page Giter Site logo

pez's People

Contributors

automatthew avatar larsbrinkhoff avatar pete avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pez's Issues

pez.rb problem on OS X

First, I had to change extension in the ffi_lib invocation to .dylib. Then this:

static-host:pez(master) $ ./pez.rb 
dyld: lazy symbol binding failed: Symbol not found: _pez_primdef
  Referenced from: /Users/matthew/local/lib/libpez.dylib
  Expected in: flat namespace

dyld: Symbol not found: _pez_primdef
  Referenced from: /Users/matthew/local/lib/libpez.dylib
  Expected in: flat namespace

Trace/BPT trap

make fails with /usr/local/lib/libtcc.a: could not read symbols: Bad value

Environment

Amazon Linux AMI x86_64
tcc version 0.9.26

Steps to repro

  1. clone repo, cd instal repo
  2. ./autogen.sh
  3. ./configure
  4. make

Make fails with the error:

/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2   -o libpez.la -rpath /usr/local/lib pez.lo st.lo  -ltcc -lgc -ldl -lm 
libtool: link: gcc -shared  .libs/pez.o .libs/st.o   -ltcc -lgc -ldl -lm    -Wl,-soname -Wl,libpez.so.0 -o .libs/libpez.so.0.0.0
/usr/bin/ld: /usr/local/lib/libtcc.a(libtcc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libtcc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libpez.la] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.