Discussion:
[mico-2.3.13] wireless broken?
Michael Haubenwallner
2009-02-13 15:39:27 UTC
Permalink
Hi,

in mico-2.3.13, with '--enable-wireless', gcc-4.1.2 spits:

$ make
make[2]: Entering directory `/var/tmp/portage/net-misc/mico-2.3.13/work/mico/coss/wireless'
i686-pc-linux-gnu-g++ -I. -I../../include -O2 -Wall -Wwrite-strings -march=pentium4 -pipe -fno-strict-aliasing -c hla.cc -o hla.o
hla.cc: In function 'int main(int, char**)':
hla.cc:437: error: cannot allocate an object of abstract type 'HomeLocationService'
hla.cc:47: note: because the following virtual functions are pure within 'HomeLocationService':
../../include/mico/orb_mico.h:620: note: virtual CORBA::Boolean CORBA::ObjectAdapter::validate_connection(CORBA::Object*, CORBA::PolicyList_out)
../../include/mico/orb_mico.h:622: note: virtual void CORBA::ObjectAdapter::timedout_invoke(CORBA::ORBInvokeRec*)
make[2]: *** [hla.o] Error 1

The configure arguments were:
$ ./configure \
--prefix=/usr \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--disable-mini-stl \
--disable-threads \
--with-gtk=/usr \
--with-pgsql= \
--with-qt= \
--with-tcl= \
--with-x=/usr \
--with-bluetooth= \
--enable-wireless \

Any idea what happens here?

/haubi/
--
Michael Haubenwallner
Gentoo on a different level
Jaakko Kangasharju
2009-02-13 16:56:16 UTC
Permalink
Post by Michael Haubenwallner
$ make
make[2]: Entering directory `/var/tmp/portage/net-misc/mico-2.3.13/work/mico/coss/wireless'
i686-pc-linux-gnu-g++ -I. -I../../include -O2 -Wall -Wwrite-strings -march=pentium4 -pipe -fno-strict-aliasing -c hla.cc -o hla.o
hla.cc:437: error: cannot allocate an object of abstract type 'HomeLocationService'
../../include/mico/orb_mico.h:620: note: virtual CORBA::Boolean CORBA::ObjectAdapter::validate_connection(CORBA::Object*, CORBA::PolicyList_out)
../../include/mico/orb_mico.h:622: note: virtual void CORBA::ObjectAdapter::timedout_invoke(CORBA::ORBInvokeRec*)
make[2]: *** [hla.o] Error 1
Any idea what happens here?
The wireless parts haven't been kept up-to-date with the rest of MICO,
since I haven't worked on CORBA for ages. I think the last time I
touched MICO was in 2004 or something. It seems that the ObjectAdapter
class acquired some new virtual functions between the time anyone used
the wireless parts and now. The same seems to be the case with the
Bluetooth problem that you also had.

It doesn't seem like it would be too much work to update these parts,
or at least to write the implementations of the virtual functions so
that they compile. I'm pretty sure I still remember enough of MICO to
be able to do it, unless someone else wants to begin maintaining the
wireless parts.
--
Jaakko Kangasharju
If you want a response, you must demonstrate
familiarity with ordinal arithmetic
Michael Haubenwallner
2009-02-13 17:11:12 UTC
Permalink
Post by Jaakko Kangasharju
The wireless parts haven't been kept up-to-date with the rest of MICO,
The same seems to be the case with the Bluetooth problem that you also had.
It's not that I really need or were asked to enable them, just thought
it would be fine to have them buildable. It's ok with me to know they
are unmaintained and eventually removed from future versions.

OTOH, especially wireless networks usage recently grows...

Thanks you anyway,
/haubi/
--
Michael Haubenwallner
Gentoo on a different level
Karel Gardas
2009-02-14 19:24:35 UTC
Permalink
Post by Jaakko Kangasharju
Post by Michael Haubenwallner
$ make
make[2]: Entering directory `/var/tmp/portage/net-misc/mico-2.3.13/work/mico/coss/wireless'
i686-pc-linux-gnu-g++ -I. -I../../include -O2 -Wall -Wwrite-strings -march=pentium4 -pipe -fno-strict-aliasing -c hla.cc -o hla.o
hla.cc:437: error: cannot allocate an object of abstract type 'HomeLocationService'
../../include/mico/orb_mico.h:620: note: virtual CORBA::Boolean CORBA::ObjectAdapter::validate_connection(CORBA::Object*, CORBA::PolicyList_out)
../../include/mico/orb_mico.h:622: note: virtual void CORBA::ObjectAdapter::timedout_invoke(CORBA::ORBInvokeRec*)
make[2]: *** [hla.o] Error 1
Any idea what happens here?
The wireless parts haven't been kept up-to-date with the rest of MICO,
since I haven't worked on CORBA for ages. I think the last time I
touched MICO was in 2004 or something. It seems that the ObjectAdapter
class acquired some new virtual functions between the time anyone used
the wireless parts and now. The same seems to be the case with the
Bluetooth problem that you also had.
It doesn't seem like it would be too much work to update these parts,
or at least to write the implementations of the virtual functions so
that they compile. I'm pretty sure I still remember enough of MICO to
be able to do it, unless someone else wants to begin maintaining the
wireless parts.
Jaakko,

indeed! validate_connection is function required by CORBA 2.4
Object::_validate_connection operation implementation which was added in
MICO 2.3.13 and timedout_invoke is function required by MICO 2.3.13
addition of possibility to have timedout invocations.

Unfortunately I'm completely w/o a power to fix those issues now myself,
so if you do have any free time or any other member, please send me the
patch and I'm happy to review/merge it.

Thanks!
Karel
--
Karel Gardas ***@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
Continue reading on narkive:
Loading...