http403 / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

cant build pyrit svn trunk : cpyrit/_cpyrit_cpu.c:116: error: 'struct mcontext' has no member named '__ss #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I am running MacOSX 10.5.8 Intel. When trying to build pyrit from svn I get
some errors. If you need more information please tellme.

thanks

--- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< 

python setup.py build

outputs

gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common -dynamic -DNDEBUG -g -O3
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
cpyrit/_cpyrit_cpu.c -o build/temp.macosx-10.3-fat-2.5/cpyrit/_cpyrit_cpu.o
cpyrit/_cpyrit_cpu.c: In function 'segv_action':
cpyrit/_cpyrit_cpu.c:116: error: 'struct mcontext' has no member named '__ss'
lipo: can't figure out the architecture type of:
/var/folders/Ou/OuOVBHe6GxW5e4BcC50JYk+++TI/-Tmp-//ccfX3Ona.out
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by lazzarol...@gmail.com on 6 Sep 2009 at 5:27

GoogleCodeExporter commented 9 years ago
See _cpyrit_cpu.h and try changing __ss.__eip to ss.eip

Original comment by lukas.l...@gmail.com on 8 Sep 2009 at 6:37

GoogleCodeExporter commented 9 years ago
lukas.lueg that fixed the build, thanks a lot

Original comment by lazzarol...@gmail.com on 10 Oct 2009 at 8:43

GoogleCodeExporter commented 9 years ago

Original comment by lukas.l...@gmail.com on 11 Oct 2009 at 5:19