help-octave
[Top][All Lists]
Advanced

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

Re: Re: have headers & libs, but cannot configure/make


From: John W. Eaton
Subject: Re: Re: have headers & libs, but cannot configure/make
Date: Fri, 6 Jan 2017 09:55:44 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

On 01/05/2017 02:37 PM, Mike Miller wrote:
On Tue, Jan 03, 2017 at 17:42:46 -0800, Chris Roat wrote:
<elided>/gcc -std=gnu11 -o conftest --sysroot=<elided> -m64  -mcld -fopenmp
 -fopenmp -I<elided>/pcre -I<elided>/SuiteSparse_config --sysroot=<elided>
-m64  -mcld -fopenmp -lstdc++ conftest.c -lpcre -lm

<elided>: error: cannot find -lpcre
/tmp/cc0c03Xl.o:conftest.c:function main: error: undefined reference to
'pcre_compile'
collect2: error: ld returned 1 exit status
configure:30566: $? = 1

Ok, so it's only missing the appropriate -L option here. Octave's
configure currently does not have a PCRE_LDFLAGS variable, and it
probably should.

I added that when I made this change:

  http://hg.savannah.gnu.org/hgweb/octave/rev/8e9dd0d6e337

Does it work now for linking your pcre library?

jwe




reply via email to

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