Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 11:29:20 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Help Compiling apligen
Message-ID:  <CAJ5UdcO913p9tjz8WKjH7W4AHfvgND5pLn1kcgOpVvRpS8Bbfg@mail.gmail.com>
In-Reply-To: <538360F7.3090707@mykitchentable.net>
References:  <538360F7.3090707@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Drew,

On Mon, May 26, 2014 at 10:42 AM, Drew Tomlinson
<drew@mykitchentable.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcO913p9tjz8WKjH7W4AHfvgND5pLn1kcgOpVvRpS8Bbfg>