[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m file cache
From: |
Søren Hauberg |
Subject: |
Re: m file cache |
Date: |
Sat, 27 May 2006 19:47:19 +0200 |
lor, 27 05 2006 kl. 12:29 -0400, skrev John W. Eaton:
> On 27-May-2006, Soren Hauberg wrote:
>
> | lor, 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?
Yes, I have flex 2.5.31 and configure finds it, just fine.
> Did it generate a valid lex.cc file from lex.l?
No, lex.cc is an empty file. So I guess this is the problem.
>
> jwe
Soren
- RE: m file cache, (continued)
- RE: m file cache, Paul Billings, 2006/05/25
- RE: m file cache, John W. Eaton, 2006/05/26
- RE: m file cache, Søren Hauberg, 2006/05/27
- Re: m file cache, David Bateman, 2006/05/27
- Re: m file cache, John W. Eaton, 2006/05/27
- Re: m file cache, Søren Hauberg, 2006/05/27
- Re: m file cache, John W. Eaton, 2006/05/27
- Re: m file cache,
Søren Hauberg <=