This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Pthread error
- To: Stijn Symons <stijn dot symons at acunia dot com>
- Subject: Re: [ECOS] Pthread error
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 07 Sep 2001 07:37:12 +0100
- Cc: "ecos-discuss" <ecos-discuss at sources dot redhat dot com>
- References: <3B8E17EE.68DDE928@acunia.com> <3B8E22BE.6B91D8BF@acunia.com>
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