Skip to content

Instantly share code, notes, and snippets.

@lighth7015
Created March 29, 2019 20:17
Show Gist options
  • Select an option

  • Save lighth7015/d3e695bc73e6adb30b4f7fe00fb04543 to your computer and use it in GitHub Desktop.

Select an option

Save lighth7015/d3e695bc73e6adb30b4f7fe00fb04543 to your computer and use it in GitHub Desktop.
stdin
/usr/bin/ld.bfd: /tmp/main-12cd4f.o: in function `main':
main.c:(.text+0x20): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/bin/ld.bfd: ../lib/libdos.a(doscrt0.o): in function `argstart':
doscrt0.c:(.text+0x1b): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/bin/ld.bfd: ../lib/libdos.a(conio.o): in function `_getcinfo':
conio.c:(.text+0xf): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/bin/ld.bfd: ../lib/libdos.a(conio.o): in function `setpage':
conio.c:(.text+0x56): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/bin/ld.bfd: ../lib/libdos.a(conio.o): in function `getpage':
conio.c:(.text+0xa6): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/bin/ld.bfd: ../lib/libdos.a(conio.o):conio.c:(.text+0xbf): more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment