On OS X:

    % make test_prog
    perl make_op_header.pl opcode_table > include/parrot/op.h
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o test_main.o -c \
        test_main.c
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o global_setup.o \
        -c global_setup.c
    perl build_interp_starter.pl
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o \
        interpreter.o -c interpreter.c
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o parrot.o -c \
        parrot.c
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o register.o -c \
        register.c
    perl process_opfunc.pl basic_opcodes.ops
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o basic_opcodes.o \
        -c basic_opcodes.c
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o memory.o -c \
        memory.c
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o bytecode.o -c \
        bytecode.c
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o string.o -c \
        string.c
    cc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE \
        -fno-strict-aliasing -I.. -I./include -g -o strnative.o -c \
        strnative.ccc -lm -lc   -o test_prog global_setup.o \
        interpreter.o parrot.o register.o basic_opcodes.o memory.o \
        bytecode.o string.o strnative.o test_main.o
    /usr/bin/ld: Undefined symbols:
    _BUILD_ARG_TABLE
    _BUILD_NAME_TABLE
    make: *** [test_prog] Error 1

Reply via email to