Subject: Re: gcc -V causes ubuntu 14.04 compile failure?

Re: gcc -V causes ubuntu 14.04 compile failure?

From: Niels Larsen <niels_at_genomics.dk>
Date: Thu, 04 Dec 2014 21:06:17 +0100

Dan,

Many thanks, that did it, great great.
And Chris Hanson, yes, it had to do with that.

Niels L

-
> That doesn't seem to be the issue. The issue is
>
> > configure:3449: checking whether the C compiler works
> > configure:3471: gcc -arch x86_64 -arch x86_64 conftest.c >&5
> > gcc: error: x86_64: No such file or directory
> > gcc: error: x86_64: No such file or directory
> > gcc: error: unrecognized command line option '-arch'
> > gcc: error: unrecognized command line option '-arch'
> > configure:3475: $? = 1
> > configure:3513: result: no
>
> There is an unsupported option -arch being specified somewhere, and not once,
> but twice. It's likely to be in a CFLAGS environment variable. Try cleaning
> that variable and related ones (like CPPFLAGS, LDFLAGS, LIBS) and try again.
>

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-12-04