[p5@manatest ~]$ git clone git://gitorious.org/tmw-eathena/mainline.git eathenaCloning into eathena...
remote: Counting objects: 3915, done.
remote: Compressing objects: 100% (2627/2627), done.
remote: Total 3915 (delta 2849), reused 1933 (delta 1268)
Receiving objects: 100% (3915/3915), 4.32 MiB | 178 KiB/s, done.
Resolving deltas: 100% (2849/2849), done.
[p5@manatest ~]$ cd eathena
[p5@manatest eathena]$ make
gcc -m32 -std=gnu99   obj/login/login.o obj/common/core.o obj/common/socket.o obj/common/timer.o obj/common/db.o obj/common/lock.o obj/common/mt_rand.o obj/common/md5calc.o   -o obj/login/login
gcc: obj/login/login.o: No such file or directory
gcc: obj/common/core.o: No such file or directory
gcc: obj/common/socket.o: No such file or directory
gcc: obj/common/timer.o: No such file or directory
gcc: obj/common/db.o: No such file or directory
gcc: obj/common/lock.o: No such file or directory
gcc: obj/common/mt_rand.o: No such file or directory
gcc: obj/common/md5calc.o: No such file or directory
gcc: no input files
make: *** [obj/login/login] Error 1
[p5@manatest eathena]$ mkdir -p obj/{common,login,char,map,ladmin,tool}
[p5@manatest eathena]$ make
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/login/login.o src/login/login.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/common/core.o src/common/core.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/common/socket.o src/common/socket.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/common/timer.o src/common/timer.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/common/db.o src/common/db.c
src/common/db.c: In function ‘strdb_cmp’:
src/common/db.c:13: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c:14: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c:14: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c:14: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c:14: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c: In function ‘strdb_hash’:
src/common/db.c:20: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c: In function ‘strdb_init’:
src/common/db.c:37: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c: In function ‘db_insert’:
src/common/db.c:342: warning: ‘release’ is deprecated (declared at src/common/db.h:51)
src/common/db.c:343: warning: ‘release’ is deprecated (declared at src/common/db.h:51)
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/common/lock.o src/common/lock.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/common/mt_rand.o src/common/mt_rand.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/common/md5calc.o src/common/md5calc.c
gcc -m32 -std=gnu99   obj/login/login.o obj/common/core.o obj/common/socket.o obj/common/timer.o obj/common/db.o obj/common/lock.o obj/common/mt_rand.o obj/common/md5calc.o   -o obj/login/login
cp -f obj/login/login login-server
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/char/char.o src/char/char.c
src/char/char.c: In function ‘make_new_char’:
src/char/char.c:902: warning: comparison is always false due to limited range of data type
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/char/inter.o src/char/inter.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/char/int_party.o src/char/int_party.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/char/int_guild.o src/char/int_guild.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/char/int_storage.o src/char/int_storage.c
src/char/int_storage.c: In function ‘inter_storage_final’:
src/char/int_storage.c:333: warning: ‘db_final’ is deprecated (declared at src/char/../common/db.h:85)
src/char/int_storage.c:334: warning: ‘db_final’ is deprecated (declared at src/char/../common/db.h:85)
gcc -m32 -std=gnu99   obj/char/char.o obj/char/inter.o obj/char/int_party.o obj/char/int_guild.o obj/char/int_storage.o obj/common/core.o obj/common/socket.o obj/common/timer.o obj/common/db.o obj/common/lock.o obj/common/mt_rand.o   -o obj/char/char
cp -f obj/char/char char-server
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/map/map.o src/map/map.c
src/map/map.c: In function ‘map_readmap’:
src/map/map.c:1667: warning: initialization makes integer from pointer without a cast
src/map/map.c:1668: warning: comparison between pointer and integer
src/map/map.c:1675: warning: cast to pointer from integer of different size
src/map/map.c:1705: warning: passing argument 1 of ‘free’ makes pointer from integer without a cast
src/map/map.c: In function ‘map_readallmap’:
src/map/map.c:1742: warning: ‘grfio_size’ is deprecated (declared at src/map/../common/grfio.h:15)
src/map/map.c: In function ‘do_final’:
src/map/map.c:2082: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/map.c:2083: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/map.c:2084: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/map.c:2085: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/map/tmw.o src/map/tmw.c
lex -o src/map/magic-interpreter-lexer.c src/map/magic-interpreter-lexer.l
bison -d -o src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.y
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/map/magic-interpreter-lexer.o src/map/magic-interpreter-lexer.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/map/magic-interpreter-parser.o src/map/magic-interpreter-parser.c
src/map/magic-interpreter-parser.y: In function ‘magic_init’:
src/map/magic-interpreter-parser.y:1039: warning: assignment from incompatible pointer type
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/map/magic-interpreter-base.o src/map/magic-interpreter-base.c
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/map/magic-expr.o src/map/magic-expr.c
src/map/magic-expr.c: In function ‘make_area’:
src/map/magic-expr.c:207: warning: initialization from incompatible pointer type
src/map/magic-expr.c: In function ‘magic_get_fun’:
src/map/magic-expr.c:1264: warning: assignment discards qualifiers from pointer target type
gcc -m32 -std=gnu99 -pipe -g -O2 -fstack-protector   -c -o obj/map/magic-stmt.o src/map/magic-stmt.c
src/map/magic-stmt.c:68: error: redefinition of parameter ‘unused___COUNTER__’
src/map/magic-stmt.c:68: error: previous definition of ‘unused___COUNTER__’ was here
src/map/magic-stmt.c:226: error: redefinition of parameter ‘unused___COUNTER__’
src/map/magic-stmt.c:226: error: previous definition of ‘unused___COUNTER__’ was here
src/map/magic-stmt.c:250: error: conflicting types for ‘unused___COUNTER__’
src/map/magic-stmt.c:249: error: previous definition of ‘unused___COUNTER__’ was here
make: *** [obj/map/magic-stmt.o] Error 1
[p5@manatest eathena]$ cat /etc/redhat-release 
CentOS release 5.6 (Final)
[p5@manatest eathena]$ uname -a
Linux manatest 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:32:29 EDT 2011 i686 i686 i386 GNU/Linux
[p5@manatest eathena]$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-redhat-linux-gnu
[p5@manatest eathena]$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
[p5@manatest eathena]$