This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Pthread error


Stijn Symons wrote:
> 
> > "undefined reference to 'pthread_cleanup_push_inner'"
> > and
> > "undefined reference to 'pthread_cleanup_push_inner'"
> >
> > In our program we have only a call for pthread_cleanup_push, not for
> > pthread_cleanup_push_inner. The same for the pop-function. It looks like
> > it's something inside the ecos libraries.

pthread_cleanup_push/pop are defined in pthread.h as macros that call the
_inner versions.

I can't see why it would be disabled though unless all of the POSIX pthread
component is disabled. Check your eCos configuration.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]