help-gplusplus
[Top][All Lists]
Advanced

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

Re: undefined reference link errors


From: Paul Pluzhnikov
Subject: Re: undefined reference link errors
Date: 16 Mar 2005 07:41:45 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

"Srini" <srinivasa.s@gmail.com> writes:

> raw_request.o(.text+0x29): In function 
> `RawRequest::RawRequest[not-in-charge]()':
>     : undefined reference to `Buffer::Buffer[in-charge]()'

> g++ tstrawreq.cpp buffer.o request.o raw_request.o configuration.o

Apparently buffer.o does not define 'Buffer::Buffer(void)', though
it should do so according to your description.

> Please let me know what I'm doing wrong in here.

Nothing wrong here.

Something is wrong with the buffer.cpp, but you didn't show any code,
so we can't tell what is wrong with it. 
Try creating a minimal test case that fails the same way.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]