From: Christian P. <cp...@se...> - 2004-12-18 14:31:30
|
Hi ! This error is caused by the kernel 2.6 headers, cause the kernel guys have= =20 renamed the Appletalk address structure. However it should be catched by th= e=20 configure script found in P::Classes 1.0.0-beta2 which you can get from CVS. Regards, Christian Prochnow Am Freitag 17 Dezember 2004 23:45 schrieb stephan beal: > Yo, pclasses guys! > > i was referred to your project today by Marc, and am very interested in > trying out pclasses. Unfortunately... > > stephan@owl:~/src/pclasses-1.0.0beta1> gcc --version > gcc (GCC) 3.3.4 (pre 3.3.5 20040809) > > (Suse Linux 9.2) > ... > > atalkaddr.cpp: In constructor `P::ATalkAddress::ATalkAddress()': > patalkaddr.cpp:39: error: invalid application of `sizeof' to an > incomplete type > patalkaddr.cpp: In constructor `P::ATalkAddress::ATalkAddress(const > at_addr&)': > patalkaddr.cpp:51: error: invalid application of `sizeof' to an > incomplete type > patalkaddr.cpp:53: error: invalid application of `sizeof' to an > incomplete type > patalkaddr.cpp: In constructor `P::ATalkAddress::ATalkAddress(const > =C2=A0 =C2=A0std::string&)': > patalkaddr.cpp:57: error: invalid application of `sizeof' to an > incomplete type > patalkaddr.cpp: In member function `P::ATalkAddress& > =C2=A0 =C2=A0P::ATalkAddress::operator=3D(const at_addr&)': > patalkaddr.cpp:79: error: invalid application of `sizeof' to an > incomplete type > > > > i can't find the definition of at_addr, only a forward decl in > pataladdr.h. Any quick workaround would be really cool. :) > > > There are also a couple of warnings, but those aren't stopping my build: > > piodevice.posix.cpp: In member function `virtual off64_t > P::IODevice::seek(long > =C2=A0 =C2=A0long unsigned int, P::IODevice::seekMode_t)': > piodevice.posix.cpp:189: warning: comparison between signed and unsigned > =C2=A0 =C2=A0integer expressions > > pfilemon.fam.cpp: In member function `bool > =C2=A0 =C2=A0P::FileMonitor::wait(P::FileMonitor::Event&, unsigned int)': > pfilemon.fam.cpp:177: warning: label `_select' defined but not used > > pthreadpool.cpp: In member function `void > =C2=A0 =C2=A0P::ThreadPool::finished(P::WorkerThread*)': > pthreadpool.cpp:162: warning: unused variable `P::ThreadJob*job' > > Take care, |