gcc error: wrong ELF class: ELFCLASS64

后端 未结 5 1651
轻奢々
轻奢々 2020-12-17 08:51

I was trying to compile a program using an external compiled object coreset.o. I wrote the public01.c test file and my functions are in computation.c, both of which compile

5条回答
  •  攒了一身酷
    2020-12-17 09:08

    It turns out the compiler version I was using did not match the compiled version done with the coreset.o.

    One was 32bit the other was 64bit. I'll leave this up in case anyone else runs into a similar problem.

提交回复
热议问题