Issue information

Issue ID
#4637
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 13, 2010 16:05
Last Post
Hercules Elf Bot
Dec 13, 2010 16:05
Confirmation
N/A

Hercules Elf Bot - Dec 13, 2010 16:05

Originally posted by [b]digos[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4637

CODE
MacBook-Pro-de-Rodrigo:server2 rodrigo$ ./configure
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether byte ordering is bigendian... no
checking whether pointers can be stored in ints (old code)... yes (with -m32)
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-pointer-sign... yes
checking whether gcc supports -Wno-switch... yes
checking for setrlimit... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for sqrt in -lm... yes
checking for clock_gettime in -lrt... no
checking for mysql_config... /sw/bin/mysql_config
checking for mysql_init in -lmysqlclient... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (optional)... yes (5.0.27)
checking for pcre_study in -lpcre... yes
checking PCRE library (optional)... yes
checking host OS... Darwin
checking for MinGW... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/ladmin/Makefile
config.status: creating src/char_sql/Makefile
config.status: creating src/txt-converter/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
MacBook-Pro-de-Rodrigo:server2 rodrigo$ make plugins
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/core.o core.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/socket.o socket.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/timer.o timer.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/db.o db.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/plugins.o plugins.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/lock.o lock.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/nullpo.o nullpo.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/malloc.o malloc.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/showmsg.o showmsg.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/strlib.o strlib.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/utils.o utils.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/grfio.o grfio.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/mapindex.o mapindex.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/ers.o ers.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/md5calc.o md5calc.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses -DMINICORE  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/minicore.o core.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses -DMINICORE  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/minisocket.o socket.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses -DMINICORE  -m32 -L/usr/lib  -I../common -I/usr/include -c -o obj_all/minimalloc.o malloc.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -I../common -I/usr/include  -m32 -L/usr/lib -shared -o ../../plugins/sample.so sample.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -DHAVE_SETRLIMIT -Wno-unused -Wno-parentheses  -I../common -I/usr/include  -m32 -L/usr/lib -shared -o ../../plugins/sig.so sig.c ../common/obj_all/showmsg.o ../common/obj_all/utils.o ../common/obj_all/strlib.o ../common/obj_all/minimalloc.o
sig.c:55: error: conflicting types for ‘strsignal’
/usr/include/string.h:136: error: previous declaration of ‘strsignal’ was here
make[1]: *** [sig.so] Error 1
make: *** [plugins] Error 2



And this warning in make tools
CODE
MacBook-Pro-de-Rodrigo:server2 rodrigo$ make tools
gcc -o ../../tools/adduser adduser.c
adduser.c: In function ‘main’:
adduser.c:62: warning: too few arguments for format
gcc -o ../../mapcache mapcache.c grfio.c -lz
MacBook-Pro-de-Rodrigo:server2 rodrigo$