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 11:47:36 -0800

Bugs item #1163860, was opened at 2005-03-15 10:37
Message generated for change (Comment added) made by bzflagwiz
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: Closed
Resolution: Invalid
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.

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

>Comment By: Kent Johnson (bzflagwiz)
Date: 2005-03-15 13:47

Message:
Logged In: YES
user_id=617680

I was fully prepared for the possibility that it wasn't a curl
problem, especially since it was in an automatically
generated file. Thanks for the quick response!

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

Comment By: Daniel Stenberg (bagder)
Date: 2005-03-15 13:21

Message:
Logged In: YES
user_id=1110

I'm sorry to say this, but this is not a curl problem.

lt-curl.c is generated automatically by libtool. I don't
even know where to fix it...

But, it is also just a warning and a very harmless one, so
you can just ignore it and hope that it will get fixed in
the future. If you want to persue this, you should approach
the libtool developers and see if they are aware of this and
how you can assist in helping them fix this.

In curl's autobuild, I've made this warning get ignored by
the status display scripts.

I'm closing this report.

Feel free to object, I'll reopen this if you can show how
this is "our" fault.

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

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