Date: Sun, 25 Feb 2007 21:49:24 +0100 (CET) From: "Arne H. Juul" <arnej@pvv.ntnu.no> To: Skip Ford <skip.ford@verizon.net> Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.5 does not build on AMD-64 Message-ID: <Pine.LNX.4.62.0702252147490.7063@decibel.pvv.ntnu.no> In-Reply-To: <20070225203000.GB717@heather.menantico.com> References: <45E0DAB0.6010809@vfemail.net> <Pine.LNX.4.62.0702250313120.32132@decibel.pvv.ntnu.no> <45E1C10B.90403@vfemail.net> <20070225183534.GC18421@osiris.chen.org.nz> <20070225203000.GB717@heather.menantico.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Feb 2007, Skip Ford wrote: >> Try rebuilding open-motif. You have have a corrupt binary (due to >> reasons unknown). > > After the extract stage, grep the open-motif sources for 'objformat' > to make sure this isn't more fallout from its removal. objformat removed? ouch. I should have asked the original poster for details about OS version etc, now this sounds like a good tip, since I see this code in work/openMotif-2.2.3/config/imake/imake.c: #ifdef __FreeBSD__ static void get_binary_format(FILE *inFile) { int mib[2]; size_t len; int osrel = 0; FILE *objprog = NULL; int iself = 0; char buf[10]; mib[0] = CTL_KERN; mib[1] = KERN_OSRELDATE; len = sizeof(osrel); sysctl(mib, 2, &osrel, &len, NULL, 0); if (osrel >= 300004 && (objprog = popen("objformat", "r")) != NULL && fgets(buf, sizeof(buf), objprog) != NULL && strncmp(buf, "elf", 3) == 0) iself = 1; if (objprog) pclose(objprog); fprintf(inFile, "#define DefaultToElfFormat %s\n", iself ? "YES" : "NO"); } #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.0702252147490.7063>