Re: make error while installing on Solaris 10
Dmitry Kurochkin <dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> Wed, 08 Jun 2011 21:58:56 +0400
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 8 Jun 2011 13:39:08 -0400, "Jawahar Balakrishnan (JB)" <[email protected]> wrote: > Dmitry > > Thanks for the suggestion. The build went further than before but I am > getting a different error.. > > init2.c:37: assertion failed: ((64 - 0)+0) == (((64 - 0)+0)/8) * 8 && > sizeof(mp_limb_t) == (((64 - 0)+0)/8) > In file included from rndDistrs.cc:11: > ../../src/xstd/rndDistrs.h: In member function âvirtual double > UnifDistr::sdev() constâ: > ../../src/xstd/rndDistrs.h:38: internal compiler error: Abort > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://gcc.gnu.org/bugs.html> for instructions. > make[3]: *** [rndDistrs.o] Error 1 > make[3]: Leaving directory > `/export/data/home/jawahar/install/webpolygraph/polygraph-4.3.2/src/xstd' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/export/data/home/jawahar/install/webpolygraph/polygraph-4.3.2/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/export/data/home/jawahar/install/webpolygraph/polygraph-4.3.2' > make: *** [all] Error 2 > > Any thoughts? This is a gcc bug. I do not think I saw this problem on any gcc version I tried. Are you using an unstable gcc version? Updating gcc should help. Regards, Dmitry > Thanks > JB > > > > On Wed, Jun 8, 2011 at 12:29 PM, Dmitry Kurochkin > <[email protected]> wrote: > > Hi Jawahar. > > > > On Mon, 6 Jun 2011 12:03:55 -0400, "Jawahar Balakrishnan (JB)" <[email protected]> wrote: > >> I tried version 4.3.2 and 4.0.11 but i get the same error when i > >> execute make. Any ideas/thoughts will be appreciated. > >> > > > > The errors are in code related to IPv6 network aliases creation. > > Unfortunately, there is no portable API for this stuff and there is no > > Solaris support in Polygraph (our primary platforms are Linux and > > FreeBSD). As a quick hack, you may try commenting out the following > > define in src/xstd/InetIfReq.h: > > > > // Assume we are on Linux if here > > #define HAVE_TYPE_LINUX_IN6_IFREQ 1 > > > > This hack should work for you as long as you do not use IPv6 aliases. > > Hopefully, the rest of the code would build fine. > > > > I opened bug #794650 [1] on Launchpad to track Solaris build issues. > > > > Regards, > > Dmitry > > > > [1] https://bugs.launchpad.net/polygraph/+bug/794650 > > > >> InetIfReq.cc: In constructor âInet6IfAliasReq::Inet6IfAliasReq(const > >> String&, const InAddress&, const InAddress&)â: > >> InetIfReq.cc:38: error: âSIOCGIFINDEXâ was not declared in this scope > >> InetIfReq.cc:40: error: âstruct ifreqâ has no member named âifr_ifindexâ > >> make[3]: *** [InetIfReq.o] Error 1 > >> > >> Thanks > >> JB > >> _______________________________________________ > >> Users mailing list > >> [email protected] > >> http://www.web-polygraph.org/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://www.web-polygraph.org/mailman/listinfo/users