From owner-freebsd-questions@FreeBSD.ORG Mon May 26 16:29:22 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 5F32F739 for ; Mon, 26 May 2014 16:29:22 +0000 (UTC) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B58F24F2 for ; Mon, 26 May 2014 16:29:22 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id i7so8450647oag.37 for ; Mon, 26 May 2014 09:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2NDRY/V7CQrZtLVJ1lBBX9+pZA2JM9fyugMhs+JF9wg=; b=pCFzsxi+nzojREqqaZ+fHDukgTZknPnPydOh5NDbxwe+6AgDOgErASvgk+cbTcSCeo BSLFywFneEoBeEM14BxFAYNoLG+fSUxOn6cuvalvB6ZSF50pBa/k+vwbf+FxWK6y4qAc pYfI/lVcXvGvhlCJzeyLev2Ok9yyzK5x0EAwINKFGJ7/8oBWQtxWvENLpvz1DKUdKLSc jmaTjNFu3Eabnr1DNKcnKmFreeI5he40uAGx3xJAkoFgWMPAQAbv+UHjoP7hO+riiCBZ ayRJk1T0PuGDmlVo3yeC+OnX2EmqVX5Qk/GRtzg0UiccCVwex3rv1eT0MqX5SG4rJno4 Ekrg== MIME-Version: 1.0 X-Received: by 10.60.72.100 with SMTP id c4mr26276718oev.25.1401121761227; Mon, 26 May 2014 09:29:21 -0700 (PDT) Received: by 10.76.171.131 with HTTP; Mon, 26 May 2014 09:29:20 -0700 (PDT) In-Reply-To: <538360F7.3090707@mykitchentable.net> References: <538360F7.3090707@mykitchentable.net> Date: Mon, 26 May 2014 11:29:20 -0500 Message-ID: Subject: Re: Help Compiling apligen From: Antonio Olivares To: Drew Tomlinson Content-Type: text/plain; charset=UTF-8 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 16:29:22 -0000 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. > > Cheers, > > Drew > > -- > Like card tricks? > > Visit The Alchemist's Warehouse to > learn card magic secrets for free! > > http://alchemistswarehouse.com > > > _______________________________________________ > 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" Try running gmake. Then see if it compiles. Have you read the README? Best Regards, Antonio