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

Re: [ns] new packet type problem



hi there,

> ANT/dynrtpsession.o: In function
> `__static_initialization_and_destruction_0':
> ANT/dynrtpsession.o(.text+0x1147): undefined reference to
> `hdr_rtcp1::offset_'
> collect2: ld returned 1 exit status
> 

ok found the missing thing: i had to declare 

int hdr_rtcp1::offset_;

in the .cc file - but i wonder, why. the header file is included, so the
struct is visible for the function.

od

-- 
   Oliver Dawid * [email protected] * http://www.fet.uni-hannover.de/~od/