Re: Trouble with my first test program...
From: <cfernandez@xxxxxxxxxxxxxxx>
Date: Tue, 26 Dec 2006 22:34:01 +0100
thanks for the responses... It was like 4 am sleepy .. Hehe thanks.
Btw thanks for such a good lib

-----Original Message-----

From:  Dmitry Nezhevenko <dion@xxxxxxxxx>
Subj:  Re: [gloox-dev] Trouble with my first test program...
Date:  Tue 26 Dec 2006 5:33
Size:  453 bytes
To:  gloox-dev@xxxxxxxxxx


On Tue, Dec 26, 2006 at 04:07:29AM -0600, Chris Fernandez wrote:
> but.. when I compile  with:
> g++ test2.cpp -o test
> I get...
> /tmp/ccW3K4hy.o: In function `Bot::handleMessage(gloox::Stanza*)':
> test2.cpp:(.text+0x148c): undefined reference to `gloox::JID::full() const'

You forget to link it with libgloox. It should be something like:
g++ test2.cpp -lgloox -o test

-- 
WBR, Dmitry

--- Attachment signature.asc---
--- Attachment footer.txt---



-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx