help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.4.2 Build error under CentOS 5.4 x86_64


From: puppy 06
Subject: Re: Octave 3.4.2 Build error under CentOS 5.4 x86_64
Date: Wed, 27 Jul 2011 09:16:21 +0800

Dear Jordi,

Thanks for your reply.  I have tried to disable FLTK to move on the build and then meet the following errors.

 libtool: compile:  g++44 -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -g -O2 -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -g -O2 -MT DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo -MD -MP -MF DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_urlwrite_la-urlwrite.Tpo -c DLD-FUNCTIONS/urlwrite.cc  -fPIC -DPIC -o DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_urlwrite_la-urlwrite.o
DLD-FUNCTIONS/urlwrite.cc: In member function 'string_vector curl_handle::list() const':
DLD-FUNCTIONS/urlwrite.cc:405: error: 'CURLOPT_DIRLISTONLY' was not declared in this scope
DLD-FUNCTIONS/urlwrite.cc:412: error: 'CURLOPT_DIRLISTONLY' was not declared in this scope
make[3]: *** [DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo] Error 1

Would you give some suggestions?

Thanks again.

Regards,
Xiaoshuo

2011/7/26 Jordi Gutiérrez Hermoso <address@hidden>
On 25 July 2011 23:39, puppy 06 <address@hidden> wrote:

> /usr/bin/ld: /usr/local/lib/libfltk.a(Fl.o): relocation R_X86_64_32 against
> `a local symbol' can not be used when making a shared object; recompile with
> -fPIC
> /usr/local/lib/libfltk.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [DLD-FUNCTIONS/__fltk_uigetfile__.la] Error 1
> BTW, my FLTK is 1.3.0 built from source.

Did you build a shared version of libfltk? If so, ld can't find it.
You either have to build a shared library of libfltk or put the one
you have next to the static library so that ld can find it.

HTH,
- Jordi G. H.


reply via email to

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