From owner-freebsd-questions@FreeBSD.ORG  Mon May 26 15:46:37 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; Mon, 26 May 2014 15:42:59 +0000
X-RC-FROM: <drew@mykitchentable.net>
X-RC-RCPT: <freebsd-questions@freebsd.org>
Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153])
 by smtp3.surewest.net (Postfix) with ESMTP id 1835289724
 for <freebsd-questions@FreeBSD.org>; 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 <freebsd-questions@FreeBSD.org>; 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 <freebsd-questions@FreeBSD.org>; 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 <drew@mykitchentable.net>
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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=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