This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pthread




----- Original Message -----
From: "Suhaib Siddiqi" <ssiddiqi@inspirepharm.com>
To: <cygwin-xfree@sources.redhat.com>
Sent: Monday, April 16, 2001 9:08 AM
Subject: pthread


> Rob,
> Rob
>
> You suggested to test X with pthread support?
> I enabled tthe ThreadSafeAPI and tried compiling X, I am stuck at
> libX11.dll.  i get getpwnam_r and getpwuid_r undefiend symbols.
> There is getpwnam and getpwuid in libcygwin.a but It should also have
> getpwnam_r and getpwuid_r, per Linux.
>
> /DLL_BASE_COUNTER`
> GetDflt.o(.text+0x7e):GetDflt.c: undefined reference to `getpwnam_r'
> GetDflt.o(.text+0xa8):GetDflt.c: undefined reference to `getpwuid_r'
> collect2: ld returned 1 exit status

Ahh, I know whats happening here. These are thread-safe equivalents to
getpwname and getpwuid.  I'll get back to you shortly ( a few days at
most) with these functions.

> Because I am unable to compile libX11.dll, therefore I do not know
what else
> is brokem, because all the other DLLs and xclients link to libX11.a.

That's cool. I expected this to be a step by step endeavour. Thanks for
trying.

Rob

> Suhaib
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]