cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building Libcurl with DMC

From: <qbert_at_atari-soldiers.com>
Date: Wed, 18 Feb 2004 21:23:08 -0800

On Wed, 18 Feb 2004 20:38:27 -0800, qbert_at_atari-soldiers.com
<q_at_atari-soldiers.com> wrote:

more data:

data->change.url : curl.haxx.se
conn->gname : (blank , but not null )
conn->path : /

>> Is that really the only way to make it build? It seems like a really
> annoying
>> work-around...
>
> Its been fixed with the latest release, I use the same script to generate
> the D wrappers so its not a problem really.
>
>> Can you tell us more exact details? On what source line and what
>> arguments
> the
>> function got passed in, possibly some contents of local variables.
>
> Its failing in url.c , line 2114
>
> if((1 > sscanf(data->change.url, "%512[^\n/?]%[^\n]",
> conn->gname, conn->path)) )
>
>> I take it that compiler is for Windows?
>
>
> Yes it is. I ll keep playing with it.
>
> Charlie.
>
> ----- Original Message -----
> From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
> To: "libcurl development" <curl-library_at_cool.haxx.se>
> Sent: Sunday, February 15, 2004 2:28 PM
> Subject: Re: Building Libcurl with DMC
>
>
>> On Sun, 15 Feb 2004, qbert_at_atari-soldeirs.com wrote:
>>
>> > Hey all, trying to build libcurl with the free Digital Mars C/C++
> compiler (
>> > www.digitalmars.com ). It stumbled on the CINIT / CFINIT macros
>>
>> What's the problem? A C compiler should either support the ## operator
>> or
> the
>> /**/ operator. Are you saying the Digital Mars supports none of those?
>>
>> > so I replaced them with constants and posted at
>> > www.atari-soldiers.com/libcurlDMC.zip .
>>
>> Is that really the only way to make it build? It seems like a really
> annoying
>> work-around...
>>
>> > It compiles fine , however when the sample is run it crashes
> inexplicably.
>> > I ran it through the debugger seems its crashing on curl_easy_perform
>> .
>> >
>> > Here's the Call window,
>> >
>> > main
>> > curl_easy_perform
>> > Curl_perform
>> > Curl_connect <-- crashing , calling CreateConnection .
>>
>> Can you tell us more exact details? On what source line and what
>> arguments
> the
>> function got passed in, possibly some contents of local variables.
>>
>> I can't but to think that your compiler of choice may not be doing
>> things
>> right...
>>
>> > make -f Makefile.dmc should be all u need to build. Has anyone
>> compiled
>
>> > libcurl with DMC ? Can any libcurl guru's help get libcurl get built
> with
>> > DMC ?
>>
>> I take it that compiler is for Windows?
>>
>> --
>> Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
>> [[ Do not send mails to this email address. They won't reach me. ]]
>

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Received on 2004-02-19