编译 Parrot SVN 出错

编译打包和其他
回复
tusooa
帖子: 6548
注册时间: 2008-10-31 22:12
系统: 践兔
联系:

编译 Parrot SVN 出错

#1

帖子 tusooa » 2010-02-19 23:10

代码: 全选

[tlcr: 0] [19/02/2010 21:46:36] [tusooa@tusooa-laptop] [~/个人/下载/Git/Perl6/parrot]
>> make
Compiling with:
xx.c           
cc -I./include -I./include/pmc -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -falign-functions=16 -fvisibility=hidden -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT -g -DHAVE_COMPUTED_GOTO -fPIC -I. -o xx.o -c xx.c
/usr/bin/perl tools/build/parrot_config_c.pl > \
    src/parrot_config.c
'runtime/parrot/include/config.fpmc' is truncated. Remove it and rerun make
make: *** [src/parrot_config.c] 错误 255
[tlcr: 2] [19/02/2010 22:40:39] [tusooa@tusooa-laptop] [~/个人/下载/Git/Perl6/parrot]
>> rm runtime/parrot/include/config.fpmc
[tlcr: 0] [19/02/2010 22:40:47] [tusooa@tusooa-laptop] [~/个人/下载/Git/Perl6/parrot]
>> make
Compiling with:
xx.c
cc -I./include -I./include/pmc -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -falign-functions=16 -fvisibility=hidden -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT -g -DHAVE_COMPUTED_GOTO -fPIC -I. -o xx.o -c xx.c
./miniparrot config_lib.pasm > runtime/parrot/include/config.fpmc
Malformed string
make: *** [runtime/parrot/include/config.fpmc] 错误 1
[tlcr: 2] [19/02/2010 22:40:49] [tusooa@tusooa-laptop] [~/个人/下载/Git/Perl6/parrot]
>> grep -A4 runtime/parrot/include/config.fpmc Makefile
    runtime/parrot/include/config.fpmc \
    $(LIBRARY_DIR)/config.pir \
    src/platform.c \
    src/core_pmcs.c \
    src/dynpmc/md2.pmc \
--
    runtime/parrot/include/config.fpmc \
    $(LIBNCI_TEST_SO) \
    $(GEN_LIBRARY) \
    dynpmc \
    dynoplibs
--
runtime/parrot/include/config.fpmc : myconfig config_lib.pasm $(MINIPARROT)
        $(MINIPARROT) config_lib.pasm > $@

$(PARROT) : src/main$(O) $(GEN_HEADERS) $(LIBPARROT) CFLAGS \
    lib/Parrot/OpLib/core.pm src/parrot_config$(O) \
--
src/parrot_config.c :  runtime/parrot/include/config.fpmc \
    $(BUILD_TOOLS_DIR)/parrot_config_c.pl
        $(PERL) $(BUILD_TOOLS_DIR)/parrot_config_c.pl > \
    src/parrot_config.c

[tlcr: 0]
怎么搞? thanks

代码: 全选

] ls -ld //
回复