cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problem with 7.10.2-pre2 on cygwin

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Oct 2002 08:23:18 +0100 (MET)

On Tue, 29 Oct 2002, Roth, Kevin P. wrote:

> Here's the error. I don't think it's related to what I added, because that
> was only in src/main.c.

Right, this is not because of that fix.

> gcc -Wl,--base-file,.libs/cygcurl-2.dll-base -Wl,-e,__cygwin_dll_entry_at_12
> -o .libs/cygcurl-2.dll file.lo timeval.lo base64.lo hostip.lo progress.lo
> formdata.lo cookie.lo http.lo sendf.lo ftp.lo url.lo dict.lo if2ip.lo
> speedcheck.lo getdate.lo ldap.lo ssluse.lo version.lo getenv.lo escape.lo
> mprintf.lo telnet.lo getpass.lo netrc.lo getinfo.lo transfer.lo strequal.lo
> easy.lo security.lo krb4.lo memdebug.lo http_chunks.lo strtok.lo connect.lo
> llist.lo hash.lo multi.lo content_encoding.lo -lz -lssl -lcrypto -lz
> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libcygwin.a(libcmain.o)(.text+0x7c):
> undefined reference to `_WinMain_at_16'
> collect2: ld returned 1 exit status

Does the -no-undefined flag to libtool affect this perhaps?

I did upgrade automake and autoconf in my end so perhaps some things have
changed/broke because of this...

> Any idea what this is due to? Is there an easy way to see all files which
> changed between -pre1 and -pre2 so I can figure out where to start looking?

I don't know if this is easy for you, but:

$ diff -ru curl-7.10.2-pre1 curl-7.10.2-pre2 | grep "^+++" | awk '{print $2}'

Shows a list of files that looks like this:

curl-7.10.2-pre2/CHANGES
curl-7.10.2-pre2/Makefile.in
curl-7.10.2-pre2/aclocal.m4
curl-7.10.2-pre2/configure
curl-7.10.2-pre2/configure.in
curl-7.10.2-pre2/docs/HISTORY
curl-7.10.2-pre2/docs/MANUAL
curl-7.10.2-pre2/docs/Makefile.in
curl-7.10.2-pre2/docs/examples/Makefile.in
curl-7.10.2-pre2/docs/libcurl/Makefile.in
curl-7.10.2-pre2/include/Makefile.in
curl-7.10.2-pre2/include/curl/Makefile.in
curl-7.10.2-pre2/include/curl/curl.h
curl-7.10.2-pre2/lib/Makefile.in
curl-7.10.2-pre2/lib/Makefile.m32
curl-7.10.2-pre2/lib/README.memoryleak
curl-7.10.2-pre2/lib/config.h.in
curl-7.10.2-pre2/lib/cookie.c
curl-7.10.2-pre2/lib/formdata.c
curl-7.10.2-pre2/lib/ftp.c
curl-7.10.2-pre2/lib/getinfo.c
curl-7.10.2-pre2/lib/memdebug.h
curl-7.10.2-pre2/lib/strequal.h
curl-7.10.2-pre2/lib/transfer.c
curl-7.10.2-pre2/lib/url.c
curl-7.10.2-pre2/packages/EPM/Makefile.in
curl-7.10.2-pre2/packages/Linux/Makefile.in
curl-7.10.2-pre2/packages/Linux/RPM/Makefile.in
curl-7.10.2-pre2/packages/Makefile.in
curl-7.10.2-pre2/packages/Solaris/Makefile.in
curl-7.10.2-pre2/packages/Win32/Makefile.in
curl-7.10.2-pre2/packages/Win32/cygwin/Makefile.in
curl-7.10.2-pre2/src/Makefile.in
curl-7.10.2-pre2/src/Makefile.m32
curl-7.10.2-pre2/src/hugehelp.c
curl-7.10.2-pre2/src/main.c
curl-7.10.2-pre2/src/version.h
curl-7.10.2-pre2/tests/Makefile.in
curl-7.10.2-pre2/tests/data/Makefile.in
curl-7.10.2-pre2/tests/runtests.pl
curl-7.10.2-pre2/tests/server/Makefile.in

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-30