Hello, I use lftp on the other machine with Redhat, now I've new one use rocklinux to manage cluster.
I've tried many way to install lftp into my new machine both compile source code and use RPM, but it's all fail. This is a latest path error message after I "make" ./.libs/cmd-mirror.a(MirrorJob.o): In function `cmd_mirror(CmdExec*)': MirrorJob.cc:(.text+0x250f): undefined reference to `operator delete(void*)' MirrorJob.cc:(.text+0x263e): undefined reference to `operator new(unsigned long)' MirrorJob.cc:(.text+0x2657): undefined reference to `operator new(unsigned long)' MirrorJob.cc:(.text+0x2796): undefined reference to `operator new(unsigned long)' ./.libs/cmd-mirror.a(MirrorJob.o): In function `MirrorJob::HandleFile(FileInfo*)': MirrorJob.cc:(.text+0x2c48): undefined reference to `operator new(unsigned long)' MirrorJob.cc:(.text+0x2c7f): undefined reference to `operator new(unsigned long)' ./.libs/cmd-mirror.a(MirrorJob.o):MirrorJob.cc:(.text+0x2cd6): more undefined references to `operator new(unsigned long)' follow ./.libs/cmd-mirror.a(MirrorJob.o): In function `MirrorJob::~MirrorJob()': MirrorJob.cc:(.text+0x59e): undefined reference to `operator delete(void*)' ./.libs/cmd-sleep.a(SleepJob.o): In function `SleepJob::~SleepJob()': SleepJob.cc:(.text+0xa8): undefined reference to `operator delete(void*)' ./.libs/cmd-sleep.a(SleepJob.o): In function `SleepJob::~SleepJob()': SleepJob.cc:(.text+0x118): undefined reference to `operator delete(void*)' ./.libs/cmd-sleep.a(SleepJob.o): In function `SleepJob::~SleepJob()': SleepJob.cc:(.text+0x188): undefined reference to `operator delete(void*)' ./.libs/cmd-sleep.a(SleepJob.o): In function `cmd_sleep(CmdExec*)': SleepJob.cc:(.text+0x40b): undefined reference to `operator new(unsigned long)' ./.libs/cmd-sleep.a(SleepJob.o): In function `SleepJob::Do()': SleepJob.cc:(.text+0x600): undefined reference to `operator new(unsigned long)' ./.libs/cmd-sleep.a(SleepJob.o): In function `cmd_repeat(CmdExec*)': SleepJob.cc:(.text+0x768): undefined reference to `operator new(unsigned long)' ./.libs/cmd-sleep.a(SleepJob.o): In function `cmd_at(CmdExec*)': SleepJob.cc:(.text+0x9ad): undefined reference to `operator new(unsigned long)' SleepJob.cc:(.text+0xa07): undefined reference to `operator new(unsigned long)' ./.libs/cmd-sleep.a(SleepJob.o): In function `SleepJob::~SleepJob()': SleepJob.cc:(.text+0xc6): undefined reference to `operator delete(void*)' collect2: ld returned 1 exit status make[1]: *** [lftp] Error 1 make[1]: Leaving directory `/root/lftp-3.1.4/src' make: *** [all-recursive] Error 1 Do you've an idea to help me? Regards, Viriya.
