[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pthread problem



This occurs when a program tries to use the objC library.  As far as I
can see the program in question does not directly call pthreads. I
grepped the source for '[PpTtHhRrEeAaDd]' and nothing came back.  It
appears to be an internal error with the objC lib. I do have the
pthreads package installed.  This is the first objC program I have tried
to compile.

Olivier THARAN wrote:
> 
> On Tue, Nov 04, 1997 at 11:05:03PM -0500, Shaleh wrote:
> > I appear to have a problem w/ pthreads.
> >
> > /usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(thr-posix.o): In function
> >  `__objc_init_thread_system':
> > thr-posix.o(.text+0x3b): undefined reference to `pthread_key_create'
> [ lots of undefined references ]
> 
> Do you compile with the -lpthread option?
> 
> olive
> --
>                 Olivier Tharan, <tharan@int-evry.fr>
> 
> If only women came with pull-down menus and online help.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: