cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1163860 ] MinGW/MSYS build problem - 7.13.1

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 15 Mar 2005 08:37:17 -0800

Bugs item #1163860, was opened at 2005-03-15 10:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1163860&group_id=976

Category: compile or build problem
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Kent Johnson (bzflagwiz)
Assigned to: Daniel Stenberg (bagder)
Summary: MinGW/MSYS build problem - 7.13.1

Initial Comment:
Trying to build curl/libcurl (7.13.1) on Windows XP SP1
using MinGW (3.1.0-1)/MSYS (1.0.10)/MSYS-DTK
(1.0.1).

I ran ./configure and then make. Near the end of the
make process I got the following error.

========================================
mkdir .libs
gcc -g -O2 -o .libs/curl.exe main.o hugehelp.o urlglob.o
writeout.o writeenv.o getpass.o homedir.o strtoofft.o
timeval.o ../lib/.libs/libcurl.dll.a -lwinmm -lws2_32 -Wl,--
rpath -Wl,/usr/local/lib
creating curl.exe
.libs/lt-curl.c: In function `main':
.libs/lt-curl.c:79: warning: passing arg 2 of `execv' from
incompatible pointer type
make[2]: Leaving directory `/curl/src'
make[1]: Leaving directory `/curl/src'
make[1]: Entering directory `/curl'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/curl'
=========================================

Line 79 of /curl/src/.libs/lt-curl.c reads:

execv("/bin/sh",newargz);

I edited that line to read

execv("$SHELL",newargz);

and then the make process completed successfully.

I'm not a C/C++ developer and I'm really new (couple of
days) to MinGW/MSYS, so I can't really tell if this a
problem in CURL or MinGW/MSYS.

If it is a MinGW/MSYS problem, can you at least point
me in the right direction on how to report the problem to
whomever needs to know this?

Thanks.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1163860&group_id=976
_______________________________________________
curl-tracker mailing list
curl-tracker_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-tracker
Received on 2005-03-15

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET