I am getting the following error during make
...[clip]...
make[1]: Entering directory `/usr/src/lftp-3.7.5/src'
...[clip]...
copying selected object files to avoid basename conflicts...
/bin/sh ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT Job.lo -MD -MP -MF .deps/Job.Tpo -c -o Job.lo Job.cc
mv -f .deps/Job.Tpo .deps/Job.Plo
/bin/sh ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT CmdExec.lo -MD -MP -MF .deps/CmdExec.Tpo -c -o CmdExec.lo CmdExec.cc
mv -f .deps/CmdExec.Tpo .deps/CmdExec.Plo
/bin/sh ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT commands.lo -MD -MP -MF .deps/commands.Tpo -c -o commands.lo commands.cc
commands.cc: In member function 'Job* CmdExec::builtin_exit()':
commands.cc:706: error: 'waitpid' was not declared in this scope
make[1]: *** [commands.lo] Error 1
make[1]: Leaving directory `/usr/src/lftp-3.7.5/src'
make: *** [all-recursive] Error 1

___Here's the output from configure
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for bison... bison -y
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking how to link simple c++ programs... using gcc
checking if gcc supports -fno-exceptions -fno-rtti... yes
checking if -fno-implement-inlines implements virtual functions... yes
checking if c++ compiler works... yes
checking if c++ compiler can handle dynamic initializers... yes
checking whether gcc supports bool type... yes
checking whether gcc supports _Bool type... no
checking whether gcc understands ANSI scoping rules... yes
checking for strerror in -lcposix... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... gcc -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for working alloca.h... yes
checking for alloca... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking for unistd.h... (cached) yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inttypes.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking whether the preprocessor supports include_next... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... no
checking for mbstate_t... yes
checking for btowc... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... yes
checking for getlogin_r... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for fstatat... yes
checking for getpwnam_r... yes
checking for isascii... yes
checking for mbsinit... yes
checking for alarm... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking for wcscoll... yes
checking for setenv... yes
checking for mblen... yes
checking for mbrlen... yes
checking for tzset... yes
checking for lstat... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for compound literals... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... yes
checking whether getlogin is declared... yes
checking whether getlogin_r is declared... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking whether <sys/socket.h> is self-contained... yes
checking for shutdown... yes
checking whether <sys/socket.h> defines the SHUT_* macros... yes
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether stdint.h conforms to C99... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking whether imaxabs is declared... yes
checking whether imaxdiv is declared... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking for nl_langinfo and CODESET... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking for working strerror function... yes
checking whether strtok_r is declared... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking for wint_t... yes
checking for wchar_t... yes
checking for alloca as a compiler built-in... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for library containing clock_gettime... -lrt
checking for clock_gettime... yes
checking for clock_settime... yes
checking for d_type member in directory struct... yes
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking if environ is properly declared... yes
checking for error_at_line... yes
checking for working GNU fnmatch... yes
checking for struct tm.tm_zone... yes
checking for gettimeofday with POSIX signature... yes
checking whether gettimeofday clobbers localtime buffer... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for GNU glob interface version 1... yes
checking whether glob lists broken symlinks... no
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking for iconv declaration... (cached)
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for inet_pton... yes
checking whether inet_pton is declared... yes
checking whether the compiler generally respects inline... yes
checking whether inttypes.h conforms to C99... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... no
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking whether memmem works in linear time... no
checking for memmem... (cached) yes
checking for mempcpy... (cached) yes
checking for working mktime... yes
checking whether <netinet/in.h> is self-contained... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for poll... yes
checking for mbstate_t... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... (cached) yes
checking for working re_compile_pattern... yes
checking for socklen_t... yes
checking for ssize_t... yes
checking whether stdint.h conforms to C99... (cached) yes
checking for struct random_data... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... yes
checking for strptime... yes
checking whether <inttypes.h> defines strtoimax as a macro... no
checking for strtoimax... yes
checking for strtok_r... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoul... yes
checking for strtoull... yes
checking whether <inttypes.h> defines strtoumax as a macro... no
checking for strtoumax... yes
checking whether <sys/select.h> is self-contained... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether <sys/socket.h> is self-contained... (cached) yes
checking for shutdown... (cached) yes
checking whether <sys/socket.h> defines the SHUT_* macros... (cached) yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for nlink_t... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether localtime_r is compatible with its POSIX signature... yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether <wchar.h> is standalone... yes
checking whether iswcntrl works... yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing dlopen... -ldl
checking for library containing res_9_search... no
checking for library containing res_search... -lresolv
checking whether res_search is declared... yes
checking for library containing hstrerror... none required
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking ncurses/curses.h usability... yes
checking ncurses/curses.h presence... yes
checking for ncurses/curses.h... yes
checking ncurses/term.h usability... yes
checking ncurses/term.h presence... yes
checking for ncurses/term.h... yes
checking for library containing tigetstr... -lcurses
checking for tgetstr... yes
checking for readline... yes
checking for libgnutls-config... no
checking for libgnutls - version >= 1.0.0... no
*** The libgnutls-config script installed by LIBGNUTLS could not be found
*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBGNUTLS_CONFIG environment variable to the
*** full path to libgnutls-config.
checking for XML_ParserCreateNS in -lexpat... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking for library containing openpty... -lutil
checking for _getpty... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for libintl.h... yes
checking for fcntl.h... yes
checking for sys/time.h... (cached) yes
checking for errno.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for varargs.h... no
checking for dirent.h... (cached) yes
checking for termios.h... yes
checking for termio.h... yes
checking for sys/select.h... (cached) yes
checking for sys/stropts.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... yes
checking for netinet/in.h... (cached) yes
checking for netinet/tcp.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for termcap.h... yes
checking for resolv.h... yes
checking for langinfo.h... yes
checking for endian.h... yes
checking for locale.h... (cached) yes
checking for expat.h... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking if trio library is needed... no
checking for h_errno... yes
checking whether h_errno is declared... yes
checking for hstrerror... yes
checking whether hstrerror is declared... yes
checking for pid_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... (cached) inline
checking for off_t... yes
checking for size_t... yes
checking for struct sockaddr.sa_len... no
checking for struct tm.tm_zone... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking whether getpgrp requires zero arguments... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether stat file-mode macros are broken... (cached) no
checking whether sscanf works on const strings... yes
checking for strdup... yes
checking for strstr... yes
checking for lstat... (cached) yes
checking for lchown... yes
checking for select... yes
checking for killpg... yes
checking for setpgid... yes
checking for tcgetattr... yes
checking for ftruncate... yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for sscanf... yes
checking for gettimeofday... (cached) yes
checking for gethostbyname2... yes
checking for getipnodebyname... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for setsid... yes
checking for random... yes
checking for inet_aton... yes
checking for unsetenv... (cached) yes
checking for setlocale... yes
checking for nl_langinfo... yes
checking for dn_expand... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for an implementation of va_copy()... yes
checking for environ variable... yes
checking for memmove... yes
checking for strtok_r... (cached) yes
checking for memmem... (cached) yes
checking whether vsnprintf is declared... yes
checking whether snprintf is declared... yes
checking whether unsetenv is declared... yes
checking whether random is declared... yes
checking whether inet_aton is declared... yes
checking whether strptime is declared... yes
checking whether strtok_r is declared... (cached) yes
checking whether dn_expand is declared... yes
checking whether memmem is declared... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating trio/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

_____
> cat /proc/version
Linux version 2.6.24.7 ([EMAIL PROTECTED]) (gcc version 4.2.3) #2 Fri Aug 15 13:32:27 PDT 2008

> /lib/libc.so.6
GNU C Library stable release version 2.7, by Roland McGrath et al.
Compiled by GNU CC version 4.2.3.
Compiled on a Linux >>2.6.24.7<< system on 2008-07-12.
Available extensions:
       crypt add-on version 2.1 by Michael Glad and others
       Native POSIX Threads Library by Ulrich Drepper et al
       BIND-8.2.3-T5B

Thank you,
Stewart

Reply via email to