Menu

#332 configure fails: syntax error near unexpected token `-Wl,--as-needed'

closed
nobody
None
5
2020-08-07
2020-08-07
No

How to reproduce:

git clone https://git.code.sf.net/p/sox/code sox-code
cd sox-code
autoreconf -i
./configure

./configure: line 4368: syntax error near unexpected token `-Wl,--as-needed'
./configure: line 4368: `AX_APPEND_LINK_FLAGS(-Wl,--as-needed)'

SoX version:

git log -1
commit 4dd0666438f6dc7fc0cd2d4f77b39e4155892cff (HEAD -> master, origin/master, origin/HEAD)
Author: Mans Rullgard <mans@mansr.com>
Date:   Wed Aug 5 16:03:50 2020 +0100

    sox: exit with non-zero status on error [bug #212]

Tested under OS: Fedora 32 (64-bit)

Discussion

  • Mans Rullgard

    Mans Rullgard - 2020-08-07

    You need to install the autoconf-archive: https://www.gnu.org/software/autoconf-archive/
    Yes, autoconf is really poor at diagnosing such problems.

     
  • Wolfgang Stöggl

    Thanks for the quick answer.
    After installing autoconf-archive, configure was OK.

     
  • Mans Rullgard

    Mans Rullgard - 2020-08-07
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB