bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] gcc: error: unrecognized command line option '-R'


From: Jeffrey Walton
Subject: Re: [Bug-wget] gcc: error: unrecognized command line option '-R'
Date: Sat, 19 May 2018 17:44:13 -0400

On Sat, May 19, 2018 at 5:21 PM, Tim Rühsen <address@hidden> wrote:
> On 19.05.2018 20:53, Jeffrey Walton wrote:
>> On Sat, May 19, 2018 at 12:27 PM, Tim Rühsen <address@hidden> wrote:
>> ...
>> make[4]: Entering directory '/home/Build-Scripts/wget-1.19.5/src'
>> make[4]: Leaving directory '/home/jwalton/Build-Scripts/wget-1.19.5/src'
>> gcc   -Wno-unused-parameter -Wno-pedantic -I/usr/local/include
>> -I/usr/local/include  -I/usr/local/include  -DNDEBUG -g2 -O2 -m64
>> -march=native -fPIC  -L/usr/local/lib64 -m64 -Wl,-R,/usr/local/lib64
>> -Wl,--enable-new-dtags -o wget_css_fuzzer wget_css_fuzzer.o main.o
>> ../src/libunittest.a ../lib/libgnu.a   -L/usr/local/lib64 -liconv
>> -R/usr/local/lib64  -lpthread   -ldl  -L/usr/local/lib64 -lpcre
>> -lidn2 /usr/local/lib64/libssl.so /usr/local/lib64/libcrypto.so
>> -Wl,-rpath -Wl,/usr/local/lib64 -ldl -L/usr/local/lib64 -lz
>> -L/usr/local/lib64 -lpsl  -ldl -lpthread
>> gcc: error: unrecognized command line option '-R'
>> make[3]: *** [Makefile:1757: wget_css_fuzzer] Error 1
>>
>> Some of the command above looks a little unusual. For example:
>>
>>     -Wl,-rpath -Wl,/usr/local/lib64
>>
>> Here are the variables I configure with:
>>
>>     PKGCONFIG: /usr/local/lib64/pkgconfig
>>      CPPFLAGS: -I/usr/local/include -DNDEBUG
>>        CFLAGS: -g2 -O2 -m64 -march=native -fPIC
>>      CXXFLAGS: -g2 -O2 -m64 -march=native -fPIC
>>       LDFLAGS: -L/usr/local/lib64 -m64 -Wl,-R,/usr/local/lib64
>> -Wl,--enable-new-dtags
>>        LDLIBS: -ldl -lpthread
>>
>
> Could you please change $(LTLIBICONV) to $(LIBICONV) in
> fuzz/Makefile.am, then autoreconf -fi and ./configure, ...
>
> I think it's that wrong variable used there.

Yes, that was it. Thanks.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]