After compiling the DynPerist module, I try to import it in the Python
interpreter:

"""
morten@slakka:/usr/local/Zope/lib/python/Products/ZPatterns > gcc -o DynPersist.so -c 
DynPersist.c -I../../ZODB -I../../../Components/ExtensionClass -I/usr/include/python1.5
morten@slakka:/usr/local/Zope/lib/python/Products/ZPatterns > python
Python 1.5.2 (#1, Mar 11 2000, 13:03:53)  [GCC 2.95.2 19991024 (release)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import DynPersist
Traceback (innermost last):
  File "<stdin>", line 1, in ?
ImportError: ./DynPersist.so: ELF file's phentsize not the expected size
>>>
"""

Any ideas what I'm doing wrong (is it maybe the compiler)?

Thanks in advance.

-Morten

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to