_rotr implementation / import for Mac OS?
BlitzMax Forums/BlitzMax Programming/_rotr implementation / import for Mac OS?
| ||
I am trying to get this code archive to build - HC256 encryption: http://blitzmax.com/codearcs/codearcs.php?code=2292 When I built it (OS 10.6), however, I get this error: Building baGrabbar Compiling:ini.bmx Compiling:md5.bmx Compiling:hc256.bmx Compiling:parseparams.bmx Compiling:baGrabbar.bmx Linking:baGrabbar.debug Undefined symbols: "__rotr", referenced from: __bb_THcContext__f1 in hc256.bmx.debug.macos.x86.o __bb_THcContext__f1 in hc256.bmx.debug.macos.x86.o __bb_THcContext__f1 in hc256.bmx.debug.macos.x86.o __bb_THcContext__f2 in hc256.bmx.debug.macos.x86.o __bb_THcContext__f2 in hc256.bmx.debug.macos.x86.o __bb_THcContext__f2 in hc256.bmx.debug.macos.x86.o _522 in hc256.bmx.debug.macos.x86.o _522 in hc256.bmx.debug.macos.x86.o _530 in hc256.bmx.debug.macos.x86.o _530 in hc256.bmx.debug.macos.x86.o ld: symbol(s) not found collect2: ld returned 1 exit status Build Error: Failed to link /Users/isaac/Documents/Projects/BlitzMax/baGrabbar/baGrabbar.debug.app/Contents/MacOS/baGrabbar.debug Process complete Can anyone provide a corrected import or a BM implementation for rotr? The import in the include is: Extern "C" Function Ror:Int(i:Int, n:Int) = "_rotr" End Extern |