mrlongshen 22 Posted August 4, 2013 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 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/$@ $< Quote Share this post Link to post Share on other sites
0 Haru 290 Posted September 2, 2013 Is it fixed now after this commit? Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted August 4, 2013 COMPILER_PATH=/usr/libexec/gcc/i686-redhat-linux/4.4.7/:/usr/libexec/gcc/i686-redhat-linux/4.4.7/:/usr/libexec/gcc/i686-redhat-linux/:/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/:/usr/libexec/gcc/i686-redhat-linux/4.4.7/:/usr/libexec/gcc/i686-redhat-linux/:/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=i686' Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted August 5, 2013 bump post Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted August 11, 2013 bump post Core Dump report? or any error? Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted August 12, 2013 nothing boss... please. Quote Share this post Link to post Share on other sites
0 Louis T Steinhil 4 Posted September 3, 2013 well my @afk & @dance plugin runs smoothly on latest revision Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted September 3, 2013 well my @afk & @dance plugin runs smoothly on latest revision what os are you using? Quote Share this post Link to post Share on other sites
0 Louis T Steinhil 4 Posted September 4, 2013 linux Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted September 4, 2013 linux Linux? Centos? Quote Share this post Link to post Share on other sites
0 Louis T Steinhil 4 Posted September 4, 2013 centos-5- Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted September 4, 2013 centos-5- how did you apply the plugins? did you just follow the wiki? i'm still getting error thanks! Quote Share this post Link to post Share on other sites
0 Louis T Steinhil 4 Posted September 5, 2013 yeah just follow the wiki Quote Share this post Link to post Share on other sites
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
this is makefile.in
Share this post
Link to post
Share on other sites