From owner-freebsd-questions@FreeBSD.ORG Mon May 26 15:46:37 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 C8EEE40B for ; Mon, 26 May 2014 15:46:37 +0000 (UTC) Received: from rc3.surewest.net (rc3.surewest.net [66.60.130.52]) by mx1.freebsd.org (Postfix) with ESMTP id A797520B0 for ; Mon, 26 May 2014 15:46:36 +0000 (UTC) Received: from smtp3.surewest.net ([66.60.130.145]) by rc3.surewest.net ({89e988b2-2a53-469e-91f0-3e9924092bec}) via TCP (outbound) with ESMTP id 20140526154259200 for ; Mon, 26 May 2014 15:42:59 +0000 X-RC-FROM: X-RC-RCPT: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp3.surewest.net (Postfix) with ESMTP id 1835289724 for ; Mon, 26 May 2014 08:42:59 -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 EFCF396393 for ; Mon, 26 May 2014 08:42:58 -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 E09F5D78F2 for ; Mon, 26 May 2014 08:42:50 -0700 (PDT) Message-ID: <538360F7.3090707@mykitchentable.net> Date: Mon, 26 May 2014 08:42:47 -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: freebsd-questions@FreeBSD.org Subject: Help Compiling apligen Content-Type: text/plain; charset=ISO-8859-1; 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 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 15:46:37 -0000 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. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com