Help to link a prog static with libcurl, libssl and libcrypto.
Alexander Lazic
al-cygwin@none.at
Tue Feb 26 16:22:00 GMT 2002
Hi,
i want to compile the 'simple.c' staticly but i get many errors.
Progamm:
C:\cygwin\usr\src\curl-7.9.3-1\docs\examples\simple.c
I called gcc as follows:
gcc -v -o simple simple.c `curl-config --cflags` \
`curl-config --libs` -mno-cygwin -s -static > out.put 2>&1
I have attached the out.put file.
I have found the '-mno-cygwin' in the FAQ
'http://cygwin.com/faq/faq_4.html#SEC94' but not how i can solve these
Problem :-(
Thanx al lot of any Hints and tips (Url, Doc, Man, ...).
al ;-)
-------------- next part --------------
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Feb 27 00:37:48 2002
Windows 98 SE Ver 4.10 Build 2222
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINDOWS
c:\WINDOWS\COMMAND
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home\al'
MAKE_MODE = `unix'
PWD = `/home/al/projects/ssl-cprog'
USER = `al'
BLASTER = `A220 I7 D1 H7 P320 T6'
CMDLINE = `bash --login -i'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
MANPATH = `:/usr/ssl/man'
OLDPWD = `/cygdrive/d/Download/w3c-libwww-5.3.2/Library/Examples'
PROMPT = `$p$g'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SBPCI = `C:\SBPCI'
SHLVL = `1'
TEMP = `c:\WINDOWS\TEMP'
TERM = `cygwin'
TMP = `c:\WINDOWS\TEMP'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck.exe'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:/cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:/cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:/cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd FAT32 9529Mb 41% CP UN
d: hd FAT32 19444Mb 88% CP UN NEWSEC
e: cd CDFS 372Mb 100% UN WZ2100
f: cd N/A N/A
. /cygdrive user binmode,noumount
C:/cygwin / system binmode
C:/cygwin/bin /usr/bin system binmode
C:/cygwin/lib /usr/lib system binmode
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe
56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2000/11/21 0:53
107k 2002/01/23 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
"cygcurl-2.dll" v0.0 ts=2002/1/23 19:25
390k 2001/01/18 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2001/1/18 5:44
5k 2001/01/18 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2001/01/18 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2001/1/18 5:44
18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2000/10/23 4:26
21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 19:09
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 10:28
45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 7:28
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 7:27
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 7:17
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 7:27
35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 7:03
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 7:03
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 7:03
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 7:03
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/7 5:34
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/7 5:34
20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/1/13 2:27
121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/1/13 2:27
621k 2002/01/16 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002/1/16 10:54
156k 2002/01/16 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002/1/16 10:54
40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2001/11/21 23:15
39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2001/11/21 23:15
66k 2001/11/20 C:\cygwin\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0
"cygregex.dll" v0.0 ts=2001/11/20 15:44
50k 2002/01/20 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/1/20 20:41
35k 2002/02/04 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
"cygltdl-3.dll" v0.0 ts=2002/2/4 2:56
751k 2002/01/21 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002/1/21 18:48
Cygwin DLL version info:
DLL version: 1.3.9
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Mon Jan 21 12:48:41 EST 2002
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: D:\Download\cygwin
Last downloaded files from: ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus
Package Version
ash 20020131-1
autoconf 2.52a-1
autoconf-devel 2.52-4
autoconf-stable 2.13-4
automake 1.5b-1
automake-devel 1.5-5
automake-stable 1.4p5-5
bash 2.05a-3
binutils 20011002-1
bison 1.33-1
byacc 1.9-1
bzip2 1.0.1-6
curl 7.9.3-1
curl-src 7.9.3-1
cygutils 0.9.8-1
cygwin 1.3.9-1
diff 0.0
expect 20010117-1
fileutils 4.1-1
findutils 4.1
flex 2.5.4-1
gawk 3.0.4-1
gcc 2.95.3-5
gdbm 1.8.0-3
gdbm-src 1.8.0-3
ghostscript 6.51-3
grep 2.5g
groff 1.17.2-1
gzip 1.3.2-1
less 358-3
libintl 0.10.38-3
libintl1 0.10.40-1
libncurses5 5.2-1
libncurses6 5.2-8
libpng 1.0.12-1
libpng2 1.0.12-1
libreadline4 4.1-2
libreadline5 4.2a-1
libtool 20010531a-1
libtool-devel 20020202-1
libtool-stable 1.4.2-2
login 1.4-3
lynx 2.8.4-1
m4 0.0
make 3.79.1-5
man 1.5g-2
mingw-runtime 1.2-1
mingw-runtime-src 1.2-1
mktemp 1.4-1
ncftp 3.0.2-2
ncurses 5.2-8
newlib-man 20001118-1
openssh 3.0.2p1-5
openssl 0.9.6c-3
openssl-devel 0.9.6c-2
pcre 3.7-1
pcre-src 3.7-1
perl 5.6.1-2
popt 1.6.2-1
readline 4.2a-1
regex 4.4-2
regex-src 4.4-2
sed 3.02-1
sh-utils 2.0-2
sharutils 4.2.1-2
tar 1.13.19-1
termcap 20010825-1
terminfo 5.2-1
texinfo 4.0-5
textutils 2.0.16-1
unzip 5.41-1
vim 6.0.93-1
w32api 1.2-1
wget 1.8.1-1
which 1.5-1
zip 2.3-1
zlib 1.1.3-7
Use -h to see help about each section
-------------- next part --------------
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/cpp0.exe -lang-c -v -I/usr/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -D_X86_=1 -D_X86_=1 -Asystem(winnt) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__stdcall__)) -D_cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__MSVCRT__ -D__MINGW32__ -isystem /usr/local/include/mingw -idirafter /usr/include/mingw -DWIN32 -DWINNT -D_WIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -idirafter /usr/include/w32api curl_simple.c /cygdrive/c/WINDOWS/TEMP/cc12oxLf.i
GNU CPP version 2.95.3-5 (cygwin special) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/include
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/include
/usr/include/mingw
/usr/include/w32api
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/cc1.exe /cygdrive/c/WINDOWS/TEMP/cc12oxLf.i -quiet -dumpbase curl_simple.c -mno-cygwin -version -o /cygdrive/c/WINDOWS/TEMP/ccQoN9No.s
GNU C version 2.95.3-5 (cygwin special) (i686-pc-cygwin) compiled by GNU C version 2.95.3-5 (cygwin special).
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/as.exe -o /cygdrive/c/WINDOWS/TEMP/ccoE8Ttt.o /cygdrive/c/WINDOWS/TEMP/ccQoN9No.s
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2.exe -Bstatic --dll-search-prefix=cyg -o curl_simple.exe -s /usr/lib/mingw/crt2.o -L/usr/lib -L/usr/lib/mingw -L/usr/lib/w32api -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 /cygdrive/c/WINDOWS/TEMP/ccoE8Ttt.o -lcurl -lssl -lcrypto -lmingw32 -lgcc -lmoldname -lmsvcrt -lmingw32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmsvcrt
/usr/lib/libcurl.a(cookie.o): In function `Curl_cookie_add':
/usr/src/curl-7.9.3/cbld/lib/../../lib/cookie.c:194: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/../../lib/cookie.c:228: undefined reference to `strtok_r'
/usr/src/curl-7.9.3/cbld/lib/../../lib/cookie.c:238: undefined reference to `strtok_r'
/usr/lib/libcurl.a(cookie.o): In function `Curl_cookie_init':
/usr/src/curl-7.9.3/cbld/lib/../../lib/cookie.c:442: undefined reference to `_impure_ptr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/cookie.c:461: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(cookie.o): In function `Curl_cookie_output':
/usr/src/curl-7.9.3/cbld/lib/../../lib/cookie.c:630: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(url.o): In function `Curl_open':
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:234: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(url.o): In function `SocketIsDead':
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:1019: undefined reference to `select'
/usr/lib/libcurl.a(url.o): In function `CreateConnection':
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:1527: undefined reference to `strtok_r'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:1537: undefined reference to `strtok_r'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:1547: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:1570: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:1669: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:1728: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:2043: undefined reference to `sigaction'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:2052: undefined reference to `sigaction'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:2068: undefined reference to `alarm'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:2119: undefined reference to `sigaction'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:2141: undefined reference to `alarm'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:2149: undefined reference to `alarm'
/usr/src/curl-7.9.3/cbld/lib/../../lib/url.c:2238: undefined reference to `inet_ntoa'
/usr/lib/libcurl.a(transfer.o): In function `compareheader':
/usr/src/curl-7.9.3/cbld/lib/../../lib/transfer.c:145: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(transfer.o): In function `Curl_readwrite':
/usr/src/curl-7.9.3/cbld/lib/../../lib/transfer.c:552: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/../../lib/transfer.c:557: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(transfer.o): In function `Transfer':
/usr/src/curl-7.9.3/cbld/lib/../../lib/transfer.c:985: undefined reference to `select'
/usr/src/curl-7.9.3/cbld/lib/../../lib/transfer.c:991: undefined reference to `__errno'
/usr/lib/libcurl.a(hostip.o): In function `MakeIP':
/usr/src/curl-7.9.3/cbld/lib/../../lib/hostip.c:395: undefined reference to `inet_ntoa'
/usr/lib/libcurl.a(hostip.o): In function `Curl_getaddrinfo':
/usr/src/curl-7.9.3/cbld/lib/../../lib/hostip.c:437: undefined reference to `inet_addr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/hostip.c:504: undefined reference to `gethostbyname'
/usr/lib/libcurl.a(ssluse.o): In function `passwd_callback':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ssluse.c:72: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(ssluse.o): In function `Curl_SSLConnect':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ssluse.c:823: undefined reference to `select'
/usr/lib/libcurl.a(getdate.o): In function `LookupWord':
/usr/src/curl-7.9.3/cbld/lib/getdate.y:744: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/getdate.y:825: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(getdate.o): In function `Curl_gd_lex':
/usr/src/curl-7.9.3/cbld/lib/getdate.y:864: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/getdate.y:885: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/getdate.y:887: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(getdate.o): In function `curl_getdate':
/usr/src/curl-7.9.3/cbld/lib/getdate.y:945: undefined reference to `localtime_r'
/usr/lib/libcurl.a(netrc.o): In function `Curl_parsenetrc':
/usr/src/curl-7.9.3/cbld/lib/../../lib/netrc.c:92: undefined reference to `geteuid'
/usr/src/curl-7.9.3/cbld/lib/../../lib/netrc.c:92: undefined reference to `getpwuid'
/usr/src/curl-7.9.3/cbld/lib/../../lib/netrc.c:175: undefined reference to `strtok_r'
/usr/lib/libcurl.a(ldap.o): In function `DynaOpen':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ldap.c:76: undefined reference to `dlopen'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ldap.c:88: undefined reference to `dlopen'
/usr/lib/libcurl.a(ldap.o): In function `DynaClose':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ldap.c:97: undefined reference to `dlclose'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ldap.c:101: undefined reference to `dlclose'
/usr/lib/libcurl.a(ldap.o): In function `DynaGetFunction':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ldap.c:113: undefined reference to `dlsym'
/usr/lib/libcurl.a(telnet.o): In function `send_negotiation':
/usr/src/curl-7.9.3/cbld/lib/../../lib/telnet.c:265: undefined reference to `send'
/usr/lib/libcurl.a(telnet.o): In function `suboption':
/usr/src/curl-7.9.3/cbld/lib/../../lib/telnet.c:837: undefined reference to `send'
/usr/src/curl-7.9.3/cbld/lib/../../lib/telnet.c:859: undefined reference to `send'
/usr/lib/libcurl.a(telnet.o): In function `Curl_telnet':
/usr/src/curl-7.9.3/cbld/lib/../../lib/telnet.c:1153: undefined reference to `select'
/usr/lib/libcurl.a(ftp.o): In function `AllowServerConnect':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:130: undefined reference to `select'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:146: undefined reference to `getsockname'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:147: undefined reference to `accept'
/usr/lib/libcurl.a(ftp.o): In function `Curl_GetFTPResponse':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:242: undefined reference to `select'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:322: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(ftp.o): In function `getmyhost':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:398: undefined reference to `gethostname'
/usr/lib/libcurl.a(ftp.o): In function `ftp_pasv_verbose':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:887: undefined reference to `inet_addr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:931: undefined reference to `gethostbyaddr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:937: undefined reference to `inet_ntoa'
/usr/lib/libcurl.a(ftp.o): In function `ftp_use_port':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1223: undefined reference to `socket'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1240: undefined reference to `bind'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1245: undefined reference to `getsockname'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1252: undefined reference to `listen'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1288: undefined reference to `inet_ntoa'
/usr/lib/libcurl.a(ftp.o): In function `ftp_perform':
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1576: undefined reference to `localtime_r'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1748: undefined reference to `_imp___ctype_'
/usr/src/curl-7.9.3/cbld/lib/../../lib/ftp.c:1934: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(http.o): In function `Curl_ConnectHTTPProxyTunnel':
/usr/src/curl-7.9.3/cbld/lib/../../lib/http.c:326: undefined reference to `select'
/usr/lib/libcurl.a(http.o): In function `Curl_http':
/usr/src/curl-7.9.3/cbld/lib/../../lib/http.c:766: undefined reference to `gmtime_r'
/usr/src/curl-7.9.3/cbld/lib/../../lib/http.c:805: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(mprintf.o): In function `dprintf_DollarString':
/usr/src/curl-7.9.3/cbld/lib/../../lib/mprintf.c:155: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(mprintf.o): In function `curl_mprintf':
/usr/src/curl-7.9.3/cbld/lib/../../lib/mprintf.c:1103: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(mprintf.o): In function `curl_mvprintf':
/usr/src/curl-7.9.3/cbld/lib/../../lib/mprintf.c:1128: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(sendf.o): In function `curl_slist_append':
/usr/src/curl-7.9.3/cbld/lib/../../lib/sendf.c:96: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(sendf.o): In function `Curl_write':
/usr/src/curl-7.9.3/cbld/lib/../../lib/sendf.c:228: undefined reference to `send'
/usr/src/curl-7.9.3/cbld/lib/../../lib/sendf.c:234: undefined reference to `__errno'
/usr/lib/libcurl.a(sendf.o): In function `Curl_read':
/usr/src/curl-7.9.3/cbld/lib/../../lib/sendf.c:340: undefined reference to `recv'
/usr/src/curl-7.9.3/cbld/lib/../../lib/sendf.c:346: undefined reference to `__errno'
/usr/lib/libcurl.a(connect.o): In function `geterrno':
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:86: undefined reference to `__errno'
/usr/lib/libcurl.a(connect.o): In function `Curl_nonblock':
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:104: undefined reference to `fcntl'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:106: undefined reference to `fcntl'
/usr/lib/libcurl.a(connect.o): In function `waitconnect':
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:166: undefined reference to `select'
/usr/lib/libcurl.a(connect.o): In function `bindlocal':
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:237: undefined reference to `inet_addr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:249: undefined reference to `bind'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:254: undefined reference to `getsockname'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:261: undefined reference to `__errno'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:263: undefined reference to `__errno'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:266: undefined reference to `__errno'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:269: undefined reference to `__errno'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:272: undefined reference to `__errno'
/usr/lib/libcurl.a(connect.o):/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:277: more undefined references to `__errno' follow
/usr/lib/libcurl.a(connect.o): In function `socketerror':
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:321: undefined reference to `getsockopt'
/usr/lib/libcurl.a(connect.o): In function `Curl_connecthost':
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:469: undefined reference to `socket'
/usr/src/curl-7.9.3/cbld/lib/../../lib/connect.c:501: undefined reference to `connect'
/usr/lib/libcurl.a(timeval.o): In function `Curl_tvnow':
/usr/src/curl-7.9.3/cbld/lib/../../lib/timeval.c:60: undefined reference to `gettimeofday'
/usr/lib/libcurl.a(getpass.o): In function `getpass_r':
/usr/src/curl-7.9.3/cbld/lib/../../lib/getpass.c:132: undefined reference to `_impure_ptr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/getpass.c:136: undefined reference to `_impure_ptr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/getpass.c:143: undefined reference to `tcgetattr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/getpass.c:149: undefined reference to `tcsetattr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/getpass.c:190: undefined reference to `tcsetattr'
/usr/lib/libcurl.a(http_chunks.o): In function `Curl_httpchunk_read':
/usr/src/curl-7.9.3/cbld/lib/../../lib/http_chunks.c:110: undefined reference to `_imp___ctype_'
/usr/lib/libcurl.a(formdata.o): In function `FormParse':
/usr/src/curl-7.9.3/cbld/lib/../../lib/formdata.c:374: undefined reference to `_impure_ptr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/formdata.c:238: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(formdata.o): In function `FormAdd':
/usr/src/curl-7.9.3/cbld/lib/../../lib/formdata.c:844: undefined reference to `_impure_ptr'
/usr/lib/libcurl.a(formdata.o): In function `Curl_getFormData':
/usr/src/curl-7.9.3/cbld/lib/../../lib/formdata.c:1145: undefined reference to `_impure_ptr'
/usr/src/curl-7.9.3/cbld/lib/../../lib/formdata.c:1156: undefined reference to `_impure_ptr'
/usr/lib/libssl.a(s3_clnt.o)(.text+0xb4):s3_clnt.c: undefined reference to `__errno'
/usr/lib/libssl.a(s2_clnt.o)(.text+0xa8):s2_clnt.c: undefined reference to `__errno'
/usr/lib/libssl.a(s23_clnt.o)(.text+0xc8):s23_clnt.c: undefined reference to `__errno'
/usr/lib/libssl.a(ssl_cert.o)(.text+0xba4):ssl_cert.c: undefined reference to `__errno'
/usr/lib/libssl.a(s3_pkt.o)(.text+0x115):s3_pkt.c: undefined reference to `__errno'
/usr/lib/libssl.a(s3_pkt.o)(.text+0x90d):s3_pkt.c: more undefined references to `__errno' follow
/usr/lib/libcrypto.a(rand_egd.o)(.text+0xe0):rand_egd.c: undefined reference to `socket'
/usr/lib/libcrypto.a(rand_egd.o)(.text+0x100):rand_egd.c: undefined reference to `connect'
/usr/lib/libcrypto.a(rand_egd.o)(.text+0x280):rand_egd.c: undefined reference to `socket'
/usr/lib/libcrypto.a(rand_egd.o)(.text+0x2be):rand_egd.c: undefined reference to `connect'
/usr/lib/libcrypto.a(bss_sock.o)(.text+0x9a):bss_sock.c: undefined reference to `shutdown'
/usr/lib/libcrypto.a(bss_sock.o)(.text+0xdd):bss_sock.c: undefined reference to `__errno'
/usr/lib/libcrypto.a(bss_sock.o)(.text+0x137):bss_sock.c: undefined reference to `__errno'
/usr/lib/libcrypto.a(bss_sock.o)(.text+0x28a):bss_sock.c: undefined reference to `__errno'
/usr/lib/libcrypto.a(b_print.o)(.text+0x168):b_print.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(b_print.o)(.text+0x1c4):b_print.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(b_print.o)(.text+0xf9c):b_print.c: undefined reference to `__assert'
/usr/lib/libcrypto.a(b_print.o)(.text+0xfce):b_print.c: undefined reference to `__assert'
/usr/lib/libcrypto.a(b_print.o)(.text+0x1065):b_print.c: undefined reference to `__assert'
/usr/lib/libcrypto.a(rsa_sign.o)(.text+0x3f0):rsa_sign.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(bss_file.o)(.text+0x54):bss_file.c: undefined reference to `__errno'
/usr/lib/libcrypto.a(bss_file.o)(.text+0x56d):bss_file.c: undefined reference to `__errno'
/usr/lib/libcrypto.a(obj_dat.o)(.text+0x308c):obj_dat.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(obj_dat.o)(.text+0x30ae):obj_dat.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(obj_dat.o)(.text+0x30cc):obj_dat.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(obj_dat.o)(.text+0x30eb):obj_dat.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(obj_dat.o)(.text+0x3113):obj_dat.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(a_gentm.o)(.text+0x2db):a_gentm.c: undefined reference to `gmtime_r'
/usr/lib/libcrypto.a(uid.o)(.text+0x5):uid.c: undefined reference to `getuid'
/usr/lib/libcrypto.a(uid.o)(.text+0xc):uid.c: undefined reference to `geteuid'
/usr/lib/libcrypto.a(uid.o)(.text+0x16):uid.c: undefined reference to `getgid'
/usr/lib/libcrypto.a(uid.o)(.text+0x1d):uid.c: undefined reference to `getegid'
/usr/lib/libcrypto.a(pem_lib.o)(.text+0x1b0):pem_lib.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(v3_utl.o)(.text+0x7c4):v3_utl.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(v3_utl.o)(.text+0x9ba):v3_utl.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(rand_win.o)(.text+0x9f):rand_win.c: undefined reference to `getuid'
/usr/lib/libcrypto.a(bn_print.o)(.text+0x2e8):bn_print.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(bn_print.o)(.text+0x4c1):bn_print.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0xdc):read_pwd.c: undefined reference to `setjmp'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x12a):read_pwd.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x151):read_pwd.c: undefined reference to `tcgetattr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x160):read_pwd.c: undefined reference to `__errno'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x16a):read_pwd.c: undefined reference to `__errno'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x1c3):read_pwd.c: undefined reference to `tcsetattr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x1d5):read_pwd.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x1eb):read_pwd.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x224):read_pwd.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x23d):read_pwd.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x2d7):read_pwd.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x2ea):read_pwd.c: more undefined references to `_impure_ptr' follow
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x3c4):read_pwd.c: undefined reference to `tcsetattr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x3da):read_pwd.c: undefined reference to `_impure_ptr'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x441):read_pwd.c: undefined reference to `sigaction'
/usr/lib/libcrypto.a(read_pwd.o)(.text+0x48a):read_pwd.c: undefined reference to `sigaction'
/usr/lib/libcrypto.a(v3_conf.o)(.text+0x4a9):v3_conf.c: undefined reference to `_imp___ctype_'
/usr/lib/libcrypto.a(v3_conf.o)(.text+0x545):v3_conf.c: undefined reference to `_imp___ctype_'
collect2: ld returned 1 exit status
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list