Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Laggi

macrumors newbie
Original poster
Apr 22, 2012
1
0
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:

Code:
> 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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.