Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 22, 2012, 08:22 AM   #1
Laggi
macrumors newbie
 
Join Date: Apr 2012
Problems with embedded lua in C

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.
Laggi is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC