| does not compile on FreeBSD-4.2 Stable. tried
doing "make openbsd" and "make netbsd" but to no
avail. here is the problem:
root:/home/qm/httrack-3.00-rc8/src>>./configure
Welcome to HTTrack Website Copier!
Type in ./configure --help for more details
If this script fails, you can enter supplemental
options thtough '--option=value'
or enter in manual make, through 'make help'
Checking for OS type.. Linux type
Checking for bin directory.. /usr/bin
Checking for long long.. not tested/supported. Use --
LONGLONG=1 to override
Checking for in_addr_t declaration
in /usr/include/arpa/inet.h.. not found, declaring
Checking for /usr/include/pthread.h.. library not
found, no threads will be available
Checking for /usr/include/pwd.h
and /usr/include/unistd.h.. found
Checking for perl.. found /usr/bin/perl
Ensuring that *.c/*.h source files don't contains CR
(^M).. done
Command: cat Makefile | sed -
e 's/__DEFINEPTH__/HTS_DO_NOT_USE_PTHREAD/' | sed -
e "s/__CFLAGS__/-O3 -Wall -Wcast-align -Wstrict-
prototypes -Wmissing-prototypes -Wmissing-
declarations -Wpointer-arith -Wnested-externs/g" |
sed -e 's/__LFLAGS__//g' | sed -e 's/__LFLAGS2__//g' |
sed -e 's/__DEFINE64B__/HTS_NO_64_BIT/' | sed -
e "s/__PLATFORM__/3/g" | sed -
e 's/#__AUTONAME__/AUTONAME = auto/' | sed -
e 's/#define __DEFINE.*__//g' | sed -
e "s/#__BINPATH__/BINPATH = \/usr\/bin/g" > __tmp; mv
__tmp Makefile
Makefile created!
Type in 'make' to build and 'make install' to install
root:/home/qm/httrack-3.00-rc8/src>>make
Building all, please wait
In case of problems, type in:
make help
OS TYPE:
Make mode:
gcc -O3 -Wall -Wcast-align -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wpointer-
arith -Wnested-externs httrack.o htsback.o htscache.o
htscatchurl.o htsfilters.o htsftp.o htshash.o
htshelp.o htsjava.o htslib.o htsmain.o htsname.o
htsrobots.o htstools.o htswizard.o htsalias.o
htsthread.o htsbauth.o htsmd5.o md5.o -o httrack
htslib.o: In function `mtime_local':
htslib.o(.text+0x43ca): undefined reference to `ftime'
htslib.o: In function `set_filetime':
htslib.o(.text+0x46a0): undefined reference to `ftime'
htslib.o: In function `set_filetime_rfc822': | |