From: Phil <ph...@fl...> - 2002-03-26 21:33:25
|
I feel stupid. I missed an unwrapped #include hidden in a header file. Thanks for everyone's help! Thanks, Philip Bock ----- Original Message ----- From: "Oscar Fuentes" <of...@wa...> To: <min...@li...> Sent: Tuesday, March 26, 2002 1:59 PM Subject: Re: [Mingw-users] Trouble linking > "Phil" <ph...@fl...> writes: > > [snip] > > > And of course the errors look like this: > > ./Build/client.o(.text+0xf3):client.cpp: undefined reference to > > `lua_open(int)' > > Isn't it the Lua scripting language? In my Lua v4.0 there is no > 'lua_init'. Shouldn't be it 'lua_open'? > > Well, if the above does not apply try to surround the #include with > > extern "C" { > #include "lua.h" > } > > in case the library cotains C code (although I'm afraid it will not > help) > > It's almost sure 'ar' has some way of listing the contents of a > library. Check it out. > > -- > Oscar > > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |