This is a fully up to date 10.11 machine (Xcode 7.3.1). Seems like the 
configure is getting confused and using a gcc linker option instead of a clang 
one:

$ brew install --HEAD --with-libserialport sigrok-cli
==> Installing sigrok-cli from rene-dev/sigrok
==> Cloning git://sigrok.org/sigrok-cli
Cloning into '/Library/Caches/Homebrew/sigrok-cli--git'...
remote: Counting objects: 1564, done.
remote: Compressing objects: 100% (1220/1220), done.
remote: Total 1564 (delta 1042), reused 512 (delta 333)
Receiving objects: 100% (1564/1564), 294.92 KiB | 411.00 KiB/s, done.
Resolving deltas: 100% (1042/1042), done.
Checking connectivity... done.
==> Checking out branch master
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/sigrok-cli/HEAD
==> make install
Last 15 lines from /Users/jrb/Library/Logs/Homebrew/sigrok-cli/03.make:
install

  CC       main.o
  CC       show.o
  CC       device.o
  CC       session.o
  CC       input.o
  CC       decode.o
  CC       parsers.o
  CC       anykey.o
  CC       options.o
  CCLD     sigrok-cli
ld: unknown option: --whole-archive
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sigrok-cli] Error 1

I’ll see if I can switch to compiling from git by hand and see if I can figure 
out what is getting that wrong.

- James

The equivalent clang option would be -force_load 
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to