Re: Help Compiling this Code
From: "soumen banerjee" <soumen.banerjee@xxxxxxxxx>
Date: Mon, 20 Feb 2006 21:41:16 +0100
Fine added but no help
==================================================================
[soumen@localhost coded]$ g++ -lgloox -Wno-deprecated gloox.cpp -o gloox
/tmp/ccl8STEr.o(.gnu.linkonce.t._ZN4G_IDC1Ev+0x2b): In function
`G_ID::G_ID[in-charge]()':
: undefined reference to `vtable for G_ID'
/tmp/ccl8STEr.o(.gnu.linkonce.t._ZN4G_IDC1Ev+0x37): In function
`G_ID::G_ID[in-charge]()':
: undefined reference to `vtable for G_ID'
collect2: ld returned 1 exit status

On 2/21/06, Jakob Schroeter <js@xxxxxxxxxx> wrote:
>
> On Monday February 20 2006 21:32, soumen banerjee wrote:
> >
> ===========================================================================
> > its giving this compilation error i used this commad to compile
> > "g++ -Wno-deprecated gloox.cpp -o gloox"
> >
> ===========================================================================
> > HERE THE COMPILATION RESULT
> > [soumen@localhost coded]$ g++ -Wno-deprecated gloox.cpp -o gloox
> > /tmp/ccH13kG0.o(.gnu.linkonce.t._ZN4G_IDC1Ev+0xd): In function
> >
> > `G_ID::G_ID[in-charge]()':
> > : undefined reference to `gloox::JID::JID[not-in-charge]()'
>
> You have to add at least -lgloox to your compiler call, so it gets a
> chance to
> link to gloox.
>
> cheers,
> Jakob
>
>
> --
> gloox-dev mailing list
> to unsubscribe:
> send a message with subject 'unsubscribe gloox-dev' to
> minimalist@xxxxxxxxxx
>
>
>


--
Soumen Banerjee
(If you think i am just another spammer, they you dont know me)
-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx