求助,本地编译通过,洛咕蜜汁CE
查看原帖
求助,本地编译通过,洛咕蜜汁CE
220838
yql123456SN弱校小菜鸡楼主2020/7/5 18:10

RT

返回如下


            No valid executable file was produced by the compiler

/tmp/tmp27gz_1ly/src: 在函数‘long long int read()’中:

/tmp/tmp27gz_1ly/src:127:9: 警告:this ‘if’ clause does not guard... [-Wmisleading-indentation]

         if(ch == '-')

         ^~

/tmp/tmp27gz_1ly/src:129:13: 附注:...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’

             ch = getchar();

             ^~

/usr/bin/ld: ./cc8NntKc.o: in function `main':

src:(.text.startup+0x2d): relocation truncated to fit: R_X86_64_PC32 against symbol `Aa' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x39): relocation truncated to fit: R_X86_64_PC32 against symbol `Bb' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x45): relocation truncated to fit: R_X86_64_PC32 against symbol `Cc' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x58): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x26b): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x2a0): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x2d7): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x2de): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x393): relocation truncated to fit: R_X86_64_PC32 against symbol `Cc' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x39f): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x3a6):  从输出所省略的额外重寻址溢出

collect2: 错误:ld 返回 1
2020/7/5 18:10
加载中...