logo       

Re: Problems compiling luacheia with Mingw: msg#00045

lang.lua.luacheia

Subject: Re: Problems compiling luacheia with Mingw

There*s some info in the file HACKING about this, but it sadly lacks any note about version numbers (MinGW, autotools etc.)...

My recent problem with OSX was due to the same problem (Panther only has automake 1.8, after installing 1.7.9 I'm perfectly happy now).

So here maybe a short summary of my setup:

MinGW 3.2
MSYS 1.0
msysDTK (1.0x), which gives me autotools (automake 1.7.2) and ssh, cvs etc.

That's what I use on win32 and it works ok

-Martin




Doug Currie wrote:

I have some problems when compiling luacheia (CVS version) with
MinGW-3.1.0-1 and MSYS-1.0.10



# ./configure
# make
...
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/home/serge/luacheia/lua-5.0.1/include -g -O2 -MT gusu.lo -MD -MP -MF .deps/gusu.Tpo -c gusu.c -DDLL_EXPORT -DPIC -o .libs/gusu.o
gusu.c: In function `gusu_opendir':
gusu.c:81: parse error before '-' token


This is an error in the header file winnt.h line 209

winnt.h:209:

#define INVALID_FILE_ATTRIBUTES (DWORD (-1))

should be

#define INVALID_FILE_ATTRIBUTES ((DWORD)(-1))

and has been reported to the mingw team and fixed in their cvs.


[...]



Can anybody help me? What compiler configuration is used to build official luacheia win32 binaries by developers?


Good question. I have been unable to build all of LuaCheia with
mingw/msys also. The problems seem libtool related since I can build
the individual projects, e.g., for luasockets. using the original (or
slightly hacked) makefiles, whereas the LuaCheia build for libsockets
doesn't work for me.

e



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Luacheia-list mailing list
Luacheia-list-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/luacheia-list







-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise