Subject: pkg/16567: kdelibs2 needs different libstdc++(?)
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/29/2002 22:10:53
>Number:         16567
>Category:       pkg
>Synopsis:       kdelibs2 needs different libstdc++(?)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 29 19:11:03 PDT 2002
>Originator:     Dan McMahill
>Release:        1.5.3<NetBSD-current source date>
recent pkgsrc
System: NetBSD bondage 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (BONDAGE) #9: Wed Mar 20 15:41:48 EST 2002 dan@bondage:/export/disk1/src/syssrc-1-5/sys/arch/alpha/compile/BONDAGE alpha


kdelibs2 installs /usr/X11R6/lib/ which has an undefined reference to ostream::write(char const *, long)

dan@bondage 2347 # nm /usr/X11R6/lib/ | /usr/pkg/gcc-2.95.3/bin/c++filt | grep "ostream::write"
		  U ostream::write(char const *, long)

dan@bondage 2348 # nm /usr/lib/ | /usr/pkg/gcc-2.95.3/bin/c++filt | grep "ostream::write"
 0000000000051500 T ostream::write(signed char const *, int)
 0000000000051540 T ostream::write(unsigned char const *, int)
 000000000004f900 T ostream::write(char const *, int)
 00000000000514c0 T ostream::write(void const *, int)

dan@bondage 2349 # nm /usr/pkg/gcc-2.95.3/lib/libstdc++.a.2.10.0nb1 | /usr/pkg/gcc-2.95.3/bin/c++filt | grep "ostream::write"
	  	   U ostream::write(char const *, long)
  0000000000003400 W ostream::write(signed char const *, long)
  00000000000033e0 W ostream::write(unsigned char const *, long)
  0000000000002c60 T ostream::write(char const *, long)
  0000000000003420 W ostream::write(void const *, long)
		   U ostream::write(char const *, long)

maybe we should link in /usr/pkg/gcc-2.95.3/lib/libstdc++.a.2.10.0nb1?


on alpha, cd /usr/pkgsrc/x11/kdebase2 && make 
this will build kdelibs2 and try to build kdebase2 but fail due to a missing reference in libmcop.