pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/24992: kde-vim compilation problem



>Number:         24992
>Category:       pkg
>Synopsis:       kde-vim compilation problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 31 11:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0A
>Organization:

Ertan.Payci%mcs.de@localhost              MCS Moorbek Computer Systeme GmbH
Tel. +49-40-53773 - 0           Essener Strasse 99, 22419 Hamburg
Fax. +49-40-53773 - 200                         http://www.mcs.de
>Environment:
        
        
System: NetBSD epa.mcs-hh.de 2.0A NetBSD 2.0A (GENERIC) #0: Tue Mar 30 14:14:16 
GMT 2004 root%epa.mcs-hh.de@localhost:/usr/obj/sys/arch/i386/compile/GENERIC 
i386
Architecture: i386
Machine: i386

[root@epa:/usr/pkgsrc/editors/vim-kde]$ gcc --version
gcc (GCC) 3.3.3 (NetBSD nb1 20040301)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

g++ (GCC) 3.3.3 (NetBSD nb1 20040301)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@epa:/usr/pkgsrc/editors/vim-kde]$ ld --version
GNU ld version 2.14 20030612
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

>Description:
        
I just updates /usr/pkgsrc (cvs up -dP).
Then i did a "make install package" in /usr/pkgsrc/editors/vim-kde and got the 
following 
failure during linkage of kde-vim:

-----------

/usr/pkgsrc/editors/vim-kde/work/.buildlink/lib/libkdecore.so: warning: 
reference to compatibility unsetenv(); include <stdlib.h> for correct reference
objects/gui_kde.o(.text+0xf): In function `pixmap_create_from_xpm(char**)':
: undefined reference to `QPixmap::QPixmap(char const**)'
objects/gui_kde.o(.text+0x32): In function `pixmap_create_by_num(int)':
: undefined reference to `KApplication::KApp'
objects/gui_kde.o(.text+0x3e): In function `pixmap_create_by_num(int)':
[...]
objects/gui_kde.o(.text+0x1a7): In function `pixmap_create_by_dir(unsigned 
char*)':
: undefined reference to `QPixmap::QPixmap(QString const&, char const*, 
QPixmap::ColorMode)'
objects/gui_kde.o(.text+0x1bc): In function `pixmap_create_by_dir(unsigned 
char*)':
[...]
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x20): undefined reference 
to `__cxa_pure_virtual'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x24): undefined reference 
to `__cxa_pure_virtual'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x28): undefined reference 
to `__cxa_pure_virtual'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x2c): undefined reference 
to `__cxa_pure_virtual'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x30): undefined reference 
to `__cxa_pure_virtual'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x68): undefined reference 
to `DCOPObject::processDynamic(QCString const&, QMemArray<char> const&, 
QCString&, QMemArray<char>&)'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x6c): undefined reference 
to `DCOPObject::functionsDynamic()'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x70): undefined reference 
to `DCOPObject::interfacesDynamic()'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTV4KVim+0x7c): undefined reference 
to `DCOPObject::virtual_hook(int, void*)'
: undefined reference to `QCString::~QCString()'
objects/kvim_iface_skel.o(.gnu.linkonce.t._ZN17QValueListPrivateI8QCStringED1Ev+0x2a):
 In function `QValueListPrivate<QCString>::~QValueListPrivate()':
: undefined reference to `operator delete(void*)'
objects/kvim_iface_skel.o(.gnu.linkonce.t._ZN17QValueListPrivateI8QCStringED1Ev+0x46):
 In function `QValueListPrivate<QCString>::~QValueListPrivate()':
: undefined reference to `QCString::~QCString()'
[...]
: undefined reference to `vtable for QCString'
objects/kvim_iface_skel.o(.gnu.linkonce.t._ZN17QValueListPrivateI8QCStringEC1ERKS1_+0x94):
 In function 
`QValueListPrivate<QCString>::QValueListPrivate(QValueListPrivate<QCString> 
const&)':
: undefined reference to `operator delete(void*)'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTI4KVim+0x0): undefined reference 
to `vtable for __cxxabiv1::__vmi_class_type_info'
objects/kvim_iface_skel.o(.gnu.linkonce.r._ZTI4KVim+0x10): undefined reference 
to `typeinfo for DCOPObject'
objects/kvim_iface_skel.o(.eh_frame+0x12): undefined reference to 
`__gxx_personality_v0'

-----------

It seems to be a problem report generated by the linker. I had similar problems 
(not with the
pkgsrc collection) when i linked programms built with c++ with programs built by
c.



>How-To-Repeat:
        
cd /usr/pkgsrc/editors/vim-kde
make install package

>Fix:
        

>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index