Re: Failure to recompile a system library (pthreads) under Debian 2.0
Thanks for the responses! The hint that the glibc2 distribution contained
linuxthreads was what I was missing.
What I did is change SIGUSR1 to SIGUNUSED and SIGUSR2 to SIGSTKFLT in
internals.h in the linuxthreads directory and recompile (this was
based on a suggestion from Alexandre.Carissimi@imag.fr who pointed out
that LAM/MPI used SIGUSR1).
I recompiled the library from source and successfully compile and ran
the checks. I then replaced the libpthread.* libraries in the hamm
distribution.
After recompiling LAM with D_REENTRANT, all seems well and MPI now
works together with POSIX threads. I need this so that I can take
advantage of SMP on dual boxes in our network (Beowulf) cluster.
--Martin
Regarding your message dated: Sat, 12 Sep 1998 21:06:24 +0300
>
> Besides pthread library is included with glibc2.0. It is a part of
>it. You need to get a glibc2.0.x latest stable version and make required
>modifications and compile. But it might broke some other programs ... My
>guess. ( i.e. you want redefine signals .... ??? )
> Oops. I was in hurry .. half read letter. Sorry for wasted
>bandwidth.
>
>On Sat, 12 Sep 1998, swoop wrote:
>
>>
>> The 1.3.1 is based on libc 5 whereas debian 2.0 is glibc 2.0
>> (a.k.a libc 6.0 ) . You need to remove all #include<linux/xxx.h>
>> because they now belong to the kernels and therefore should not be
>> included by developers to maintain portability issues .....
>>
>> On Sat, 12 Sep 1998, Martin Weinberg wrote:
>>
>> >
>> > Folks,
>> >
>> >
>> > I recently migrated from 1.3.1 to 2.0. I need to recompile the
>> > pthreads library with different signals for compatibility with the
>> > LAM MPI implementation. This worked fine under 1.3.1.
>> >
>> > However, now I get large numbers of redefines from *.h inclusions
>> > ending in failure to compile even the first object. I'm using
>> > the original source from the source directory.
>> >
>> > I'm sure I'm making some sort of newbie mistake. Can anyone
>> > give me a clue?
>> >
>> > Thanks!
>> >
>> > --Martin
>> >
>> >
>> > --
>> > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>> >
>>
>>
>> --
>> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>>
>
>
>--
>Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
Reply to: