From: stephan b. <st...@s1...> - 2004-12-17 22:46:27
|
Yo, pclasses guys! i was referred to your project today by Marc, and am very interested in=20 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) =2E.. atalkaddr.cpp: In constructor `P::ATalkAddress::ATalkAddress()': patalkaddr.cpp:39: error: invalid application of `sizeof' to an=20 incomplete type patalkaddr.cpp: In constructor `P::ATalkAddress::ATalkAddress(const=20 at_addr&)': patalkaddr.cpp:51: error: invalid application of `sizeof' to an=20 incomplete type patalkaddr.cpp:53: error: invalid application of `sizeof' to an=20 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=20 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=20 incomplete type i can't find the definition of at_addr, only a forward decl in=20 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=20 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, =2D-=20 =2D---- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |
From: stephan b. <st...@s1...> - 2004-12-17 23:28:57
|
On Friday 17 December 2004 23:45, stephan beal wrote: > atalkaddr.cpp: In constructor `P::ATalkAddress::ATalkAddress()': > patalkaddr.cpp:39: error: invalid application of `sizeof' to an > incomplete type Solved: installed netatalk-devel and the compulsory kludge in patalkaddr.h: Replace: struct at_addr; with: struct atalk_addr; #define at_addr atalk_addr configure script apparently doesn't check for appletalk, or the makefiles don't properly accommodate when it's not there. Take care, -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |
From: Christian P. <cp...@se...> - 2004-12-18 14:36:08
|
As i already said, please use the 1.0.0_beta2 from CVS. Christian Am Samstag 18 Dezember 2004 00:27 schrieb stephan beal: > On Friday 17 December 2004 23:45, stephan beal wrote: > > atalkaddr.cpp: In constructor `P::ATalkAddress::ATalkAddress()': > > patalkaddr.cpp:39: error: invalid application of `sizeof' to an > > incomplete type > > Solved: installed netatalk-devel > and the compulsory kludge in patalkaddr.h: > > Replace: > struct at_addr; > > with: > struct atalk_addr; > #define at_addr atalk_addr > > configure script apparently doesn't check for appletalk, or the > makefiles don't properly accommodate when it's not there. > > Take care, |
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, |