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: John W. Eaton
Subject: trouble installing octave-forge-2006.01.28 and 3.17
Date: Wed, 19 Jul 2006 14:56:50 -0400

On 19-Jul-2006, address@hidden wrote:

| 
| 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

This looks like an installation problem, since the linker is failing
to find symbols in the library.  Are you sure the library is valid?

The syntax errors in the __imagemagick__.cc file can't be caused by
the library problem though, so there is some other problem.

| 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?

It's somewhat hard to tell given the information you provided.  What
kind of system is this?  How was Octave installed?  What commands did
you use to configure and build Octave Forge?

If you think you've found a bug in Octave or Octave Forge, please
submit a complete bug report.  Please read
http://www.octave.org/bugs.html to see what information you need to
provide to enable someone to help fix the problem.

jwe


reply via email to

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