octave-maintainers
[Top][All Lists]
Advanced

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

Re: m file cache


From: John W. Eaton
Subject: Re: m file cache
Date: Sat, 27 May 2006 12:29:13 -0400

On 27-May-2006, Søren Hauberg wrote:

| lør, 27 05 2006 kl. 14:45 +0200, skrev David Bateman:
| > Seems to be a bug. Removing the inlude of fn-cache.h from help.cc and
| > the compile proceeds correctly. I ran "make check" and it appears to run
| > correctly, so as a quick test things seem fine..
| Thanks! I really should have thought of that my self, sorry.
| Things compile now, but they don't link:
| 
| g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc
| -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2
| -rdynamic \
|         -L..  -fPIC  -o octave \
|         main.o  \
|         -L../liboctave -L../libcruft -L../src -Wl,-rpath
| -Wl,/home/sh/Programmer/lib/octave-2.9.5+ \
|         -loctinterp -loctave  -lcruft    \
|          -lumfpack -lamd  \
|            -llapack -lblas \
|         -lfftw3 -lreadline  -lncurses -ldl -lhdf5 -lz -lm
| -L/usr/lib/gcc/i486-linux-gnu/3.4.6
| -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib
| -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib
| -L/usr/lib/../lib -lhdf5 -lz -lfrtbegin -lg2c -lm -lgcc_s
| ../src/liboctinterp.so: undefined reference to
| `switch_to_buffer(yy_buffer_state*)'
| ../src/liboctinterp.so: undefined reference to `lexer_flags'
| ../src/liboctinterp.so: undefined reference to
| `is_keyword(std::basic_string<char, std::char_traits<char>,
| std::allocator<char> > const&)'
| ../src/liboctinterp.so: undefined reference to `octave_lex()'
| ../src/liboctinterp.so: undefined reference to `reset_parser()'
| ../src/liboctinterp.so: undefined reference to
| `delete_input_buffer(void*)'
| ../src/liboctinterp.so: undefined reference to `parser_end_of_input'
| ../src/liboctinterp.so: undefined reference to `current_buffer()'
| ../src/liboctinterp.so: undefined reference to
| `create_buffer(_IO_FILE*)'
| ../src/liboctinterp.so: undefined reference to
| `restore_input_buffer(void*)'
| collect2: ld returnerede afslutningskoden 1

These are all symbols defined in lex.cc, which is generated from
lex.l.  Do you have flex installed?  Did it generate a valid lex.cc
file from lex.l?

jwe



reply via email to

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