On Thu, Oct 10, 2002, Michael Schloh von Bennewitz wrote:

> > I've just recognized that our "pgp" package is broken on FreeBSD. It
> > already fails to build. Perhaps the PMOD/PSOD can investigate if time
> > permits...
> >
> I didn't see any obvious problems building the pgp and pgp2 packages on the
> reference machine. Do you mean that they don't work at runtime, or don't build
> right on a specific machine?
>
>   $ rpm -bb pgp.spec
>   [...]
>   Wrote: /u/ms/work/openpkg/pkg/bin/pgp-6.5.8-20020206.ix86-freebsd4.7-cw.rpm
>   Executing(%clean): env -i /cw/lib/openpkg/bash --norc --noprofile --posix -e
>   /tmp/ms/openpkg/rpm-tmp.7769
>   + cd /tmp/ms/openpkg/
>   + cd pgp-6.5.8
>   + rm -rf /tmp/ms/openpkg/pgp-6.5.8-root
>   + exit 0
>   $

Unfortunately RPM does not stop, but a few lines before you'll see

/pgpcdk/unix -L -lPGPui -lPGPsdkNetwork -lPGPsdk -lPGPui -lpfl   -lm
../../../libs/pgpcdk/unix/libPGPsdk.a(pgpFileSpecStd.o): In function 
`pgpPlatformGetTempFileSpec':
pgpFileSpecStd.o(.text+0x274): warning: mktemp() possibly used unsafely; consider 
using mkstemp()
../../../libs/pgpcdk/unix/libPGPsdkNetwork.a(open.o): In function `ldap_open':
open.o(.text+0x27): undefined reference to `pthread_self'
open.o(.text+0xe9): undefined reference to `pthread_self'
../../../libs/pgpcdk/unix/libPGPsdkNetwork.a(open.o): In function `ldap_init':
open.o(.text+0x15a): undefined reference to `pthread_self'
../../../libs/pgpcdk/unix/libPGPsdkNetwork.a(open.o): In function 
`open_ldap_connection':
open.o(.text+0x243): undefined reference to `pthread_self'
../../../libs/pgpcdk/unix/libPGPsdkNetwork.a(result.o): In function `ldap_result':
result.o(.text+0x29): undefined reference to `pthread_self'
../../../libs/pgpcdk/unix/libPGPsdkNetwork.a(result.o)(.text+0x1d7): more undefined 
references to `pthread_self' follow
collect2: ld returned 1 exit status
make: *** [pgp] Error 1

Is it possible that we _ENTIRELY_ disable any Pthread usage in PGP?

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to