bnn-fpga
bnn-fpga copied to clipboard
There were some errors in compilation .
There were some errors when I compile the Makefile in bnn/cpp. Here is the log
#:~/work/accel/bnn-fpga-master/cpp$ make -j4 make -C minizip make[1]: Entering directory '/home/null/work/accel/bnn-fpga-master/cpp/minizip' cc -O -I../.. -DHAVE_AES -o miniunz miniunz.o unzip.o ioapi.o libaes.a -lz cc -O -I../.. -DHAVE_AES -o minizip minizip.o zip.o ioapi.o libaes.a -lz /usr/bin/ld: libaes.a(aescrypt.o): relocation R_X86_64_32 against symbol
t_fn' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: libaes.a(aeskey.o): relocation R_X86_64_32 against symbol
t_fl' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile:23: recipe for target 'miniunz' failed make[1]: *** [miniunz] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: libaes.a(entropy.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: libaes.a(aescrypt.o): relocation R_X86_64_32 against symbol
t_fn' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: libaes.a(aeskey.o): relocation R_X86_64_32 against symbol `t_fl' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile:26: recipe for target 'minizip' failed make[1]: *** [minizip] Error 1 make[1]: Leaving directory '/home/null/work/accel/bnn-fpga-master/cpp/minizip' Makefile:5: recipe for target 'all' failed make: *** [all] Error 2
I met the same problem, have you solved this issue?