Hi I download lftp 3.3.4 and tried to install it from the source files on my pc. The ./configure command seems to be OK, however I got a compilation error: ResMgr.cc:733: error: declaration of C function `long int random()' conflicts with /usr/include/stdlib.h:183: error: previous declaration `int random()' here ResMgr.cc:734: error: declaration of C function `void srandom(unsigned int)' conflicts with /usr/include/stdlib.h:184: error: previous declaration `long int srandom(unsigned int)' here
The same problem was already mentionned on this list some times ago (it was mentionned that lftp 3.0.13 was OK). Has a solution appears since ? Thanks in advance François Make output below: Making all in include Make[1]: Entering directory `/usr/src/lftp-3.3.4/include' Make all-am Make[2]: Entering directory `/usr/src/lftp-3.3.4/include' Make[2]: Leaving directory `/usr/src/lftp-3.3.4/include' Make[1]: Leaving directory `/usr/src/lftp-3.3.4/include' Making all in readline-4.3 Make[1]: Entering directory `/usr/src/lftp-3.3.4/readline-4.3' Make[1]: Nothing to be done for `all'. Make[1]: Leaving directory `/usr/src/lftp-3.3.4/readline-4.3' Making all in lib Make[1]: Entering directory `/usr/src/lftp-3.3.4/lib' Make[1]: Nothing to be done for `all'. Make[1]: Leaving directory `/usr/src/lftp-3.3.4/lib' Making all in doc Make[1]: Entering directory `/usr/src/lftp-3.3.4/doc' Make[1]: Nothing to be done for `all'. Make[1]: Leaving directory `/usr/src/lftp-3.3.4/doc' Making all in src Make[1]: Entering directory `/usr/src/lftp-3.3.4/src' if /bin/sh ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT ResMgr.lo -MD -MP -MF ".deps/ResMgr.Tpo" -c -o ResMgr.lo ResMgr.cc; \ then mv -f ".deps/ResMgr.Tpo" ".deps/ResMgr.Plo"; else rm -f ".deps/ResMgr.Tpo"; exit 1; fi Make[1]: Leaving directory `/usr/src/lftp-3.3.4/src' ResMgr.cc:733: error: declaration of C function `long int random()' conflicts with /usr/include/stdlib.h:183: error: previous declaration `int random()' here ResMgr.cc:734: error: declaration of C function `void srandom(unsigned int)' conflicts with /usr/include/stdlib.h:184: error: previous declaration `long int srandom(unsigned int)' here Make[1]: *** [ResMgr.lo] Error 1 Make: *** [all-recursive] Error 1
