Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

cannot find -l1 #300

Open
mingzhang96 opened this issue Feb 25, 2020 · 0 comments
Open

cannot find -l1 #300

mingzhang96 opened this issue Feb 25, 2020 · 0 comments

Comments

@mingzhang96
Copy link

I am trying to build caffe on CentOS7. I just cp Makefile.config.example to Makefile.config and make all, and then something goes wrong.

CXX tools/train_net.cpp
CXX tools/upgrade_net_proto_binary.cpp
CXX tools/upgrade_net_proto_text.cpp
CXX tools/upgrade_solver_proto_text.cpp
CXX examples/cifar10/convert_cifar_data.cpp
CXX examples/cpp_classification/batch_classification.cpp
CXX examples/cpp_classification/classification.cpp
CXX examples/mnist/convert_mnist_data.cpp
CXX examples/siamese/convert_mnist_siamese_data.cpp
CXX examples/ssd/ssd_detect.cpp
AR -o .build_release/lib/libcaffe.a
basename: missing operand
Try 'basename --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
LD -o .build_release/lib/libcaffe.so.1.1.6
/usr/bin/ld: cannot find -l1
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status
make: *** [.build_release/lib/libcaffe.so.1.1.6] Error 1
make: *** Waiting for unfinished jobs....

Could anybody please give me a hand? Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant