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

"Yang, Yueli" <Yueli.Yang@boeing.com> Wed, 30 July 2014 09:19 UTC

Return-Path: <Yueli.Yang@boeing.com>
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 DF3591A02F4 for <dtn-users@ietfa.amsl.com>; Wed, 30 Jul 2014 02:19:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.302
X-Spam-Level:
X-Spam-Status: No, score=-2.302 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, 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 Ipux7JbvfbV4 for <dtn-users@ietfa.amsl.com>; Wed, 30 Jul 2014 02:19:26 -0700 (PDT)
Received: from blv-mbsout-02.boeing.com (blv-mbsout-02.boeing.com [130.76.32.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 92C101B2A3F for <dtn-users@irtf.org>; Wed, 30 Jul 2014 02:19:26 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by blv-mbsout-02.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id s6U9JQLA023179; Wed, 30 Jul 2014 02:19:26 -0700
Received: from XCH-PHX-210.sw.nos.boeing.com (xch-phx-210.sw.nos.boeing.com [130.247.25.65]) by blv-mbsout-02.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id s6U9JFuF022553 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Wed, 30 Jul 2014 02:19:15 -0700
Received: from XCH-BLV-201.nw.nos.boeing.com ([169.254.1.212]) by XCH-PHX-210.sw.nos.boeing.com ([169.254.10.130]) with mapi id 14.03.0181.006; Wed, 30 Jul 2014 02:19:15 -0700
From: "Yang, Yueli" <Yueli.Yang@boeing.com>
To: "Burleigh, Scott C (312G)" <scott.c.burleigh@jpl.nasa.gov>, "dtn-users@irtf.org" <dtn-users@irtf.org>
Thread-Topic: ion-3.2.1 compile error on FreeBSD 10.0
Thread-Index: Ac+pYVhUzCDqkP3ruECu91lsjXz+fgAng2qAACvcxQAASeyp4A==
Date: Wed, 30 Jul 2014 09:19:14 +0000
Message-ID: <CB218860DCAC454A99ECF061A96294D9153BA8DC@XCH-BLV-201.nw.nos.boeing.com>
References: <CB218860DCAC454A99ECF061A96294D9153B11FF@XCH-BLV-201.nw.nos.boeing.com> <A5BEAD028815CB40A32A5669CF737C3B5EDCB20E@ap-embx-sp40.RES.AD.JPL> <A5BEAD028815CB40A32A5669CF737C3B5EDCB6F5@ap-embx-sp40.RES.AD.JPL>
In-Reply-To: <A5BEAD028815CB40A32A5669CF737C3B5EDCB6F5@ap-embx-sp40.RES.AD.JPL>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.247.104.6]
Content-Type: multipart/alternative; boundary="_000_CB218860DCAC454A99ECF061A96294D9153BA8DCXCHBLV201nwnosb_"
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: http://mailarchive.ietf.org/arch/msg/dtn-users/vxLpujWFoyojtTYoGi3hLBaDP3U
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 09:19:30 -0000

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