Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25528 - Error with Pwlib 1.5.0
Summary: Error with Pwlib 1.5.0
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-29 13:07 UTC by matrixise
Modified: 2003-10-11 19:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matrixise 2003-07-29 13:07:25 UTC
I have a problem to compile pwlib with ldap support.

Reproducible: Always
Steps to Reproduce:
1.emerge pwlib-1.5.0.ebuild
2.
3.

Actual Results:  
make[1]: Leaving directory `/var/tmp/portage/pwlib-1.5.0/work/pwlib/src/ptlib/unix'
make[1]: Entering directory
`/var/tmp/portage/pwlib-1.5.0/work/pwlib/tools/asnparser'
bison -t -v -d -o asn_grammar asn_grammar.y
mv asn_grammar asn_grammar.cxx
g++ -DP_LINUX=2.6.0-test2 -I/usr/include -D_REENTRANT -Wall -DP_USE_PRAGMA
-DPHAS_TEMPLATES -I/var/tmp/portage/pwlib-1.5.0/work/pwlib/include/ptlib/unix
-I/var/tmp/portage/pwlib-1.5.0/work/pwlib/include -DNDEBUG -O3 -march=athlon-xp
-funroll-loops -fprefetch-loop-arrays -pipe -c asn_grammar.cxx -o
obj_linux_x86_r/asn_grammar.o
/var/tmp/portage/pwlib-1.5.0/work/pwlib/include/ptlib/pdirect.h:458: warning: inline
   function `static BOOL PDirectory::Remove(const PString&)' used but never 
   defined
flex -t asn_lex.l > asn_lex.cxx
g++ -DP_LINUX=2.6.0-test2 -I/usr/include -D_REENTRANT -Wall -DP_USE_PRAGMA
-DPHAS_TEMPLATES -I/var/tmp/portage/pwlib-1.5.0/work/pwlib/include/ptlib/unix
-I/var/tmp/portage/pwlib-1.5.0/work/pwlib/include -DNDEBUG -O3 -march=athlon-xp
-funroll-loops -fprefetch-loop-arrays -pipe -c asn_lex.cxx -o
obj_linux_x86_r/asn_lex.o
/var/tmp/portage/pwlib-1.5.0/work/pwlib/include/ptlib/pdirect.h:458: warning: inline
   function `static BOOL PDirectory::Remove(const PString&)' used but never 
   defined
g++ -DP_LINUX=2.6.0-test2 -I/usr/include -D_REENTRANT -Wall -DP_USE_PRAGMA
-DPHAS_TEMPLATES -I/var/tmp/portage/pwlib-1.5.0/work/pwlib/include/ptlib/unix
-I/var/tmp/portage/pwlib-1.5.0/work/pwlib/include -DNDEBUG -O3 -march=athlon-xp
-funroll-loops -fprefetch-loop-arrays -pipe -c main.cxx -o obj_linux_x86_r/main.o
/var/tmp/portage/pwlib-1.5.0/work/pwlib/include/ptlib/pdirect.h:458: warning: inline
   function `static BOOL PDirectory::Remove(const PString&)' used but never 
   defined
g++ -o obj_linux_x86_r/asnparser -O3 -march=athlon-xp -funroll-loops
-fprefetch-loop-arrays -pipe -DP_LINUX=2.6.0-test2 -I/usr/include  -s
-L/var/tmp/portage/pwlib-1.5.0/work/pwlib/lib   ./obj_linux_x86_r/asn_grammar.o
 ./obj_linux_x86_r/asn_lex.o  ./obj_linux_x86_r/main.o -lpt_linux_x86_r -lssl
-lcrypto -llber -lldap -lldap_r -lexpat -lpthread -lSDL -lresolv  -ldl 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libldap_r.so: undefined
reference to `pthread_kill_other_threads_np'
collect2: ld returned 1 exit status
make[1]: *** [obj_linux_x86_r/asnparser] Error 1
make[1]: Leaving directory `/var/tmp/portage/pwlib-1.5.0/work/pwlib/tools/asnparser'
make: *** [opt] Error 2

!!! ERROR: dev-libs/pwlib-1.5.0 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! make failed



[stef@gentoo:stef]$ emerge  info
Portage 2.0.48-r7 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test2 i686 AMD Athlon(tm) XP 2200+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups jpeg libg++ mmx mpeg ncurses nls pdflib
png spell truetype xml2 xmms zlib directfb alsa gdbm berkdb readline tetex aalib
tcltk java postgres X sdl gpm tcpd libwww ssl perl python esd imlib oggvorbis
gnome gtk motif opengl mozilla ldap cdr acl acpi acpi4linux apache2 debug dnd
doc dvd emacs ethereal fbcon fbdev gstreamer gtk2 gtkhtml ipv6 maildir mbox
md5sum mng mozaccess mozinterfaceinfo mozp3p mozsvg mozxmlterm nptl pnp ppds
S3TC threads tiff trusted type1 usagi usb v4l vim-with-x wxwindows xml xosd xvid
zeo -arts -encode -foomaticdb -gif -kde -mad -mikmod -qt -quicktime -slang -svga
-xv -pam"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Stephane Loeuillet 2003-08-28 15:36:13 UTC
i had this bug too on a 1.4 GRP based install, with kernel 2.4, gcc 3.2.3, binutils 2.14

what is really missing is an ebuild for v1.5.2 which is out since 19/08/2003 (like openh323 v1.12.2
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-08-30 20:02:57 UTC
well, which version of openldap are you using?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-09-03 03:29:27 UTC
i've updated pwlib to 1.5.2 and openh323 1.12.2, does that fix the problem?

however, i see that error as a problem with ldap rather than pwlib
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 03:39:08 UTC
has anyone tried the newer pwlib and openh323 ? 
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-10-11 19:06:57 UTC
reclosing