handling Struct and global function for C module

Anish Chapagain anishchapagain at gmail.com
Mon Aug 18 16:16:47 EDT 2008


On Aug 18, 8:43 pm, Fredrik Lundh <fred... at pythonware.com> wrote:
> Anish Chapagain wrote:
> > but while running setup.py build with distutils it's showing error as
>
> > _ex.o: In function 'init_arguments':
> >      _ex.c :89: undefined reference to _TLM_read_model
> >      _ex.c :95:  undefined reference to _TLM_set_tag
>
> > for all the global function declared within .h file and the calling
> > method from .c file,
>
> your code doesn't match the error messages, and doesn't seem to be a
> Python extension at all.  are you sure you posted this to the right
> newsgroup?
>
> </F>

hi,
i am thinking now that may be it;s realted to the cygwin package that
i'm using with python in win XP, but still mine .c file has structure
element and structure is in .h file so how can i pass on value to
structure element,
it shows as ex_debugType_get(), ex_debugType_set()...can i assign
value to member creating own function..want some help for this...

thank's



More information about the Python-list mailing list