Giter Club home page Giter Club logo

Comments (9)

zardus avatar zardus commented on July 24, 2024

Thanks for trying PyVEX! What version of VEX are you using? PyVEX requires
VEX 3.9, which is newer than what's shipped with Ubuntu at the moment.

  • Yan

On Sun, Apr 13, 2014 at 8:31 AM, Joxean [email protected] wrote:

Hi,

I'm trying to build pyvex in Ubuntu 12.04 x86_64 with the setup recommend
in README.md. However, when I try to build it I get the following errors:

$ LANG=C sh build.sh
running build
running build_ext
building 'pyvex' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pyvex
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYVEX_STATIC=1 -I/home/joxean/devel/valgrind/valgrind-3.8.1/install/include/valgrind -I/usr/include/python2.7 -c pyvex/pyvex.c -o build/temp.linux-x86_64-2.7/pyvex/pyvex.o --std=c99
In file included from pyvex/pyvex.c:7:0:
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
error: command 'gcc' failed with exit status 1
cp: cannot stat build/lib.linux-x86_64-2.7/pyvex.so': No such file or directory cp: cannot statpyvex.so': No such file or directory

Am I doing something wrong?

Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

from pyvex.

joxeankoret avatar joxeankoret commented on July 24, 2024

Hi,

VEX comes with Valgrind, right? In this case, I'm using the version that comes with Valgrind 3.8.1. I just followed the instructions here: https://github.com/zardus/pyvex/blob/master/README.md

from pyvex.

zardus avatar zardus commented on July 24, 2024

Ah! Yeah, my readme is wrong. Sorry about that! You need Valgrind 3.9.0,
not 3.8.1. I updated the readme; thanks for pointing that out :-)

On Sun, Apr 13, 2014 at 11:04 PM, Joxean [email protected] wrote:

Hi,

VEX comes with Valgrind, right? In this case, I'm using the version that
comes with Valgrind 3.8.1. I just followed the instructions here:
https://github.com/zardus/pyvex/blob/master/README.md


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-40335484
.

from pyvex.

joxeankoret avatar joxeankoret commented on July 24, 2024

Hey, thanks! I resolved this issue. However, another one arised:

pyvex/pyvex_static.c: In function 'vex_init':
pyvex/pyvex_static.c:177:26: warning: assignment from incompatible pointer type [enabled by default]
pyvex/pyvex_static.c: In function 'vex_prepare_vai':
pyvex/pyvex_static.c:214:7: error: 'VexArchInfo' has no member named 'endness'
pyvex/pyvex_static.c:219:7: error: 'VexArchInfo' has no member named 'endness'
pyvex/pyvex_static.c:224:7: error: 'VexArchInfo' has no member named 'endness'
pyvex/pyvex_static.c:232:7: error: 'VexArchInfo' has no member named 'endness'
error: command 'gcc' failed with exit status 1

Any idea?

from pyvex.

joxeankoret avatar joxeankoret commented on July 24, 2024

BTW, commenting out the offending lines (with a comment saying "unsure if correct") was enough to get a working build of pyvex.

from pyvex.

zardus avatar zardus commented on July 24, 2024

lol, that's definitely my fault. I was testing something with some VEX
patches I'm working on, and accidentally pushed it. Thank you for catching
that :-)

On Tue, Apr 15, 2014 at 1:38 AM, Joxean [email protected] wrote:

BTW, commenting out the offending lines (with a comment saying "unsure if
correct") was enough to get a working build of pyvex.


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-40457816
.

from pyvex.

zardus avatar zardus commented on July 24, 2024

I commented out the lines. Thanks!

from pyvex.

joxeankoret avatar joxeankoret commented on July 24, 2024

You're welcome! BTW, just a recommendation: it would be useful to have some example or use case for it.

from pyvex.

zardus avatar zardus commented on July 24, 2024

Yeah, for sure! We are brewing up something in that direction. Stay tuned
;-)

On Thu, Apr 17, 2014 at 7:46 AM, Joxean [email protected] wrote:

You're welcome! BTW, just a recommendation: it would be useful to have
some example or use case for it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-40721977
.

from pyvex.

Related Issues (20)

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.