Problems with embedded lua in C

Discussion in 'Mac Programming' started by Laggi, Apr 22, 2012.

  1. macrumors newbie

    Apr 22, 2012
    I have a program written on C which compiling without problems on Linux
    and Snow Leopard.
    Some days ago I embedded lua and after that I got some prolems.

    On Linux I compile now with LDFLAGS = -llua in makefile.

    I also added the same for Makefile on Mac. But now on Mac I got this errors:

    > CC=gcc-4.0 make arch=i386
    Undefined symbols: 
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    Whats the problem? Lua compiled from sources for i386 arch. (Compiled for x86_64 - same problems)

    Thanks, any help is much appreciated.

Share This Page