www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

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

Re: gcc -V causes ubuntu 14.04 compile failure?

From: Chris Hanson <cmhanson_at_eschatologist.net>
Date: Thu, 4 Dec 2014 12:01:20 -0800

On Dec 4, 2014, at 11:54 AM, Dan Fandrich <dan_at_coneharvesters.com> wrote:

> 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.

Passing “-arch x86_64” to the compiler is how you’d target 64-bit Intel on OS X and iOS, so perhaps there’s something making your build think it’s on a Darwin platform.

  -- Chris

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

the libssh2 team