Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 20938 invoked from network); 23 Jan 2008 21:10:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 21:10:56 -0000 Received: (qmail 54769 invoked by uid 500); 23 Jan 2008 21:10:46 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 54745 invoked by uid 500); 23 Jan 2008 21:10:46 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 54734 invoked by uid 99); 23 Jan 2008 21:10:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 13:10:46 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 21:10:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 76AE671420A for ; Wed, 23 Jan 2008 13:10:34 -0800 (PST) Message-ID: <7882715.1201122634483.JavaMail.jira@brutus> Date: Wed, 23 Jan 2008 13:10:34 -0800 (PST) From: "Dave Meier (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXIS2C-922) axis2_http_server.exe crashes in axis2_getopt In-Reply-To: <32161082.1200706834564.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561823#action_12561823 ] Dave Meier commented on AXIS2C-922: ----------------------------------- Hi Senaka, I just rebuilt with VS 2005 and verified that yes it does work on 2005, but fails on 2003. I guess the /MDd flag results in different behaviour on 2003. I'll just keep building my debug copy with 2003 and no /MDd flag as the 2005 version does not allow me to debug axis2c code from my 2003 project. -Dave. > 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: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org