All pastes #792394 Raw Edit

octave-make

public text v1 · immutable
·published 2007-11-21 10:44 UTC
rendered paste body
g++ -shared -o rand.oct pic/rand.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lumfpack -lamd  -lcolamd -lccolamd -lcxsparse -llapack -lblas  -lreadline  -lncurses -ldl -lhdf5 -lz -lm  -L/usr/lib/gcc/i386-redhat-linux/3.4.6 -L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. -lhdf5 -lz -lfrtbegin -lg2c -lm
g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 ./DLD-FUNCTIONS/regexp.cc -o pic/regexp.o
./DLD-FUNCTIONS/regexp.cc: In function `int octregexp_list(const octave_value_list&, const std::string&, bool, std::list<regexp_elem, std::allocator<regexp_elem> >&, string_vector&, int&)':
./DLD-FUNCTIONS/regexp.cc:372: error: `regex_t' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:372: error: expected `;' before "compiled"
./DLD-FUNCTIONS/regexp.cc:373: error: `compiled' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:373: error: `REG_EXTENDED' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:374: error: `REG_ICASE' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:374: error: `regcomp' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:377: error: `regerror' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:382: error: `regfree' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:382: warning: unused variable 'regfree'
./DLD-FUNCTIONS/regexp.cc:390: error: `regmatch_t' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:390: error: template argument 1 is invalid
./DLD-FUNCTIONS/regexp.cc:390: error: template argument 2 is invalid
./DLD-FUNCTIONS/regexp.cc:390: error: invalid type in declaration before '(' token
./DLD-FUNCTIONS/regexp.cc:390: error: `match' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:390: error: invalid types `int[int]' for array subscript
./DLD-FUNCTIONS/regexp.cc:397: error: `REG_NOTBOL' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:397: error: `regexec' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:397: warning: unused variable 'REG_NOTBOL'
./DLD-FUNCTIONS/regexp.cc:397: warning: unused variable 'regexec'
./DLD-FUNCTIONS/regexp.cc:435: error: `regfree' was not declared in this scope
./DLD-FUNCTIONS/regexp.cc:372: warning: unused variable 'regex_t'
./DLD-FUNCTIONS/regexp.cc:373: warning: unused variable 'REG_EXTENDED'
./DLD-FUNCTIONS/regexp.cc:374: warning: unused variable 'REG_ICASE'
./DLD-FUNCTIONS/regexp.cc:374: warning: unused variable 'regcomp'
./DLD-FUNCTIONS/regexp.cc:435: warning: unused variable 'regfree'
./DLD-FUNCTIONS/regexp.cc: At global scope:
./DLD-FUNCTIONS/regexp.cc:86: warning: unused parameter 'named'
make[2]: *** [pic/regexp.o] Error 1
make[2]: Leaving directory `/root/octave-2.9.17/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/root/octave-2.9.17'
make: *** [all] Error 2
You have new mail in /var/spool/mail/root
[root@mycentos octave-2.9.17]# make check