octave-maintainers
[Top][All Lists]
Advanced

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

Re: Compilation problems


From: marco atzeri
Subject: Re: Compilation problems
Date: Fri, 16 Dec 2011 10:02:26 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

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]