From owner-freebsd-questions@FreeBSD.ORG Mon May 26 18:43:14 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 A00D1AD5 for ; Mon, 26 May 2014 18:43:14 +0000 (UTC) Received: from rc2.surewest.net (rc2.surewest.net [66.60.130.51]) by mx1.freebsd.org (Postfix) with ESMTP id 7EBC32004 for ; Mon, 26 May 2014 18:43:14 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc2.surewest.net ({af05c03d-e86d-4922-90cb-b2bd72ac7e37}) via TCP (outbound) with ESMTP id 20140526183940405; Mon, 26 May 2014 18:39:40 +0000 X-RC-FROM: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp1.surewest.net (Postfix) with ESMTP id 5BE4989788; Mon, 26 May 2014 11:39:40 -0700 (PDT) Received: from blacklamb.mykitchentable.net (mykitchentable.net [69.62.167.70]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 443049C1CD; Mon, 26 May 2014 11:39:40 -0700 (PDT) Received: from [127.0.0.1] (unknown [198.69.254.143]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: drew) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 89725D790F; Mon, 26 May 2014 11:39:34 -0700 (PDT) Message-ID: <53838A5A.80006@mykitchentable.net> Date: Mon, 26 May 2014 11:39:22 -0700 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Antonio Olivares Subject: Re: Help Compiling apligen References: <538360F7.3090707@mykitchentable.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 140526-2, 05/26/2014), Outbound message X-Antivirus-Status: Clean X-MAG-OUTBOUND: surewest.redcondor.net@66.60.130.145/32 Cc: FreeBSD Questions 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 18:43:14 -0000 On 5/26/2014 9:29 AM, Antonio Olivares wrote: > Drew, > > On Mon, May 26, 2014 at 10:42 AM, Drew Tomlinson > wrote: >> I am not a programmer and I don't understand compiling. If it's not in the >> ports, I don't know how to use it. However I really want to try this >> utility: >> >> http://apligen.sourceforge.net/ >> >> I've downloaded the source and attempted to run 'make'. First error was >> that it couldn't find g++. I figured that out and installed gcc 4.7 from >> the ports tree. Ran 'make' again. Now I get these errors: >> >> $ make >> g++47 src/main.cpp -o apligen >> In file included from src/main.cpp:19:0: >> src/check_args.cpp: In function 'int check_args()': >> src/check_args.cpp:303:58: error: 'fopen64' was not declared in this scope >> src/check_args.cpp:343:52: error: 'fopen64' was not declared in this scope >> src/check_args.cpp:387:61: error: 'fopen64' was not declared in this scope >> src/check_args.cpp:442:60: error: 'fopen64' was not declared in this scope >> src/check_args.cpp:478:76: error: 'fopen64' was not declared in this scope >> src/check_args.cpp:507:84: error: 'fopen64' was not declared in this scope >> *** Error code 1 >> >> Stop. >> >> Is this something simple to fix? If so, I'd appreciate any hints. >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Try running gmake. Then see if it compiles. Have you read the README? Thank you for your reply. gmake fails with the same error. These are the only instructions from the readme: Install: use: make or: g++ main.cpp -o apligen