Afficher un message
Vieux 11/12/2006, 21h10   #2
Thierry Thomas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [fribi62] python2.4, VTK 5.0 et pthread...

Lundi 11 décembre 2006 à 20:27 GMT, fred a écrit:

> Bonjour,


Bonsoir,

> Après avoir installé python 2.4 (d'après son port ou son paquet
> binaire), je tente de compiler VTK 5.0 (pas de port, pas de bianire),
> avec cmake 2.4.4.


Ah oui, il faudrait penser à mettre le port à jour...

> Or je bute sur les messages suivants, peu clairs pour moi :


> Linking C executable ../bin/vtkWrapPython
> /usr/local/lib/python2.4/config/libpython2.4.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
> /usr/local/lib/python2.4/config/libpython2.4.so: warning: warning: tempnam() possibly used unsafely; consider using mkstemp()
> /usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to `pthread_attr_destroy'
> /usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to `pthread_create'
> /usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to `pthread_attr_init'
> /usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to `pthread_detach'
> /usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to `pthread_attr_setstacksize'


À première vue, il manque un `-pthread' à l'édition de liens.
--
Th. Thomas.
  Réponse avec citation
 
Page generated in 0,05910 seconds with 9 queries