In the end, I had to remove the constness of the Payload type in the Trie but that didn't require many changes overall.
Now I'm successful in serializing instances of RIB along with all the RouteTable derivate classes. Unfortunately, for certain RouteTables at deserialization time I need to have references to objects of type EventLoop and RibManager. Are these two classes singleton? Thanks Marco Canini, Ph.D. EPFL, Networked Systems Laboratory > -----Original Message----- > From: [email protected] [mailto:xorp-hackers- > [email protected]] On Behalf Of Canini Marco > Sent: Monday, August 31, 2009 8:22 PM > To: Bruce Simpson > Cc: [email protected] > Subject: Re: [Xorp-hackers] RIB serialization > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Bruce, > > at the moment I'm hacking on xorp 1.6. To enable boost support I used > the m4 macros from the autoconf archive > (http://www.nongnu.org/autoconf-archive/). > If I read you correctly now xorp uses scons as the build system though. > > I'll try to avoid changing the constness then. I hope I hit a bug in > boost 1.34 and with a newer version I can get around this problem. > > Thanks > > Marco Canini, Ph.D. > Networked Systems Laboratory, EPFL > > > > -----Original Message----- > > From: Bruce Simpson [mailto:[email protected]] > > Sent: 31 August 2009 20:04 > > To: Canini Marco > > Cc: [email protected] > > Subject: Re: [Xorp-hackers] RIB serialization > > > > Hi Marco, > > > > Thanks for looking into this. We do plan to introduce Boost > > incrementally to the source tree, however this effort is still at a > > very > > early stage. > > > > I am curious if you're using the SVN code, as I have not yet > committed > > my changes to the SCons build glue for XORP to detect Boost's > libraries > > and headers. > > > > You might have better luck with your immediate issue by raising the > > question on the Boost-Users list. Yes, changing the constness of the > > Trie members is likely to cause a lot of code churn. > > > > thanks, > > BMS > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > > iEYEARECAAYFAkqcFMcACgkQK52QDm/mFCmglQCfZa8tcEd9oHWzIkhy7UPamAmq > EIsAn1lQ+eNohkJfd6sqXzS4Et9megtq > =NfC0 > -----END PGP SIGNATURE----- > > _______________________________________________ > Xorp-hackers mailing list > [email protected] > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
