[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: FreeBSD: can't compile template generated by kapptemplate
From:       Thomas Braxton <brax108 () cox ! net>
Date:       2005-10-18 8:07:23
Message-ID: 200510180307.24006.brax108 () cox ! net
[Download RAW message or body]

On Tuesday 18 October 2005 02:50 am, Mathias Monnerville wrote:
> Hello,
>
> I can't get kmyapp (generated from kapptemplate) compiled on my FreeBSD
> box (linking problems). It's seems not to be working out of the box...
> What kind of patch should I apply ? I searched through the web but got
> no result.
>
> Here is the error message:
>
> Making all in .
> /usr/local/bin/bash ../libtool --silent --tag=CXX --mode=link g++  
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> -Wno-non-virtual-dtor -O2 -fno-exceptions -fno-check-new -fno-common   -o
> kmyapp -R /usr/local/lib -R /usr/local/lib -R /usr/X11R6/lib -R
> /usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib main.o kmyapp.o 
> kmyappview.o kmyapppref.o -lkio -lpthread -lkdeprint
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0x8):
> undefined reference to `typeinfo for KMyAppIface'
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0xc):
> undefined reference to `KMyAppIface::process(QCString const&,
> QMemArray<char> const&, QCString&, QMemArray<char>&)'
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0x10):
> undefined reference to `KMyAppIface::functions()'
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0x14):
> undefined reference to `KMyAppIface::interfaces()'
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0x48):
> undefined reference to `typeinfo for KMyAppIface'
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0x54):
> undefined reference to `virtual thunk to KMyAppIface::process(QCString
> const&, QMemArray<char> const&, QCString&, QMemArray<char>&)'
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0x64):
> undefined reference to `virtual thunk to KMyAppIface::interfaces()'
> kmyappview.o(.gnu.linkonce.r._ZTC10KMyAppView116_11KMyAppIface+0x68):
> undefined reference to `virtual thunk to KMyAppIface::functions()'
> kmyappview.o(.gnu.linkonce.r._ZTV10KMyAppView+0x20c): undefined reference
> to `KMyAppIface::process(QCString const&, QMemArray<char> const&,
> QCString&, QMemArray<char>&)'
> kmyappview.o(.gnu.linkonce.r._ZTV10KMyAppView+0x210): undefined reference
> to `KMyAppIface::functions()'
> kmyappview.o(.gnu.linkonce.r._ZTV10KMyAppView+0x214): undefined reference
> to `KMyAppIface::interfaces()'
> kmyappview.o(.gnu.linkonce.r._ZTV10KMyAppView+0x254): undefined reference
> to `virtual thunk to KMyAppIface::process(QCString const&, QMemArray<char>
> const&, QCString&, QMemArray<char>&)'
> kmyappview.o(.gnu.linkonce.r._ZTV10KMyAppView+0x264): undefined reference
> to `virtual thunk to KMyAppIface::interfaces()'
> kmyappview.o(.gnu.linkonce.r._ZTV10KMyAppView+0x268): undefined reference
> to `virtual thunk to KMyAppIface::functions()'
> kmyappview.o(.gnu.linkonce.r._ZTI10KMyAppView+0x18): undefined reference to
> `typeinfo for KMyAppIface'
>
> kmyappview.o(.gnu.linkonce.t._ZN11KMyAppIfaceD1Ev+0x1b): In function 
`KMyAppIface::~KMyAppIface()':
> : undefined reference to `vtable for KMyAppIface'
>
> kmyappview.o(.gnu.linkonce.t._ZN11KMyAppIfaceD1Ev+0x22): In function 
`KMyAppIface::~KMyAppIface()':
> : undefined reference to `vtable for KMyAppIface'
>
> kmyappview.o(.gnu.linkonce.t._ZN11KMyAppIfaceD0Ev+0x1f): In function 
`KMyAppIface::~KMyAppIface()':
> : undefined reference to `vtable for KMyAppIface'
>
> kmyappview.o(.gnu.linkonce.t._ZN11KMyAppIfaceD0Ev+0x26): In function 
`KMyAppIface::~KMyAppIface()':
> : undefined reference to `vtable for KMyAppIface'
>
> *** Error code 1
>
> Stop in /home/mathias/progs/kde/src/kmyapp-0.1/kmyapp.
> *** Error code 1
>
> Stop in /home/mathias/progs/kde/src/kmyapp-0.1/kmyapp.
>
>
> Any help is welcome.
>
> ---
> Best regards,
>
> Mathias Monnerville.
>
Where is the object file for KMyAppIface? kmyappiface.o maybe?
It looks like the file implementing KMyAppIface is missing from the link 
command.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic