help-octave
[Top][All Lists]
Advanced

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

Compilation problems


From: Recif
Subject: Compilation problems
Date: Wed, 21 Nov 2007 03:33:47 -0800 (PST)

Hi,
 I am trying to compile octave on a linux system using gcc 3.4.6
I ran make configure,and then make, but I get an error while compiling
regexp.cc 
I checked the archives but did not see any references to this problem.
Any help fixing it will be appreciated.
Recif


g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H -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 `/home/recif/octave-2.9.17/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/recif/octave-2.9.17'
make: *** [all] Error 2

-- 
View this message in context: 
http://www.nabble.com/Compilation-problems-tf4849574.html#a13875518
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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