Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Build error on OS X 10.9.2 (unknown argument: '-multiply_definedsuppress') #302

Open
maciejtrybilo opened this issue Mar 14, 2014 · 5 comments

Comments

@maciejtrybilo
Copy link

When installing the gem the build fails with:

linking shared-object gherkin_lexer_ar.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [gherkin_lexer_ar.bundle] Error 1
@WooD1k
Copy link

WooD1k commented Mar 15, 2014

Experiencing same issue

@maciejtrybilo
Copy link
Author

Ok, this in fact can be solved by rebuilding ruby on your machine. Gems pick up the build settings from the ruby build and some unused flags can trickle through. See davidfstr/rdiscount#115

@johnnonolan
Copy link

Yep I've just encountered this.

@JashaadGaines
Copy link

I experienced the same issue when upgrading to Xcode 5.1 ( iOS 7.1 ). We ended up downgrading back to iOS 7.0 to get the functional tests running again. Hope this is fixed soon so that we can start using iOS 7.1.

@ghost
Copy link

ghost commented Apr 9, 2014

I had the same issue...

You can resolve it by downgrading the level from error to warning using this command :

$ sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install gherkin

(see there for details : http://bruteforce.gr/bypassing-clang-error-unknown-argument.html)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants