On Thu, Apr 22, 1999, Lukas Ruf <[EMAIL PROTECTED]> wrote:
> On Thu, 22 Apr 1999, Johannes Erdfelt wrote:
>
> > > Using SuSE 6.0, I should implement a Multithreaded program. When trying
> > > to build the program using
> > > gcc ... -lpthread ...
> > > I receive about ten errors such as
> > >
> > > /usr/lib/libpthread.so: undefined reference to `__libc_rewinddir'
> > > readdir_r
> > > opendir
> > >
> > > .....
> > >
> > > does anyone know how to overcome this problem ??? Is there in SuSE 6.0
> > > the appropriate libc 6.x installed ?
> >
> > I believe you need to compile everything with -D_REENTRANT as well. Have
> > you tried that?
> >
> Arg. sorry, I was too fast before. I tried compiling all my programs
> with -D_REENTRANT, but for sure not the whole library libc.6. I do not
> know if you meant that !?
Well, libc should already be compiled that way. You should only need to
do that for your programs.
JE
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html