mrlongshen
Noobies
my compiling is success.
im using centos 6.3
but my map-server not run automatically.
i try run manual. its show segmentation fault.
someone please help me.
i try to add the afk.c and skillerrormessages plugin.
please help me..
i have follow step on wiki.
here is mine
this is makefile
COMMON_H = ../common/HPMi.h ../common/cbasetypes.hPLUGINS = sample db2sql afk SkillErrorMessagesCC = gccexport CC#####################################################################.PHONY : all $(PLUGINS) sample db2sql afk SkillErrorMessages clean helpall: $(PLUGINS)sample: sample.sodb2sql: db2sql.soafk: afk.soSkillErrorMessages: SkillErrorMessages.soclean: @echo " CLEAN plugins" @rm -rf *.ohelp: @echo "possible targets are $(PLUGINS:%='%') 'all' 'clean' 'help'" @echo "'sample' - sample plugin" @echo "'help' - outputs this message"#####################################################################%.so: %.c $(COMMON_H) @echo " CC $<" @$(CC) -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_USELOCALE=1 -DHAVE_NEWLOCALE=1 -DHAVE_FREELOCALE=1 -DHAVE_XLOCALE_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -g -O2 -DMAXCONN=16384 -pipe -ffast-math -Wall -Wno-sign-compare -march=i686 -DHAS_TLS -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../common -I/usr/include -march=i686 -L/usr/lib -lpthread -shared -o ../../plugins/$@ $<
this is makefile.in
im using centos 6.3
but my map-server not run automatically.
i try run manual. its show segmentation fault.
someone please help me.
i try to add the afk.c and skillerrormessages plugin.
please help me..
i have follow step on wiki.
here is mine
this is makefile
COMMON_H = ../common/HPMi.h ../common/cbasetypes.hPLUGINS = sample db2sql afk SkillErrorMessagesCC = gccexport CC#####################################################################.PHONY : all $(PLUGINS) sample db2sql afk SkillErrorMessages clean helpall: $(PLUGINS)sample: sample.sodb2sql: db2sql.soafk: afk.soSkillErrorMessages: SkillErrorMessages.soclean: @echo " CLEAN plugins" @rm -rf *.ohelp: @echo "possible targets are $(PLUGINS:%='%') 'all' 'clean' 'help'" @echo "'sample' - sample plugin" @echo "'help' - outputs this message"#####################################################################%.so: %.c $(COMMON_H) @echo " CC $<" @$(CC) -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_USELOCALE=1 -DHAVE_NEWLOCALE=1 -DHAVE_FREELOCALE=1 -DHAVE_XLOCALE_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -g -O2 -DMAXCONN=16384 -pipe -ffast-math -Wall -Wno-sign-compare -march=i686 -DHAS_TLS -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../common -I/usr/include -march=i686 -L/usr/lib -lpthread -shared -o ../../plugins/$@ $<
this is makefile.in
Code:
COMMON_H = ../common/HPMi.h ../common/cbasetypes.hPLUGINS = sample db2sql afk SkillErrorMessages@SET_MAKE@CC = @CC@export CC#####################################################################.PHONY : all $(PLUGINS) sample db2sql afk SkillErrorMessages clean helpall: $(PLUGINS)sample: sample@DLLEXT@db2sql: db2sql@DLLEXT@afk: afk@DLLEXT@SkillErrorMessages: SkillErrorMessages@DLLEXT@clean: @echo " CLEAN plugins" @rm -rf *.ohelp: @echo "possible targets are $(PLUGINS:%='%') 'all' 'clean' 'help'" @echo "'sample' - sample plugin" @echo "'help' - outputs this message"#####################################################################%@DLLEXT@: %.c $(COMMON_H) @echo " CC $<" @$(CC) @DEFS@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ @SOFLAGS@ -o ../../plugins/$@ $<