octave-maintainers
[Top][All Lists]
Advanced

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

RE: Compilation problems


From: Robinson, Melvin D
Subject: RE: Compilation problems
Date: Fri, 16 Dec 2011 10:13:52 +0000

This seemed to fix it up, and I got substantially further into the compilation, 
but now it has errored out on the libGraphicsMagick++ libraries:

/usr/bin/ld: /usr/local/lib/libGraphicsMagick++.a(CoderInfo.o): relocation 
R_X86_64_32 against `.rodata' can not be used when making a shared object; 
recompile with -fPIC
/usr/local/lib/libGraphicsMagick++.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [DLD-FUNCTIONS/__magick_read__.la] Error 1
make[3]: Leaving directory `/home/melrobin/octave/current_octave/octave/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/melrobin/octave/current_octave/octave/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/melrobin/octave/current_octave/octave'
make: *** [all] Error 2

These libraries do work for the snapshot.

________________________________________
From: address@hidden address@hidden on behalf of marco atzeri address@hidden
Sent: Friday, December 16, 2011 3:02 AM
To: address@hidden
Subject: Re: Compilation problems

On 12/16/2011 8:43 AM, Robinson, Melvin D wrote:
> I grabbed the Mercurial sources and attempted a build, but it errored
> out with the following message:
>
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT
> cloexec.lo -MD -MP -MF .deps/cloexec.Tpo -c cloexec.c -fPIC -DPIC -o
> .libs/cloexec.o
> In file included from cloexec.c:28:0:
> ./unistd.h:122:6: error: operator '&&' has no left operand
> make[4]: *** [cloexec.lo] Error 1
> make[4]: Leaving directory
> `/home/melrobin/octave/current_octave/octave/libgnu'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/melrobin/octave/current_octave/octave/libgnu'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/melrobin/octave/current_octave/octave/libgnu'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/melrobin/octave/current_octave/octave'
> make: *** [all] Error 2
>
> I was able to download and build the 3.5.90 snapshot on the same system
> (Fedora 16). Any idea of what could be causing this error. I am using
> gcc 4.6.2
>

have you run autogen.sh on source tree ?

Regards
Marco


reply via email to

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