From owner-freebsd-questions@FreeBSD.ORG Mon May 26 19:33:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4CEE84F for ; Mon, 26 May 2014 19:33:09 +0000 (UTC) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8B3E323FE for ; Mon, 26 May 2014 19:33:09 +0000 (UTC) Received: from pd3mr2so-ssvc.prod.shaw.ca ([10.0.141.178]) by pd2mo1so-svcs.prod.shaw.ca with ESMTP; 26 May 2014 13:33:08 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=YxSEfteA8I3FfiV5YWxuq2mszmPP34XnUl+Jg9erJEc= c=1 sm=1 a=FKkrIqjQGGEA:10 a=HymfytWnGS0A:10 a=BLceEmwcHowA:10 a=IkcTkHD0fZMA:10 a=IjHakLNbAAAA:8 a=6I5d2MoRAAAA:8 a=Ei39HBtxz1czfJcX7QMA:9 a=QEXdDO2ut3YA:10 a=B3h3vHwKrIwA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO cds005.dcs.int.inet) ([10.0.141.22]) by pd3mr2so-svcs.prod.shaw.ca with ESMTP; 26 May 2014 13:33:08 -0600 Date: Mon, 26 May 2014 13:33:08 -0600 (MDT) From: Dale Scott To: Drew Tomlinson Message-ID: <1240821264.53537155.1401132788026.JavaMail.root@cds005> In-Reply-To: <53838A5A.80006@mykitchentable.net> Subject: Re: Help Compiling apligen MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [147.108.253.253] X-Mailer: Zimbra 7.1.4_GA_2567 (ZimbraWebClient - [unknown] (Win)/7.1.4_GA_2555) Cc: FreeBSD Questions , Antonio Olivares X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2014 19:33:09 -0000 > gmake fails with the same error. > > These are the only instructions from the readme: > > Install: > use: > make > or: > g++ main.cpp -o apligen Hi there, I replaced fopen64 calls with fopen in check_args.cpp and apligen compiled without error on a FreeBSD-10-RELEASE sytem using the base c++ compiler clang. % c++ src/main.cpp -o apligen I then executed apligen without arguments, and it responded with help information and no errors (but that's as far as I went). >From a quick Google, it appears fopen64() is non-standard C++, but the functionality can be duplicated using a command line flag if necessary (appears to apply only if generating a password file greater than 2GB). See: http://cboard.cprogramming.com/c-programming/149806-difference-between-fopen-fopen64.html I don't know if Clang (or g++) accepts the indicated command line flag -D_FILE_OFFSET_BITS=64 Good luck! Dale _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"