liuzhengyang / hsdis

hotspot disassembler hsdis
139 stars 53 forks source link

error occured when execute "make BINUTILS=binutils-2.26 ARCH=amd64" #1

Open sustbeckham opened 6 years ago

sustbeckham commented 6 years ago

gcc -o build/macosx-i586/hsdis-i386.dylib -I/Users/mozilla/Desktop/work/opensource/hsdis/hsdis/binutils-2.26/include -I/Users/mozilla/Desktop/work/opensource/hsdis/hsdis/binutils-2.26/bfd -Ibuild/macosx-i586/bfd -DLIBARCH_i386 -DLIBARCH=\"i386\" -DLIB_EXT=\".dylib\" -m32 -fPIC -O hsdis.c -shared -lz build/macosx-i586/bfd/libbfd.a build/macosx-i586/opcodes/libopcodes.a build/macosx-i586/libiberty/libiberty.a hsdis.c:137:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ hsdis.c:207:11: warning: enumeration value 'dis_noninsn' not handled in switch [-Wswitch] switch (itype) { ^ hsdis.c:207:11: note: add missing switch cases switch (itype) { ^ 2 warnings generated.

How do I for this ? Thansk.

stefan-reich commented 4 years ago

Looks like they're only warnings. Have you tried to just proceed?