[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Forcing all Lua symbols to be included on Linux?
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 8 May 2009 11:00:56 +0200
Hi guys,
My initial search only revealed that other people have had this
problem. My application on Linux links against liblua, and all goes
well until a script tries to load lfs, and then gives the dreaded
'undefined symbol: lua_touserdata', which obviously means that the
linker is not pulling in everything from liblua.
Naturally, I could just drop lfs.c into my project, but is there a
general way of forcing the GCC linker to bring in all the symbols from
a library? -rdynamic seems rather drastic, since my understanding is
that this makes _everything_ visible dynamically.
steve d.