Hallo,
Wie HGalim gewünscht hier die ganzen Fehlermeldungen, aber achtung es
ist recht viel:
gcc -shared -W -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.5 -o brlmodule.so brlmodule.c -lpthread -lglib-2.0
brlmodule.c:27:20: error: Python.h: Datei oder Verzeichnis nicht gefunden
brlmodule.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c: In function 'brl_sbl_io_cb':
brlmodule.c:66: error: 'PyObject' undeclared (first use in this function)
brlmodule.c:66: error: (Each undeclared identifier is reported only once
brlmodule.c:66: error: for each function it appears in.)
brlmodule.c:66: error: 'result' undeclared (first use in this function)
brlmodule.c:67: error: 'args' undeclared (first use in this function)
brlmodule.c:68: error: 'PyGILState_STATE' undeclared (first use in this function)
brlmodule.c:68: error: expected ';' before 'gstate'
brlmodule.c:72: warning: implicit declaration of function 'usleep'
brlmodule.c:88: error: 'brl_callback' undeclared (first use in this function)
brlmodule.c:139: warning: implicit declaration of function 'Py_BuildValue'
brlmodule.c:141: error: 'gstate' undeclared (first use in this function)
brlmodule.c:141: warning: implicit declaration of function 'PyGILState_Ensure'
brlmodule.c:142: warning: implicit declaration of function 'PyObject_CallObject'
brlmodule.c:145: warning: implicit declaration of function 'Py_DECREF'
brlmodule.c:149: warning: implicit declaration of function 'PyErr_Print'
brlmodule.c:151: warning: implicit declaration of function 'PyGILState_Release'
brlmodule.c: At top level:
brlmodule.c:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:267: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:283: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:310: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:328: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:373: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:394: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:413: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
brlmodule.c:429: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brl_methods'
brlmodule.c: In function 'initbrl':
brlmodule.c:450: warning: implicit declaration of function 'Py_InitModule'
brlmodule.c:450: error: 'brl_methods' undeclared (first use in this function)
brlmodule.c: In function 'getsblconf':
brlmodule.c:466: warning: implicit declaration of function 'atoi'
brlmodule.c: In function 'getkeymap':
brlmodule.c:484: warning: implicit declaration of function 'sprintf'
brlmodule.c:484: warning: incompatible implicit declaration of built-in function 'sprintf'
brlmodule.c: In function 'confread':
brlmodule.c:642: error: 'FILE' undeclared (first use in this function)
brlmodule.c:642: error: 'pname' undeclared (first use in this function)
brlmodule.c:646: warning: implicit declaration of function 'fopen'
brlmodule.c:649: warning: implicit declaration of function 'feof'
brlmodule.c:651: warning: implicit declaration of function 'fgets'
brlmodule.c:660: warning: implicit declaration of function 'fclose'
make: *** [brlmodule.so] Fehler 1
aber die python-dinge sind so denke ich alle installiert. braucht es
bestimmte pakete?
Gruß Sebastian
--
Sebastian Andres Spandauer Damm 140 14050 Berlin, Germany
Phone: +49(0)30 30107852 mobile: +49(0)170 3224773
sebastian(a)sebastianandres.de http://www.sebastianandres.de
ICQ: 302502263
PGP-Key: http://www.sebastianandres.de/key.txt
--
To unsubscribe, e-mail: blinux-de+unsubscribe(a)opensuse.org
For additional commands, e-mail: blinux-de+help(a)opensuse.org