Re: [Bug-wget] cookies.c:(.text+0xd6c): undefined reference to `psl_builtin_outdated'

2016-12-27 Thread Tim Rühsen
On Dienstag, 27. Dezember 2016 17:46:05 CET Thomas Schweikle wrote:
> Hi!
> 
> I am trying to compile wget 1.18 on CentOS 7.3 and receive following error:
> 
>   CC   exits.o
> if test -n ""; then cp "./build_info.c.in" .; fi
> /bin/perl "../build-aux/build_info.pl" \
> "../src/build_info.c"
> if test -n ""; then rm -f build_info.c.in; fi
>   CC   build_info.o
>   CC   metalink.o
> echo '/* version.c */' > version.c
> echo '/* Autogenerated by Makefile - DO NOT EDIT */' >> version.c
> echo '' >> version.c
> echo '#include "version.h"' >> version.c
> echo 'const char *version_string = "1.18.93-b9ed";' >> version.c
> echo 'const char *compilation_string = "'gcc -DHAVE_CONFIG_H
> -DSYSTEM_WGETRC=\"/etc/wgetrc\" -DLOCALEDIR=\"/usr/share/locale\" -I.
> -I../lib -I../lib   -DHAVE_LIBSSL -DNDEBUG '";' \
> 
> | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
> 
> echo 'const char *link_string = "'gcc  -DHAVE_LIBSSL -DNDEBUG  \
>   -lcares   -lpcre   -lmetalink   -lssl -lcrypto   -lz   -lpsl
> ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a  -lcrypto
> '";' \
> 
> | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
> 
>   CC   version.o
>   CC   ftp-opie.o
>   CC   openssl.o
>   CC   http-ntlm.o
>   CCLD wget
> cookies.o: In function `check_domain_match':
> cookies.c:(.text+0xd6c): undefined reference to `psl_builtin_outdated'
> collect2: error: ld returned 1 exit status
> make[3]: *** [wget] Error 1
> make[3]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build'
> make: *** [all] Fehler 2
> Build step 'Shell ausführen' marked build as failure

Hi,

either get a newer libpsl (recommended) or disable libpsl with './configure --
without-libpsl' (not recommended, but ok if you are not going to use cookies).

Tim


signature.asc
Description: This is a digitally signed message part.


[Bug-wget] cookies.c:(.text+0xd6c): undefined reference to `psl_builtin_outdated'

2016-12-27 Thread Thomas Schweikle
Hi!

I am trying to compile wget 1.18 on CentOS 7.3 and receive following error:

  CC   exits.o
if test -n ""; then cp "./build_info.c.in" .; fi
/bin/perl "../build-aux/build_info.pl" \
"../src/build_info.c"
if test -n ""; then rm -f build_info.c.in; fi
  CC   build_info.o
  CC   metalink.o
echo '/* version.c */' > version.c
echo '/* Autogenerated by Makefile - DO NOT EDIT */' >> version.c
echo '' >> version.c
echo '#include "version.h"' >> version.c
echo 'const char *version_string = "1.18.93-b9ed";' >> version.c
echo 'const char *compilation_string = "'gcc -DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/etc/wgetrc\" -DLOCALEDIR=\"/usr/share/locale\" -I.
-I../lib -I../lib   -DHAVE_LIBSSL -DNDEBUG '";' \
| sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
echo 'const char *link_string = "'gcc  -DHAVE_LIBSSL -DNDEBUG  \
  -lcares   -lpcre   -lmetalink   -lssl -lcrypto   -lz   -lpsl
ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a  -lcrypto
'";' \
| sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
  CC   version.o
  CC   ftp-opie.o
  CC   openssl.o
  CC   http-ntlm.o
  CCLD wget
cookies.o: In function `check_domain_match':
cookies.c:(.text+0xd6c): undefined reference to `psl_builtin_outdated'
collect2: error: ld returned 1 exit status
make[3]: *** [wget] Error 1
make[3]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build'
make: *** [all] Fehler 2
Build step 'Shell ausführen' marked build as failure

-- 
Thomas