Package Miscellaneous error installation on "x86_64-suse-linux-gnu".

Jaroslav Hajek highegg at gmail.com
Mon Dec 29 03:32:56 CST 2008


On Mon, Dec 29, 2008 at 9:17 AM, Zx♥ch.m <zxoch.m at gmail.com> wrote:
> Hi everyone,
>
> I'm having problems when I tried to install missellaneous package:
>
> GNU Octave, version 3.0.3 was configured for "x86_64-suse-linux-gnu".
>
> octave:1> pkg install miscellaneous-1.0.7.tar.gz
> listen.cc: In function 'void daemonize()':
> listen.cc:140: warning: ignoring return value of 'FILE* freopen(const
> char*, const char*, FILE*)', declared with attribute
> warn_unused_result
> listen.cc:141: warning: ignoring return value of 'FILE* freopen(const
> char*, const char*, FILE*)', declared with attribute
> warn_unused_result
> listen.cc:142: warning: ignoring return value of 'FILE* freopen(const
> char*, const char*, FILE*)', declared with attribute
> warn_unused_result
> listen.cc: In function 'void channel_error(int, const char*)':
> listen.cc:170: warning: ignoring return value of 'ssize_t write(int,
> const void*, size_t)', declared with attribute warn_unused_result
> listen.cc:171: warning: ignoring return value of 'ssize_t write(int,
> const void*, size_t)', declared with attribute warn_unused_result
> listen.cc:172: warning: ignoring return value of 'ssize_t write(int,
> const void*, size_t)', declared with attribute warn_unused_result
> stringmatch.c: In function 'StringCaseMatch':
> stringmatch.c:121: warning: implicit declaration of function 'tolower'
> stringmatch.c:86: warning: unused variable 'pstart'
> stringmatch.c:85: warning: unused variable 'charLen'
> xmltree_read.l: In function 'xml_lex':
> xmltree_read.l:407: warning: operation on 'pcdata' may be undefined
> xmltree_read.l:492: warning: operation on 'pcdata' may be undefined
> xmltree_read.l:627: warning: operation on 'pcdata' may be undefined
> xmltree_read.l:673: warning: operation on 'pcdata' may be undefined
> xmltree_read.l:726: warning: operation on 'pcdata' may be undefined
> xmltree_read.l:818: warning: ignoring return value of 'fwrite',
> declared with attribute warn_unused_result
> xmltree_read.act: At top level:
> xmltree_read.l:151: warning: 'bufferliteral' defined but not used
> xmltree_read.l:1223: warning: 'input' defined but not used
>
>
> octave:2> pkg install optim-1.0.4.tar.gz
> __bfgsmin.cc: In function 'ColumnVector lbfgs_recursion(int, Matrix,
> Matrix, ColumnVector)':
> __bfgsmin.cc:141: warning: unused variable 'k'
> __bfgsmin.cc:142: warning: unused variable 'n'
> __bfgsmin.cc:143: warning: unused variable 'i'
> __bfgsmin.cc:143: warning: unused variable 'j'
> __bfgsmin.cc: In function 'int __bisectionstep(double&, double&,
> std::string, octave_value_list, ColumnVector, ColumnVector, int,
> int)':
> __bfgsmin.cc:161: warning: unused variable 'found_improvement'
> __bfgsmin.cc: In function 'int __numgradient(ColumnVector&,
> std::string, octave_value_list, int)':
> __bfgsmin.cc:57: warning: 'success' may be used uninitialized in this function
> __bfgsmin.cc: In function 'octave_value_list F__bfgsmin(const
> octave_value_list&, int)':
> __bfgsmin.cc:258: warning: 'conv_grad' may be used uninitialized in
> this function
> __bfgsmin.cc:258: warning: 'conv_param' may be used uninitialized in
> this function
> __bfgsmin.cc:258: warning: 'conv_fun' may be used uninitialized in this function
> samin.cc: In function 'octave_value_list Fsamin(const octave_value_list&, int)':
> samin.cc:442: warning: format '%f' expects type 'double', but argument
> 2 has type 'int'
> samin.cc:442: warning: ' ' flag used with '%o' printf format
> samin.cc:442: warning: too few arguments for format
> samin.cc:254: warning: unused variable 'pp'
> samin.cc:471: warning: control reaches end of non-void function
> octave:3>
>
>
> Regards, Miguel.
> _______________________________________________
> Bug-octave mailing list
> Bug-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave
>

Warnings are not errors. By default, Octave/mkoctfile is configured to
compile with maximum of warnings enabled; not always they indicate an
error.
Does the package work for you or not?

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



More information about the Bug-octave mailing list