[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Compiling/Executing problems in C
- From: "Mark Edgar" <medgar123+lua-l@...>
- Date: Mon, 9 Jul 2007 12:20:47 -0700
On 7/9/07, Patrick Donnelly <firstname.lastname@example.org> wrote:
Ya I knew there was a linking problem, but even when I use `gcc mytest.c
/usr/local/lib/liblua.a` I get a mountain of other linking errors. Is it
because I'm not using liblua51.a?
Use the 5.0 headers with the 5.0 library. Use the 5.1 headers with
the 5.1 library. They are not compatible. This is true in general
for other libraries.