pylibnet gcc exit error 1

Probleme bei der Installation?
Antworten
LexKai
User
Beiträge: 1
Registriert: Sonntag 27. November 2011, 18:54

Hallo allerseits,

ich möchte pylibnet verwenden. Bei der Installation habe ich bisher u.a. libnet11 installiert.

Ich verwende:
Mac OS X V. 10.6.8
Python 2.5


Wenn ich mit "python setup.py build" die Installation starten möchte, erhalte ich folgendes:

Code: Alles auswählen

Searching for libnet...
running build
running build_ext
building 'libnet' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DLIBNET_MAJOR_VERSION=1 -DLIBNET_MINOR_VERSION=1 -DLIBNET_RELEASE=5 -DMAJOR_VERSION=2 -DMINOR_VERSION=0 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/libnetmodule.c -o build/temp.macosx-10.6-i386-2.5/src/libnetmodule.o
In file included from src/context.c:110,
                 from src/libnetmodule.c:37:
src/builders.c: In function ‘context_build_icmpv4_timestamp’:
src/builders.c:726: error: ‘n_time’ undeclared (first use in this function)
src/builders.c:726: error: (Each undeclared identifier is reported only once
src/builders.c:726: error: for each function it appears in.)
src/builders.c:726: error: expected ‘;’ before ‘otime’
src/builders.c:727: error: expected ‘;’ before ‘rtime’
src/builders.c:728: error: expected ‘;’ before ‘ttime’
src/builders.c:735: error: ‘otime’ undeclared (first use in this function)
src/builders.c:735: error: ‘rtime’ undeclared (first use in this function)
src/builders.c:735: error: ‘ttime’ undeclared (first use in this function)
error: command '/usr/bin/gcc-4.2' failed with exit status 1
Hat jemand einen Lösungsvorschlag?

Danke
Antworten