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

[Pkg-octave-devel] Bug#519748: matwrap: single_axon example doesn't compile



Package: matwrap
Version: 0.57-11
Severity: normal

Following a private mail with a 'bug report'[1], I looked at matwrap's
single_axon example. It doesn't compile under Lenny.

======================================================================================
$ make octave
g++ -Wall -O6 -fPIC  -c hodgkin_huxley.cxx -o hodgkin_huxley.o
hodgkin_huxley.cxx:59: error: array bound is not an integer constant
hodgkin_huxley.cxx:60: error: array bound is not an integer constant
hodgkin_huxley.cxx:62: error: array bound is not an integer constant
hodgkin_huxley.cxx:63: error: array bound is not an integer constant
hodgkin_huxley.cxx:65: error: array bound is not an integer constant
hodgkin_huxley.cxx:66: error: array bound is not an integer constant
hodgkin_huxley.cxx: In member function ‘void Hodgkin_Huxley::advance(Float, Float)’:
hodgkin_huxley.cxx:119: error: ‘m_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:121: error: ‘cerr’ was not declared in this scope
hodgkin_huxley.cxx:133: error: ‘m_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:135: error: ‘m_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx:141: error: ‘h_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:143: error: ‘h_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx:149: error: ‘n_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:151: error: ‘n_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx: In member function ‘void Hodgkin_Huxley::initialize(Float)’:
hodgkin_huxley.cxx:166: error: ‘m_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:169: error: ‘m_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx:171: error: ‘h_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:172: error: ‘h_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx:174: error: ‘n_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:175: error: ‘n_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx:198: error: ‘m_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:200: error: ‘cerr’ was not declared in this scope
hodgkin_huxley.cxx:209: error: ‘m_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:211: error: ‘m_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx:214: error: ‘h_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:216: error: ‘h_alpha_plus_beta_table’ was not declared in this scope
hodgkin_huxley.cxx:219: error: ‘n_alpha_table’ was not declared in this scope
hodgkin_huxley.cxx:221: error: ‘n_alpha_plus_beta_table’ was not declared in this scope
make: *** [hodgkin_huxley.o] Fehler 1
======================================================================================

[1] No, I don't know why I was the receiver.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages matwrap depends on:
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 

matwrap recommends no packages.

matwrap suggests no packages.

-- no debconf information





Reply to: