Skip to content

Instantly share code, notes, and snippets.

@jeb2239
Created July 23, 2017 18:16
Show Gist options
  • Save jeb2239/e8249cffcda45c6fe89c5e2d0daec617 to your computer and use it in GitHub Desktop.
Save jeb2239/e8249cffcda45c6fe89c5e2d0daec617 to your computer and use it in GitHub Desktop.
barriosj@ThinkPad-W530 [02:13:51 PM] [~/hobbes/build] [hc *]
-> % gcc ./../out.s -L../lib/hobbes/ -lhobbes
/tmp/cc7Ux2hL.o: In function `bvPrintT':
out.ll:(.text+0x8ee): undefined reference to `putStr'
/tmp/cc7Ux2hL.o: In function `runLongDFA':
out.ll:(.text+0xccc): undefined reference to `.failvarmatch'
/tmp/cc7Ux2hL.o: In function `.show.t7179':
out.ll:(.text+0xd53): undefined reference to `floatFormatConfig'
/tmp/cc7Ux2hL.o: In function `.show.t7186':
out.ll:(.text+0xd73): undefined reference to `floatFormatConfig'
/tmp/cc7Ux2hL.o: In function `.show.t7193':
out.ll:(.text+0x1076): undefined reference to `showByteV'
/tmp/cc7Ux2hL.o: In function `.print.t7507':
out.ll:(.text+0x11bc): undefined reference to `putStr'
out.ll:(.text+0x11c4): undefined reference to `putStr'
/tmp/cc7Ux2hL.o: In function `putStrLn':
out.ll:(.text+0x1222): undefined reference to `putStr'
/tmp/cc7Ux2hL.o: In function `printTableRows':
out.ll:(.text+0x1e41): undefined reference to `putStr'
out.ll:(.text+0x1e54): undefined reference to `putStr'
/tmp/cc7Ux2hL.o:out.ll:(.text+0x1e85): more undefined references to `putStr' follow
/tmp/cc7Ux2hL.o: In function `.rfn.t13097':
out.ll:(.text+0x2242): undefined reference to `showInt'
out.ll:(.text+0x224a): undefined reference to `putStr'
/tmp/cc7Ux2hL.o: In function `.show.t7179':
out.ll:(.text+0xd5d): undefined reference to `showFloat'
/tmp/cc7Ux2hL.o: In function `.show.t7186':
out.ll:(.text+0xd7e): undefined reference to `showDouble'
/tmp/cc7Ux2hL.o: In function `.print.t7499':
out.ll:(.text+0x11ab): undefined reference to `putStr'
/tmp/cc7Ux2hL.o: In function `.print.t7507':
out.ll:(.text+0x11d1): undefined reference to `putStr'
/tmp/cc7Ux2hL.o: In function `putStrLn':
out.ll:(.text+0x122f): undefined reference to `putStr'
collect2: error: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment