help-octave
[Top][All Lists]
Advanced

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

trouble installing octave-forge-2006.01.28 and 3.17


From: tchanga
Subject: trouble installing octave-forge-2006.01.28 and 3.17
Date: Wed, 19 Jul 2006 17:24:22 +0800

I keep on getting the following error when compiling recent versions of
octave-forge:

octave-2.1.73/lib/octave-2.1.73/liboctinterp.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
make[2]: *** [jpgread.oct] Error 1

mkoctfile -Doctave_idx_type=int -DHAVE_OCTAVE_21 -v __imagemagick__.cc
-lMagick++ -lMagick
g++ -c -fPIC -I//tools/gnu/octave-2.1.73/include/octave-2.1.73
-I/tools/gnu/octave-2.1.73/include/octave-2.1.73/octave
-I/tools/gnu/octave-2.1.73/include -g -O2 -Doctave_idx_type=int
-DHAVE_OCTAVE_21 __imagemagick__.cc -o __imagemagick__.o
__imagemagick__.cc: In function `octave_value_list F__magick_read__(const
   octave_value_list&, int)':
__imagemagick__.cc:256: syntax error before `&' token
__imagemagick__.cc: At global scope:
__imagemagick__.cc:261: syntax error before `.' token
__imagemagick__.cc:265: `imvec' was not declared in this scope
__imagemagick__.cc:266: syntax error before `for'
__imagemagick__.cc:266: `frameidx' was not declared in this scope
__imagemagick__.cc:266: syntax error before `;' token
__imagemagick__.cc:266: syntax error before `++' token
__imagemagick__.cc:270: syntax error before `.' token
__imagemagick__.cc:275: `imvec' was not declared in this scope
__imagemagick__.cc:276: syntax error before `if'
__imagemagick__.cc:280: ISO C++ forbids declaration of `i' with no type
__imagemagick__.cc:281: syntax error before `while'
__imagemagick__.cc:282: ISO C++ forbids declaration of `depth' with no type
__imagemagick__.cc:284: syntax error before `switch'
__imagemagick__.cc:307: syntax error before `.' token

I think the bottom line is that I persistently get
octave-2.1.73/lib/octave-2.1.73/liboctinterp.a: could not read symbols: Bad
value

What's going on here?  I need to use imread.  Is there some older version
of octave-forge that has imread and doesn't have this compilation error?



reply via email to

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