Leo --

After doing a make realclean:

$ find . -type f -exec grep -l 'end_jit' {} ';'
./include/parrot/jit_emit.h
./jit/i386/jit_emit.h
./t/src/basic_2
./t/src/intlist_1
./t/src/exit_1
./t/src/intlist_2
./t/src/exit_2
./t/src/intlist_3
./t/src/intlist_4
./t/src/list_1
./t/src/sprintf_1
./t/src/sprintf_2
./t/src/list_2
./libparrot.a

In include/parrot/jit_emit.h and jit/i386/jit_emit.h:

  static void Parrot_end_jit(Parrot_jit_info_t *, \
    struct Parrot_Interp *);

So, here I only have two instances of prototypes for
this function, and no implementations. The lack of
implementation is causing the compile failure. And,
the existence of the prototype in two places seems
like a bad idea...

Which file do you think has the implementation of
this function?


Regards,

-- Gregor


On Wed, 2003-07-02 at 11:48, Leopold Toetsch wrote:
> Gregor N. Purdy <[EMAIL PROTECTED]> wrote:
> > Here's the failure stuff from the build process:
> 
> > gcc -o parrot -L/usr/local/lib   test_main.o blib/lib/libparrot.a -lnsl
> > -ldl -lm -lpthread -lcrypt -lutil
> > blib/lib/libparrot.a(jit_cpu.o)(.text+0x2ce0): In function
> > `Parrot_jit_restart_op':
> >: undefined reference to `Parrot_end_jit'
> 
> Strange. Parrot_end_jit is the first opcode function in the file.
> 
> leo
-- 
Gregor Purdy                            [EMAIL PROTECTED]
Focus Research, Inc.               http://www.focusresearch.com/

Reply via email to