* [ECOS] Pthread error
@ 2001-08-30 1:38 Stijn Symons
2001-08-30 2:24 ` Stijn Symons
0 siblings, 1 reply; 3+ messages in thread
From: Stijn Symons @ 2001-08-30 1:38 UTC (permalink / raw)
Hi all,
we have a very strange error,
"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.
Can anybody help?
-- Stijn Symons
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Pthread error
2001-08-30 1:38 [ECOS] Pthread error Stijn Symons
@ 2001-08-30 2:24 ` Stijn Symons
2001-09-06 23:36 ` Jonathan Larmour
0 siblings, 1 reply; 3+ messages in thread
From: Stijn Symons @ 2001-08-30 2:24 UTC (permalink / raw)
Stijn Symons wrote:
> Hi all,
>
> we have a very strange error,
>
> "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.
>
> Can anybody help?
>
> -- Stijn Symons
Something I forgot:
I compiled the ecos libraries with the EL/IX template. pthread.h is
included in the program, we already checked that .
thanks,
stijn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Pthread error
2001-08-30 2:24 ` Stijn Symons
@ 2001-09-06 23:36 ` Jonathan Larmour
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2001-09-06 23:36 UTC (permalink / raw)
To: Stijn Symons; +Cc: \x03ecos-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-06 23:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-30 1:38 [ECOS] Pthread error Stijn Symons
2001-08-30 2:24 ` Stijn Symons
2001-09-06 23:36 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).