[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: signal 1.4.0 package update fails
From: |
Montgomery-Smith, Stephen |
Subject: |
RE: signal 1.4.0 package update fails |
Date: |
Mon, 7 May 2018 19:10:47 +0000 |
FYI: with FreeBSD I get the following error:
/usr/local/bin/mkoctfile -Wno-deprecated-declarations medfilt1.cc -o
medfilt1.oct
medfilt1.cc:40:27: error: redefinition of 'truncate'
enum pad_type { zero_pad, truncate };
^
/usr/include/sys/types.h:385:6: note: previous definition is here
int truncate(const char *, off_t);
^
medfilt1.cc:326:19: error: assigning to 'pad_type' from incompatible type 'int
(const char *, off_t)' (aka 'int (const char *, long)')
padding = truncate;
^~~~~~~~
I was able to fix it by renaming truncate to truncate2 (or I could have called
it do_truncate).
________________________________________
From: Octave-maintainers address@hidden on behalf of Nicholas Jankowski
address@hidden
Sent: Monday, May 7, 2018 1:58 PM
To: octave-maintainers
Subject: signal 1.4.0 package update fails
trying to update or install signal on new octave install (windows zip-package):
>> pkg install -forge signal
medfilt1.cc: In member function 'void sorted_window::init(const double*,
octave_idx_type, octave_
idx_type, octave_idx_type)':
medfilt1.cc:91:7: error: 'bzero' was not declared in this scope
bzero (buf, zeros * sizeof (double));
^~~~~
medfilt1.cc:91:7: note: suggested alternative: 'zeros'
bzero (buf, zeros * sizeof (double));
^~~~~
zeros
make: *** [medfilt1.oct] Error 1
make: Entering directory `/tmp/oct-nmhkqO/signal-1.4.0/src'
C:/Octave/OCTAVE~1.0-W/bin/mkoctfile-4.4.0.exe -Wall
-Wno-deprecated-declarations __fwht__.cc -o
__fwht__.oct
C:/Octave/OCTAVE~1.0-W/bin/mkoctfile-4.4.0.exe -Wall
-Wno-deprecated-declarations __ultrwin__.cc
-o __ultrwin__.oct
C:/Octave/OCTAVE~1.0-W/bin/mkoctfile-4.4.0.exe -Wall
-Wno-deprecated-declarations -c cl2bp.cc -o
cl2bp.o
C:/Octave/OCTAVE~1.0-W/bin/mkoctfile-4.4.0.exe -Wall
-Wno-deprecated-declarations -c cl2bp_lib.c
c -o cl2bp_lib.o
C:/Octave/OCTAVE~1.0-W/bin/mkoctfile-4.4.0.exe -Wall
-Wno-deprecated-declarations cl2bp.o cl2bp_
lib.o -o cl2bp.oct
C:/Octave/OCTAVE~1.0-W/bin/mkoctfile-4.4.0.exe -Wall
-Wno-deprecated-declarations medfilt1.cc -o
medfilt1.oct
make: Leaving directory `/tmp/oct-nmhkqO/signal-1.4.0/src'
pkg: error running `make' for the signal package.
error: called from
configure_make at line 95 column 9
install at line 184 column 7
pkg at line 437 column 9