linux, a machine with ssl libs and headers installed in /usr/local .
Current cvs sources,

make -f Makefile.cvs
./configure --with-ssl
make

works flawlessly. On the other hand, starting over again with clean
sources, 

make -f Makefile.cvs
./configure
make
./configure --with-ssl
make

fails with

cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\"' CFLAGS='-O2 -Wall
-Wno-implicit' LDFLAGS='-L/usr/local/ssl/lib -R/usr/local/ssl/lib '
LIBS='-lssl -lcrypto -lcrypto -ldl ' prefix='/usr/local'
exec_prefix='/usr/local' bindir='/usr/local/bin'
infodir='/usr/local/info' mandir='/usr/local/man' manext='1'
make[1]: Entering directory `/dati/home/herold/wget/src'
gcc -I. -I. -I/usr/local/ssl/include   -DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c
gen_sslfunc.c
/bin/sh ../libtool gcc -O2 -Wall -Wno-implicit -L/usr/local/ssl/lib
-R/usr/local/ssl/lib  -o wget  cmpt.o connect.o cookies.o fnmatch.o
ftp.o ftp-basic.o ftp-ls.o ftp-opie.o  hash.o headers.o host.o
html-parse.o html-url.o http.o init.o log.o main.o gen-md5.o netrc.o
progress.o rbuf.o recur.o res.o retr.o safe-ctype.o snprintf.o
gen_sslfunc.o url.o utils.o version.o -lssl -lcrypto -lcrypto -ldl
gcc -O2 -Wall -Wno-implicit -o wget cmpt.o connect.o cookies.o fnmatch.o
ftp.o ftp-basic.o ftp-ls.o ftp-opie.o hash.o headers.o host.o
html-parse.o html-url.o http.o init.o log.o main.o gen-md5.o netrc.o
progress.o rbuf.o recur.o res.o retr.o safe-ctype.o snprintf.o
gen_sslfunc.o url.o utils.o version.o  -L/usr/local/ssl/lib -lssl
-lcrypto -lcrypto -ldl -Wl,--rpath -Wl,/usr/local/ssl/lib
gen-md5.o: In function `gen_md5_init':
gen-md5.o(.text+0x13): undefined reference to `md5_init_ctx'
gen-md5.o: In function `gen_md5_update':
gen-md5.o(.text+0x29): undefined reference to `md5_process_bytes'
gen-md5.o: In function `gen_md5_finish':
gen-md5.o(.text+0x3a): undefined reference to `md5_finish_ctx'
collect2: ld returned 1 exit status

on the other hand,

make clean ; make

does work correctly. Is this supposed to happen ? I suppose relevant
objects are not recompiled after ./configure --with-ssl, shouldn't the
generated Makefile handle this ? Could some dependencies be missing ?
 
Heiko

-- 
-- PREVINET S.p.A.            [EMAIL PROTECTED]
-- Via Ferretto, 1            ph  x39-041-5907073
-- I-31021 Mogliano V.to (TV) fax x39-041-5907087
-- ITALY

Reply via email to