Ok, it compiles well if I configure without "--with-modules" but I can compile the v4.3.3 with this flag without problems, why I can't with the git version?

El vie 18 nov 2011 14:07:33 CET, Simón escribió:
Thanks. I'm trying to compile this git version but I can't:
....
/bin/bash ../libtool --silent --tag=CXX --mode=link gcc -fPIC -O2 -Wall -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both -fivopts -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,relro -o example1-cmd example1-cmd.o liblftp-jobs.la -lutil -ltinfo -ldl -lsupc++ /usr/bin/ld: example1-cmd.o: undefined reference to symbol 'SMTask::Delete(SMTask*)' /usr/bin/ld: note: 'SMTask::Delete(SMTask*)' is defined in DSO /home/simon/sources/lftp.git/src/.libs/liblftp-tasks.so.0 so try adding it to the linker command line /home/simon/sources/lftp.git/src/.libs/liblftp-tasks.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [example1-cmd] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: lftp.o: undefined reference to symbol 'rpl_fcntl'
/usr/bin/ld: note: 'rpl_fcntl' is defined in DSO /home/simon/sources/lftp.git/src/.libs/liblftp-tasks.so.0 so try adding it to the linker command line /home/simon/sources/lftp.git/src/.libs/liblftp-tasks.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [lftp] Error 1
mv -f .deps/SFtp.Tpo .deps/SFtp.Plo
mv -f .deps/ftpclass.Tpo .deps/ftpclass.Plo
mv -f .deps/Torrent.Tpo .deps/Torrent.Plo
make[1]: Leaving directory `/home/simon/sources/lftp.git/src'
make: *** [all-recursive] Error 1

I configure with: ./configure --with-modules --with-pager=/usr/bin/less

Regards.
El vie 18 nov 2011 13:30:11 CET, Alexander V. Lukyanov escribió:
I have committed this improvement to git repository.

---
Reply to this email directly or view it on GitHub:
https://github.com/lavv17/lftp/issues/6#issuecomment-2788587
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to