Re: [dtn-users] ion-3.2.1 compile error on FreeBSD 10.0

"Burleigh, Scott C (312G)" <scott.c.burleigh@jpl.nasa.gov> Wed, 30 July 2014 13:17 UTC

Return-Path: <scott.c.burleigh@jpl.nasa.gov>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F30991A002B for <dtn-users@ietfa.amsl.com>; Wed, 30 Jul 2014 06:17:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ezG0MM_ll5mV for <dtn-users@ietfa.amsl.com>; Wed, 30 Jul 2014 06:17:04 -0700 (PDT)
Received: from mail.jpl.nasa.gov (smtp.jpl.nasa.gov [128.149.139.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 73FB01A0027 for <dtn-users@irtf.org>; Wed, 30 Jul 2014 06:17:04 -0700 (PDT)
Received: from mail.jpl.nasa.gov (ap-ehub-sp01.jpl.nasa.gov [128.149.137.148]) by smtp.jpl.nasa.gov (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id s6UDH0f0012557 (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits) verified NO); Wed, 30 Jul 2014 06:17:01 -0700
Received: from AP-EMBX-SP40.RES.AD.JPL ([169.254.7.219]) by ap-ehub-sp01.RES.AD.JPL ([169.254.3.182]) with mapi id 14.03.0174.001; Wed, 30 Jul 2014 06:17:00 -0700
From: "Burleigh, Scott C (312G)" <scott.c.burleigh@jpl.nasa.gov>
To: "Yang, Yueli" <Yueli.Yang@boeing.com>, "dtn-users@irtf.org" <dtn-users@irtf.org>
Thread-Topic: ion-3.2.1 compile error on FreeBSD 10.0
Thread-Index: Ac+pYVhUs0xL8479TZmPxOlwnQ0/XwAWDRWQAC6WHYAAZ4bsAP//y+AV
Date: Wed, 30 Jul 2014 13:17:00 +0000
Message-ID: <A5BEAD028815CB40A32A5669CF737C3B5EDCFE22@ap-embx-sp40.RES.AD.JPL>
References: <CB218860DCAC454A99ECF061A96294D9153B11FF@XCH-BLV-201.nw.nos.boeing.com> <A5BEAD028815CB40A32A5669CF737C3B5EDCB20E@ap-embx-sp40.RES.AD.JPL> <A5BEAD028815CB40A32A5669CF737C3B5EDCB6F5@ap-embx-sp40.RES.AD.JPL>, <CB218860DCAC454A99ECF061A96294D9153BA8DC@XCH-BLV-201.nw.nos.boeing.com>
In-Reply-To: <CB218860DCAC454A99ECF061A96294D9153BA8DC@XCH-BLV-201.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [128.149.137.113]
Content-Type: multipart/alternative; boundary="_000_A5BEAD028815CB40A32A5669CF737C3B5EDCFE22apembxsp40RESAD_"
MIME-Version: 1.0
X-Source-Sender: scott.c.burleigh@jpl.nasa.gov
X-AUTH: Authorized
Archived-At: http://mailarchive.ietf.org/arch/msg/dtn-users/xTGwiT59cVYQAlscM1PnFc-bE4k
Subject: Re: [dtn-users] ion-3.2.1 compile error on FreeBSD 10.0
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2014 13:17:08 -0000

Great!  Thanks, Yueli.  As it happens, I have just located a machine I can configure for FreeBSD debugging.  I may have time to do that tomorrow morning, confirm your fixes, and post them as a feature branch for the ION 3.2.2 release, targeted for the end of September; with any luck, we won't have to go through this again.

Scott
________________________________
From: Yang, Yueli [Yueli.Yang@boeing.com]
Sent: Wednesday, July 30, 2014 2:19 AM
To: Burleigh, Scott C (312G); dtn-users@irtf.org
Subject: RE: ion-3.2.1 compile error on FreeBSD 10.0

Thank you very much, Scott.

By switching to gmake, I am able to get ion-3.2.1 build on FreeBSD 10.0 after fixing the following errors.

·         unsigned enum in file in file bp/cgr/libcgr.c  by removing “traceType  <  0  ||”  in line 1817 and “reason  <  0  ||”  in line 1856

·         undeclared identifier errors in file bss/library/libbssP.c line 1129:43 and 1228:36 by adding “#define O_LARGEFILE 0” to line 20

·         unsigned int in file nm/shared/adm/adm.c:970:10 error by adding (int) in front of len

·         unsigned int in file nm/shared/utils/utils.c:692:23 error by adding (int) in front of (size-result_len)

Regards,
    Yueli
From: dtn-users [mailto:dtn-users-bounces@irtf.org] On Behalf Of Burleigh, Scott C (312G)
Sent: Monday, July 28, 2014 7:57 AM
To: dtn-users@irtf.org
Cc: ion-users@ocp.ohiou.edu
Subject: Re: [dtn-users] ion-3.2.1 compile error on FreeBSD 10.0

Sending this again, as it seems to have gotten stuck in JPL’s mail system yesterday.

Scott

From: dtn-users [mailto:dtn-users-bounces@irtf.org] On Behalf Of Burleigh, Scott C (312G)
Sent: Sunday, July 27, 2014 11:01 AM
To: dtn-users@irtf.org<mailto:dtn-users@irtf.org>
Cc: ion-users@ocp.ohiou.edu<mailto:ion-users@ocp.ohiou.edu>
Subject: Re: [dtn-users] ion-3.2.1 compile error on FreeBSD 10.0

Hi, Yueli.  I’m really sorry, we never had a lot of takers for the FreeBSD port of ION so we got out of the habit of regression-testing it on every release; by now the low-level Makefiles are all way out of date, and at the moment we’ve got no FreeBSD machine to debug on.

I unfortunately am going to be away from my development machines for almost three weeks starting tomorrow, so I can’t be much help until mid-August.  In the meantime, if anybody else can help Yueli with updating the FreeBSD port, please feel free – and , if possible, please keep track of the changes you made so we can fold them back into the next release.

Scott

From: dtn-users [mailto:dtn-users-bounces@irtf.org] On Behalf Of Yang, Yueli
Sent: Saturday, July 26, 2014 11:10 PM
To: dtn-users@irtf.org<mailto:dtn-users@irtf.org>
Cc: ion-users@ocp.ohiou.edu<mailto:ion-users@ocp.ohiou.edu>
Subject: [dtn-users] ion-3.2.1 compile error on FreeBSD 10.0

Hi, I am having trouble to compile ion-3.2.1 on FreeBSD 10.

After fixing a few errors of “unsigned enum/int <0 is always false” and “use of undeclared identifier O_LARGEFILE”,  make command still fails with:

Make[2]: don’t know how to make ./ici/doc/ionadmin.1. Stop
Make[2]: stopped in /root/ion-open-source
*** Error code 1

Running make in ./ici/doc/ failed with:

Make: exec(./man/man1/ionadmin.1) failed (No such file or directory)
*** Error code 1

I revised the ./ici/doc/Makefile to generate “ ./html/man*/*html” and “./man/man*/*.x” files, make still failed with

Cannot find “lyst_insert” in podpath: cannot find suitable replacement path, cannot resolve link
Make: exec(./man/man1/ionadmin.1) failed (Permission denied)
*** Error code 1

Any help or tip on compile/build/install ion-3.2.1 on FreeBSD 10.0 will be greatly appreciated.
Regards,
Yueli Yang
Boeing Research & Technology
Seattle DC 9-08.4, 4D13-1.2, MC: 4C-78
Phone: 425-373-7132, FAX: 206-544-6757