getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Problem with Python interface


From: Yves Renard
Subject: Re: [Getfem-users] Problem with Python interface
Date: Fri, 12 Mar 2010 12:36:43 +0100
User-agent: KMail/1.9.9


Strange. I do not have this problem. 
When I execute nm command on libgetfem.a I have

nm libgetfem.a | grep contact_brick_set
0000000000000260 T _ZN6getfem20contact_brick_set_BNERNS_5modelEm
0000000000000070 T _ZN6getfem20contact_brick_set_BTERNS_5modelEm

"T" means that it is defined there. If you obtain a "U" for "nm _getfem.so | 
grep contact_brick_set" this means that it is undefined and that 
getfem_Coulomb_friction.cc is not linked to libgetfem.a ...

Try a total recompilation ... !

Yves.



On vendredi 12 mars 2010, Roman Putanowicz wrote:
> > Hi,
> >
> > Well, I have a problem with Python interface. While loading getfem module
> > I got the following error:
> >
> > ImportError: ./_getfem.so: undefined symbol:
> > _ZN6getfem20contact_brick_set_BTERNS_5modelEm
> >
> > I have the following configuration:
> >
> > Linux version 2.6.26-2-amd64 (Debian 2.6.26-15lenny3)
> > Python 2.5.2
> >
> > GetFEM++:
> > URL: svn://svn.gna.org/svn/getfem/trunk/getfem
> > Revision: 3496
> >
> > I would appreciate any hint where to start tooking for the trouble.
>
> Something more:
>
> nm _getfem.so | grep contact_brick_set
>        U _ZN6getfem20contact_brick_set_BNERNS_5modelEm
>        U _ZN6getfem20contact_brick_set_BTERNS_5modelEm
>
> so apparently it looks sort of name mangling problem with C++ compiler (?)
>
> Roman
>
> > --
> > Roman Putanowicz  < address@hidden  >
> > Institute for Computational Civil Engng (L-5)
> > Dept. of Civil Engng, Cracow Univ. of Technology
> > www.l5.pk.edu.pl, tel. +48 12 628 2569, fax 2034
> >
> > _______________________________________________
> > Getfem-users mailing list
> > address@hidden
> > https://mail.gna.org/listinfo/getfem-users



-- 

  Yves Renard (address@hidden)       tel : (33) 04.72.43.87.08
  Pole de Mathematiques, INSA-Lyon             fax : (33) 04.72.43.85.29
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard

---------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]