Git Product home page Git Product logo

tolua_runtime's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tolua_runtime's Issues

tolua_runtime中添加第三方库问题

  1. Mac平台下tolua_runtime中添加snapshot.c第三方库,重新编译了,在build中有对应的.o文件

  2. 把生成的tolua.bundle放到Plugins中

  3. 在LuaDLL.cs中添加
    [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
    public static extern int luaopen_snapshot(IntPtr L);

  4. 在LuaClient.cs的OpenLibs中添加
    luaState.OpenLibs(LuaDLL.luaopen_snapshot);

  5. 运行Examples中运行19_cjson示例,

  6. 直接报错:EntryPointNotFoundException: luaopen_snapshot

这样添加第三方库,还去缺少哪些步骤?

---好吧-----还要重启unity客户端。

支持Apple Silicon芯片

使用 Apple Silicon 芯片编译的tolua.bundle,打出来的包Mac app包会有如下错误,但是在unity editor下运行正常

tolua.bundle importSetting设置如下:
image

Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.dylib
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.so
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.bundle
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/tolua
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.dylib
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.so
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.bundle
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.dylib
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.so
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.bundle
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/tolua
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.dylib
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.so
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua.bundle
Fallback handler could not load library /Users/xxx.app/Contents/Frameworks/MonoEmbedRuntime/osx/libtolua
System.DllNotFoundException: tolua
  at (wrapper managed-to-native) LuaInterface.LuaDLL.luaL_getversion()
  at LuaInterface.LuaState..ctor () [0x000f9] in /Users/Assets/ToLua/Core/LuaState.cs:111 
  at LuaClient.Init () [0x00008] in /Users/Assets/ToLua/Misc/LuaClient.cs:169 

为什么tolua不能在Xcode模拟器上运行啊

我的Unity工程中使用了tolua框架,导出到xcode后,需要模拟器运行,但会报错:
dyld: Symbol not found: _luaL_newstate

我试了使用tolua Example里的Helloworld,导出后也报同样的错。

有人提到过这个问题,但我不太理解,也不清楚该怎么做。是否有支持模拟器的编译好了的库文件可以使用?
741df5e

谢谢

iOS下编译出错_luaopen_pb_*相关

pbc也已经导入。
PBC导入的方法是参考这里的。
https://my.oschina.net/Oswin/blog/1477161

  • build_ios.sh运行时报错:
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [host/minilua] Error 1
make: *** [default] Error 2
mv: rename /Users/admin/01.WorkDir/01.Project/tolua_runtime/luajit-2.1//src/libluajit.a to /Users/admin/01.WorkDir/01.Project/tolua_runtime/iOS/libluajit-armv7.a: No such file or directory
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7s' [-Wignored-optimization-argument]
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libm.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libm.tbd
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture i386:
  "__DefaultRuneLocale", referenced from:
      _luaB_tonumber in minilua.o
      _llex in minilua.o
      _luaX_lexerror in minilua.o
      _read_numeral in minilua.o
      _statement in minilua.o
      _check_match in minilua.o
      _constructor in minilua.o
      ...
  "___bzero", referenced from:
      _luaS_resize in minilua.o
      _luaD_call in minilua.o
      _f_parser in minilua.o
  "___error", referenced from:
      _io_fclose in minilua.o
      _io_pclose in minilua.o
      _f_flush in minilua.o
      _io_readline in minilua.o
      _g_read in minilua.o
      _g_write in minilua.o
      _io_flush in minilua.o
      ...
  "___maskrune", referenced from:
      _luaB_tonumber in minilua.o
      _llex in minilua.o
      _luaX_lexerror in minilua.o
      _read_numeral in minilua.o
      _check_match in minilua.o
      _error_expected in minilua.o
      _match_class in minilua.o
      ...

因此导出的*.a文件只有

iOS/libluajit-arm64.a
iOS/libluaji.a

而没有armv7armv7s

所以上面脚本运行结果最后有这么一句:

mv: rename /Users/admin/01.WorkDir/01.Project/tolua_runtime/luajit-2.1//src/libluajit.a to /Users/admin/01.WorkDir/01.Project/tolua_runtime/iOS/libluajit-armv7s.a: No such file or directory
  • 如果将这样导出的libtolua.a导入XCode工程的话会出以下错误:
Undefined symbols for architecture armv7:
  "_luaopen_pb_buffer", referenced from:
      _LuaDLL_luaopen_pb_buffer_m2627477215 in Bulk_Assembly-CSharp_16.o
     (maybe you meant: _LuaDLL_luaopen_pb_buffer_m2627477215, _LuaDLL_luaopen_pb_buffer_m2627477215_RuntimeMethod_var )
  "_luaopen_pb_conv", referenced from:
      _LuaDLL_luaopen_pb_conv_m1307302169 in Bulk_Assembly-CSharp_16.o
     (maybe you meant: _LuaDLL_luaopen_pb_conv_m1307302169_RuntimeMethod_var, _LuaDLL_luaopen_pb_conv_m1307302169 )
  "_luaopen_pb_slice", referenced from:
      _LuaDLL_luaopen_pb_slice_m4020315038 in Bulk_Assembly-CSharp_16.o
     (maybe you meant: _LuaDLL_luaopen_pb_slice_m4020315038_RuntimeMethod_var, _LuaDLL_luaopen_pb_slice_m4020315038 )
  "_luaopen_pb_io", referenced from:
      _LuaDLL_luaopen_pb_io_m604766433 in Bulk_Assembly-CSharp_16.o
     (maybe you meant: _LuaDLL_luaopen_pb_io_m604766433_RuntimeMethod_var, _LuaDLL_luaopen_pb_io_m604766433 )
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

目前分析结果可能是由于高版本的XCode不支持i386的缘故。

table.move 在安卓真机上crash

测试代码:
function ArrayTest(obj1, obj2)
Debugger.Log("table.move test")
local a1 = {}
a1[1] = obj1
a1[2] = obj2
a2 = {}
table.move(a1, 1, #a1, 1, a2)
Debugger.Log("table.move test end:" .. #a2)
end
ArrayTest({ a = 1, b = 1 }, { a = 2, b = 2 })

在UnityEditor可以,安卓真机crash,log如下:
image

2020-10-05 09:55:04.547 26052-26111/? I/Unity: 09:55:04.544-342: table.move test

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)

2020-10-05 09:55:04.642 26052-26111/? E/CRASH: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000010
2020-10-05 09:55:04.642 26052-26111/? E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-10-05 09:55:04.642 26052-26111/? E/CRASH: Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: Build fingerprint: 'OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR1.170623.032/1809142043:user/release-keys'
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: Revision: '0'
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: pid: 26052, tid: 26111, name: UnityMain >>> com.uncleciba.spacevs2 <<<
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: r0 00000008 r1 00000000 r2 00000000 r3 00000018
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: r4 00000003 r5 a473b7b8 r6 00000008 r7 00000000
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: r8 00000008 r9 a4763658 sl 00000000 fp b658e280
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: ip 00000000 sp cbcf9640 lr aaae1604 pc aaadf0f8 cpsr 000065ff
2020-10-05 09:55:04.643 26052-26111/? E/CRASH: backtrace:
2020-10-05 09:55:04.645 26052-26111/? E/CRASH: #00 pc 0001e0f8 /data/app/com.uncleciba.spacevs2-VOvzyKKvv-pZMJyezTmoYg==/lib/arm/libtolua.so
2020-10-05 09:55:04.645 26052-26111/? E/CRASH: #1 pc 00020600 /data/app/com.uncleciba.spacevs2-VOvzyKKvv-pZMJyezTmoYg==/lib/arm/libtolua.so
2020-10-05 09:55:04.646 26052-26111/? E/CRASH: #2 il ........ at (wrapper managed-to-native) LuaInterface.LuaDLL.lua_pcall (intptr,int,int,int) <0xffffffff>
2020-10-05 09:55:04.646 26052-26111/? E/CRASH: #3 il 00000038 at LuaInterface.LuaStatePtr.LuaPCall (int,int,int) <0x00038>
2020-10-05 09:55:04.646 26052-26111/? E/CRASH: #4 il 00000067 at LuaInterface.LuaState.LuaLoadBuffer (byte[],string) <0x00067>
2020-10-05 09:55:04.646 26052-26111/? E/CRASH: #5 il 00000047 at LuaInterface.LuaState.DoFile (string) <0x00047>

Luajit在ios11上编译失败

ios11已经禁用了system函数,然后就不能编译了。

lib_os.c:52:14: error: 'system' is unavailable: not available on iOS
int stat = system(cmd);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/stdlib.h:195:6: note: 'system' has been explicitly marked unavailable
here
int system(const char *) __DARWIN_ALIAS_C(system);
^
1 error generated.
make[1]: *** [lib_os.o] Error 1

执行build_ios.h脚本遇到的错误

In file included from lib_base.c:525:
./lj_libdef.h:17:3: error: use of undeclared identifier 'lj_cf_rawlen'; did you mean 'lj_cf_rawset'?
  lj_cf_rawlen,
  ^~~~~~~~~~~~
  lj_cf_rawset
lib_base.c:190:1: note: 'lj_cf_rawset' declared here
LJLIB_CF(rawset)                LJLIB_REC(.)
^
./lj_lib.h:74:36: note: expanded from macro 'LJLIB_CF'
#define LJLIB_CF(name)          static int lj_cf_##name(lua_State *L)
                                           ^
<scratch space>:193:1: note: expanded from here
lj_cf_rawset
^
1 error generated.
make[1]: *** [lib_base.o] Error 1
make: *** [default] Error 2

请教一下,这个问题是因为什么引起的,应该如何解决呢。

Conflicting types for inet_ntop 编译错误

image
在新版的msys2(msys2-x86_64-20200629.exe)上编译tolua_runtime会报上面的错误。
原因是新版的msys2中已经带有了inet_pton了,即inet_pton已经存在于mingw的ws2tcpip.h文件了,将luasocket/inet.c和luasocket.h中有关该函数相关声明与定义注释掉以后,可以编译通过。
https://docs.microsoft.com/zh-cn/windows/win32/api/ws2tcpip/nf-ws2tcpip-inet_pton

luasocket仓库那边也提交过相关的Issue:lunarmodules/luasocket#298

IOS XCODE 中报_luaopen_protobuf_c错误

Undefined symbols for architecture arm64:
"_luaopen_protobuf_c", referenced from:
_LuaDLL_luaopen_protobuf_c_m3150460142 in Bulk_Assembly-CSharp_2.o
(maybe you meant: _LuaDLL_luaopen_protobuf_c_m3150460142)
"_luaopen_sproto_core", referenced from:
_LuaDLL_luaopen_sproto_core_m2147190326 in Bulk_Assembly-CSharp_2.o
(maybe you meant: _LuaDLL_luaopen_sproto_core_m2147190326)
ld: symbol(s) not found for architecture arm64

xcode11.3.1编译遇到问题

1.下载tolua代码工程,编译example出一个工程 点xcode build没有错误
2.下载tolua runtime工程不做任何修改,运行build_ios.sh编译出 tolua.a放入到 tolua代码工程,编译出example工程 再次点击 build项目, 这时候就报错了。

说 armv7 找不到 luaL的一大堆符号Undefined symbols for architecture armv7:
"_luaL_typerror", referenced from:
_class_new_event in libtolua.a(tolua-693be4398ac017d92926118cbf7efb37ae808a71e9a25a883e308baf21daefe6.o)
_tolua_initsettable in libtolua.a(tolua-693be4398ac017d92926118cbf7efb37ae808a71e9a25a883e308baf21daefe6.o)
_tolua_initgettable in libtolua.a(tolua-693be4398ac017d92926118cbf7efb37ae808a71e9a25a883e308baf21daefe6.o)
__long in libtolua.a(int64.o)
__int64tostring in libtolua.a(int64.o)
__int64tonum2 in libtolua.a(int64.o)
_tolua_checkint64 in libtolua.a(int64.o)

mac下编译出错

mac下运行sh build_osx.sh

2019-07-19 14:51:06.903 xcodebuild[49180:2616610] Failed to load plugin at: /Users/zhangzhen/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin, skipping.  Reason for failure: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
User defaults from command line:
    configuration = Release

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture. (in target 'tolua')

** BUILD FAILED **

tolua.c中的LUAJIT_VERSION不生效(The LUAJIT_VERSION is not working in tolua.c)

问题(Issue)

在tolua.c中,试图根据宏LUAJIT_VERSION对代码进行区分,
然而实际情况是,并未按预期走入我们所期望的分支。
在文件tolua_runtime\tolua.c中,代码如下:
(In tolua.c, there is an attempt to differentiate the code based on the LUAJIT_VERSION macro.
However, in reality, it does not follow the expected path.
The code snippet in the file tolua_runtime\tolua.c is as follows:)

#ifdef LUAJIT_VERSION            
        luaL_traceback(L, L1, msg, level);
#else        
        lua_getref(L, LUA_RIDX_TRACEBACK);
        lua_pushthread(L1);
        lua_pushvalue(L, arg + 1);
        lua_pushnumber(L, level + 1);
        lua_call(L, 3, 1);
#endif

分析(Analysis)

以当前的Windows版本为例,代码的初衷是要走LuaJIT的逻辑分支。
然而,由于既未在tolua.c中引用定义LUAJIT_VERSION的头文件luajit.h,也未在编译指令中加入宏LUAJIT_VERSION,
因此实际上执行了else分支的代码。
(Taking the current Windows version as an example, the code was intended to handle the LuaJIT logical branch.
However, due to the lack of inclusion of the luajit.h header file, which defines LUAJIT_VERSION, in the tolua.c file, and the absence of the LUAJIT_VERSION macro in the compilation instructions,
the code actually executes the else branch.)

解决(Solution)

考虑到macnojit也会使用该tolua.c文件,直接包含"luajit.h"的方式并不十分友好,需要进行其他的改动。
建议在编译指令中加入LUAJIT_VERSION。
(Since the tolua.c file is also used for macnojit, directly including "luajit.h" is not very friendly and requires other modifications.
Here, it is suggested to add LUAJIT_VERSION in the compilation instructions.)

Windows

以Windows为例,示例如下:
(Here is an example for Windows::)

#tolua_runtime\build_win64.sh
gcc -m64 -O2 -std=gnu99 -shared \
 -DLUAJIT_VERSION="\"LuaJIT 2.1.0-beta3\"" \   #add this line
 tolua.c \

如上述代码所示,我在第二行中增加了对LUAJIT_VERSION的定义。
(As shown in the code above, a definition for LUAJIT_VERSION has been added in the second line.)

Android

#tolua_runtime\android\jni\Android.mk
LOCAL_CFLAGS :=  -O2 -std=gnu99
LOCAL_CFLAGS += "-DLUAJIT_VERSION=\"LuaJIT 2.1.0-beta3\""   #add this line
LOCAL_SRC_FILES :=  ../../tolua.c \

iOS

Xcode ---> select "target" ---> "Build Settings" ---> Search “Preprocessor Macros” ---> add LUAJIT_VERSION="LuaJIT 2.1.0-beta3":
image
After adding it, the changes to the corresponding serialized file tolua_runtime\iOS\tolua.xcodeproj\project.pbxproj are as follows:
image

支持AppleTV平台吗

感谢您的贡献!我们的游戏使用了你的库,运行在了iOS平台上.我们想要把我们的游戏移植到AppleTV平台上.想将支持iOS的.a库修改为支持tvOS的.但是遇到了一些问题,下面是的的移植过程:
1.下载你的仓库源码,然后打开了里面iOS文件夹里的工程,
2.修改了一些编译配置,如Supported Platforms改为tvOS,BaseSDK改为latest tvOS10.1,都是使用真机环境的,编译
3.然后将编译出来的.a库添加我的AppleTV工程中.我的TV工程也是从Unity中导出来的.已经做了一些修改,目前可以正常的运行在TV真机上,
但是将.a库添加到工程中编译时报了一堆错误,如
snip20170104_2
snip20170104_1
提示的是一大堆符号找不到,不知是我编译出.a库的问题,还是本身这个tolua不支持tvOS平台?期待您的解答

luajit在mac os上编译失败

系统: mac os 10.15
xcode 版本11.1
运行build_ios.sh得到以下错误:
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libm.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libm.tbd
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture i386:
"__DefaultRuneLocale", referenced from:
_luaB_tonumber in minilua.o
_llex in minilua.o
_luaX_lexerror in minilua.o
_read_numeral in minilua.o
_statement in minilua.o
_check_match in minilua.o
_constructor in minilua.o
...
"___bzero", referenced from:
_luaS_resize in minilua.o
_luaD_call in minilua.o
_f_parser in minilua.o
"___error", referenced from:
_io_fclose in minilua.o
_io_pclose in minilua.o
_f_flush in minilua.o
_io_readline in minilua.o
_g_read in minilua.o
_g_write in minilua.o
_io_flush in minilua.o
...
"___maskrune", referenced from:
_luaB_tonumber in minilua.o
_llex in minilua.o
_luaX_lexerror in minilua.o
_read_numeral in minilua.o
_check_match in minilua.o
_error_expected in minilua.o
_match_class in minilua.o
...
"___sprintf_chk", referenced from:
_main in minilua.o
_luaL_loadfile in minilua.o
_panic in minilua.o
_luaO_pushvfstring in minilua.o
_luaV_concat in minilua.o
_luaB_assert in minilua.o
_luaB_loadfile in minilua.o
...
"___stack_chk_fail", referenced from:
_main in minilua.o
_luaL_loadfile in minilua.o
_panic in minilua.o
_luaG_runerror in minilua.o
_luaO_pushvfstring in minilua.o
_luaV_concat in minilua.o
_newkey in minilua.o
...
"___stack_chk_guard", referenced from:
_main in minilua.o
_luaL_loadfile in minilua.o
_panic in minilua.o
_luaG_runerror in minilua.o
_luaO_pushvfstring in minilua.o
_luaV_concat in minilua.o
_newkey in minilua.o
...
"___stderrp", referenced from:
_main in minilua.o
_panic in minilua.o
_luaopen_io in minilua.o
"___stdinp", referenced from:
_luaL_loadfile in minilua.o
_luaopen_io in minilua.o
"___stdoutp", referenced from:
_luaopen_io in minilua.o
"___strcat_chk", referenced from:
_luaO_chunkid in minilua.o
"___strncat_chk", referenced from:
_luaO_chunkid in minilua.o
"___strncpy_chk", referenced from:
_str_format in minilua.o
"___tolower", referenced from:
_str_lower in minilua.o
_match_class in minilua.o
"___toupper", referenced from:
_str_upper in minilua.o
"_clearerr", referenced from:
_g_read in minilua.o
"_exit", referenced from:
_f_luaopen in minilua.o
_luaH_new in minilua.o
_luaS_resize in minilua.o
_luaS_newlstr in minilua.o
_luaD_throw in minilua.o
_resetstack in minilua.o
_luaG_errormsg in minilua.o
...
"_fclose", referenced from:
_luaL_loadfile in minilua.o
_io_fclose in minilua.o
"_feof", referenced from:
_getF in minilua.o
"_ferror", referenced from:
_luaL_loadfile in minilua.o
_io_readline in minilua.o
_g_read in minilua.o
"_fflush", referenced from:
_f_flush in minilua.o
_io_flush in minilua.o
"_fgets", referenced from:
_read_line in minilua.o
"_fopen$UNIX2003", referenced from:
_luaL_loadfile in minilua.o
_io_lines in minilua.o
_io_open in minilua.o
_g_iofile in minilua.o
"_fprintf", referenced from:
_main in minilua.o
_panic in minilua.o
_g_write in minilua.o
"_fread", referenced from:
_read_chars in minilua.o
_getF in minilua.o
"_free", referenced from:
_l_alloc in minilua.o
"_freopen$UNIX2003", referenced from:
_luaL_loadfile in minilua.o
"_fscanf", referenced from:
_g_read in minilua.o
"_fwrite$UNIX2003", referenced from:
_g_write in minilua.o
"_getc", referenced from:
_luaL_loadfile in minilua.o
_g_read in minilua.o
"_isspace", referenced from:
_luaO_str2d in minilua.o
"_longjmp", referenced from:
_f_luaopen in minilua.o
_luaH_new in minilua.o
_luaS_resize in minilua.o
_luaS_newlstr in minilua.o
_luaD_throw in minilua.o
_resetstack in minilua.o
_luaG_errormsg in minilua.o
...
"_malloc", referenced from:
_main in minilua.o
"_memchr", referenced from:
_llex in minilua.o
_read_numeral in minilua.o
_str_format in minilua.o
_str_find_aux in minilua.o
"_memcmp", referenced from:
_luaS_newlstr in minilua.o
_str_find_aux in minilua.o
_match in minilua.o
"_memcpy", referenced from:
_luaS_newlstr in minilua.o
_luaV_concat in minilua.o
_luaL_addvalue in minilua.o
"_pow", referenced from:
_luaD_call in minilua.o
_Arith in minilua.o
_codearith in minilua.o
"_realloc", referenced from:
_l_alloc in minilua.o
"_remove", referenced from:
_os_remove in minilua.o
"_setjmp", referenced from:
_luaD_rawrunprotected in minilua.o
"_strchr", referenced from:
_luaO_pushvfstring in minilua.o
_propagatemark in minilua.o
_lua_getinfo in minilua.o
_str_format in minilua.o
_luaL_findtable in minilua.o
"_strcmp", referenced from:
_ipairsaux in minilua.o
_luaB_assert in minilua.o
_luaB_loadstring in minilua.o
_luaB_rawget in minilua.o
_luaB_setfenv in minilua.o
_luaB_setmetatable in minilua.o
_luaB_tonumber in minilua.o
...
"_strcoll", referenced from:
_luaD_call in minilua.o
_luaV_lessthan in minilua.o
"_strcspn", referenced from:
_luaO_chunkid in minilua.o
"_strerror$UNIX2003", referenced from:
_io_fclose in minilua.o
_io_pclose in minilua.o
_f_flush in minilua.o
_io_readline in minilua.o
_g_read in minilua.o
_g_write in minilua.o
_io_flush in minilua.o
...
"_strlen", referenced from:
_main in minilua.o
_luaL_register in minilua.o
_luaL_loadfile in minilua.o
_panic in minilua.o
_f_luaopen in minilua.o
_luaO_pushvfstring in minilua.o
_luaO_chunkid in minilua.o
...
"_strncpy", referenced from:
_luaO_chunkid in minilua.o
"_strpbrk", referenced from:
_str_find_aux in minilua.o
"_strtod$UNIX2003", referenced from:
_luaO_str2d in minilua.o
"_strtoul", referenced from:
_luaO_str2d in minilua.o
_luaB_tonumber in minilua.o
"_ungetc", referenced from:
_luaL_loadfile in minilua.o
_g_read in minilua.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [host/minilua] Error 1
make: *** [default] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.