eeertekin / bbcp

Securely and quickly copy data from source to target.
GNU General Public License v3.0
194 stars 47 forks source link

Error while installing bbcp on raspberry pi - raspbian os #14

Open anarayn opened 4 years ago

anarayn commented 4 years ago

I am trying to install it on a raspberry pi device and there I am getting below error-

pi@pibox:~/bbcp/src $ make make[1]: Entering directory '/home/pi/bbcp/src' make[2]: Entering directory '/home/pi/bbcp/src' make[2]: No rule to make target 'makeLinuxarmv7l'. Stop. make[2]: Leaving directory '/home/pi/bbcp/src' Makefile:192: recipe for target 'Linux' failed make[1]: [Linux] Error 2 make[1]: Leaving directory '/home/pi/bbcp/src' Makefile:155: recipe for target 'all' failed make: *** [all] Error 2

could you please guide me in resolving this.

kserradell commented 2 years ago

Makefile does not have a section for your architecture.

You can add in src/Makefile, add the following (lines 214):

makeLinuxarmv7l:
        @make $(MKPARMS)  \
        CC=$(LNXCC) \
        BB=$(LNXcc) \
        CFLAGS="$(ENVCFLAGS) $(LNXOPT)" \
        BFLAGS="$(ENVCFLAGS) $(LNXOPT_B)" \
        INCLUDE="$(ENVINCLUDE)" \
        LIBS="$(LNXLIBS64)"