Code: Show/Hide sh-4.1$ make gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/core.o core/core.c core/core.c:17:18: error: zlib.h: No such file or directory core/core.c: In function ?get_checksum?: core/core.c:98: error: ?uLong? undeclared (first use in this function) core/core.c:98: error: (Each undeclared identifier is reported only once core/core.c:98: error: for each function it appears in.) core/core.c:98: error: expected ?;? before ?crc? core/core.c:104: error: ?crc? undeclared (first use in this function) core/core.c:104: warning: implicit declaration of function ?crc32? core/core.c: In function ?PLogin?: core/core.c:527: warning: pointer targets in initialization differ in signedness core/core.c:527: warning: pointer targets in initialization differ in signedness core/core.c: In function ?SendLoginResponse?: core/core.c:810: warning: pointer targets in passing argument 1 of ?astrncpy? differ in signedness include/util.h:68: note: expected ?char *? but argument is of type ?byte *? core/core.c:811: warning: pointer targets in passing argument 1 of ?strlen? differ in signedness /usr/include/string.h:399: note: expected ?const char *? but argument is of type ?byte *? core/core.c:817: warning: pointer targets in passing argument 2 of ?net->SendToOne? differ in signedness core/core.c:817: note: expected ?byte *? but argument is of type ?char *? make: *** [../build/core.o] Error 1 |
Code: Show/Hide sh-4.1$ make install -d ../bin/ install Makefile ../bin/.stamp gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/main.o main/main.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/module.o main/module.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/cmod.o main/cmod.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/util.o main/util.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/pathutil.o main/pathutil.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/protutil.o main/protutil.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/rwlock.o main/rwlock.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/app.o main/app.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/md5.o main/md5.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/config.o core/config.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/prng.o core/prng.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/player.o core/player.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/core.o core/core.c core/core.c:17:18: error: zlib.h: No such file or directory core/core.c: In function ?get_checksum?: core/core.c:98: error: ?uLong? undeclared (first use in this function) core/core.c:98: error: (Each undeclared identifier is reported only once core/core.c:98: error: for each function it appears in.) core/core.c:98: error: expected ?;? before ?crc? core/core.c:104: error: ?crc? undeclared (first use in this function) core/core.c:104: warning: implicit declaration of function ?crc32? make: *** [../build/core.o] Error 1 |