I am running GENTOO Linux. I get a compile error when
trying to build wget 1.9.1.
[EMAIL PROTECTED] wget-1.9.1 $ make
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=''
JASON JESSO [EMAIL PROTECTED] writes:
I rename the GETALL to GETALLJJ as to avoid the
conflict. Now I get linker errors:
gcc -O2 -Wall -Wno-implicit -o wget cmpt.o connect.o
convert.o cookies.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
JASON JESSO [EMAIL PROTECTED] writes:
[...]
I found that GETALL conflicts with other headers on
the system.
We can easily rename GETALL to GLOB_GETALL or something like that and
will do so for the next release. Thanks for the report.
I now see the cause of the linking problem: Apache's fnmatch.h is
shadowing the system one. Either remove Apache's bogus fnmatch.h or
remove the code that defines SYSTEM_FNMATCH in sysdep.h.
I wonder if Apache does the fnmatch clobbering by default, or if the
system integrators botch things up.
Hi again,
Well, sorry if it's all nonsense now: Last year I sent the
following mail, and got a reply confirming this bug and that it
may be changed to use pid instead of a serial in log filename.
Recently I was doing a project and had the same problem, I found
an atomic solution for that in man