[ https://issues.apache.org/jira/browse/AXIS2C-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561817#action_12561817 ]
Senaka Fernando commented on AXIS2C-922: ---------------------------------------- Hi Dave, I did not get any server crash. I'm building with Visual Studio .NET 2005. I don't see any reason to why this should not build on VS2003? These are some details from my configure.in. ENABLE_SSL = 0 ENABLE_LIBCURL= 0 ENABLE_GUTHTHILA = 0 WITH_TCP= 0 WITH_ARCHIVE = 1 APACHE_VERSION_2_0_X = 0 CRUNTIME=/MD EMBED_MANIFEST = 1 DEBUG=1 By the way, I built axis2/c using build.bat after calling vcvars32.bat found in the VC\bin folder of Visual Studio 2005. My nmake version is 8.00.50727.762. Regards, Senaka > axis2_http_server.exe crashes in axis2_getopt > --------------------------------------------- > > Key: AXIS2C-922 > URL: https://issues.apache.org/jira/browse/AXIS2C-922 > Project: Axis2-C > Issue Type: Bug > Components: build system (Windows) > Affects Versions: 1.2.0 > Environment: Windows XP > Reporter: Dave Meier > > Crashes on this line: > if (optind >= __argc || *(pos = __argv[optind]) != '-') > I changed the makefile and was able to get it to work. Changed to the > following: > !if "$(DEBUG)" == "1" > CFLAGS = $(CFLAGS) /D "_DEBUG" /Od /Z7 > LDFLAGS = $(LDFLAGS) /DEBUG /INCREMENTAL /NODEFAULTLIB:LIBCMTD.lib > !else > CFLAGS = $(CFLAGS) /D "NDEBUG" /O2 /MT > LDFLAGS = $(LDFLAGS) > !endif > Basically for the DEBUG case, I removed the $(CRUNTIME)d from CFLAGS and > added back the /NODEFAULTLIB:LIBCMTD.lib to LDFLAGS that was there in 1.1. > Also changed $(CRUNTIME) to /MT for the release mode CFLAGS. > In my configure.in, I had CRUNTIME=/MD -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]