axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senaka Fernando (JIRA)" <>
Subject [jira] Commented: (AXIS2C-922) axis2_http_server.exe crashes in axis2_getopt
Date Sat, 19 Jan 2008 16:28:34 GMT


Senaka Fernando commented on AXIS2C-922:

Hi Dave,

I believe that you are requesting a change in the build system, which would result in a fix
in the server. I believe your workaround may solve this issue. But, I'd like to know the error
message you got as well as debug information etc. so that it would be easier to figure out
what went wrong there. Also please read through your axis2.log and find the relavant error
message, if there were any. This would make it easier for the devs to pinpoint the blunder.

I'm asking you so, because I just ran axis2_http_server on Windows and did not run into such

BTW, I'd rather prefer /MD for the CRUNTIME. I believe you can change this in your
It is strongly adviced that you use either /MT or /MD at all locations and not a combination.
This is ensured by leaving the $(CRUNTIME) intact.

In addition to that, you are infact trying to leave out the Multi Threaded Runtime's debug
version, by /NODEFAULTLIB:LIBCMTD.lib.

Thanks for your input.


> axis2_http_server.exe crashes in axis2_getopt
> ---------------------------------------------
>                 Key: AXIS2C-922
>                 URL:
>             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
> !else
> !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, 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:
For additional commands, e-mail:

View raw message