Skip to content

Error building in CMakeFiles/Makefile2 #401

@TheCheddarCheese

Description

@TheCheddarCheese

This might be related to my previous issue, although I honestly don't see the connection. Basically I replaced libgcrypt-config with pkg-config in cmake/Modules/FindLibGcrypt.cmake. That let me build with cmake, but when I run make -j4 I get this:

[ 86%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/base/ResourceTreeTest.cc.o
[ 88%] Linking CXX executable btest
/usr/bin/ld: cannot find -lPlease: No such file or directory
/usr/bin/ld: cannot find specify: No such file or directory
/usr/bin/ld: cannot find at: No such file or directory
/usr/bin/ld: cannot find least: No such file or directory
/usr/bin/ld: cannot find one: No such file or directory
/usr/bin/ld: cannot find package: No such file or directory
/usr/bin/ld: cannot find name: No such file or directory
/usr/bin/ld: cannot find on: No such file or directory
/usr/bin/ld: cannot find the: No such file or directory
/usr/bin/ld: cannot find command: No such file or directory
/usr/bin/ld: cannot find line.: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [libgrive/CMakeFiles/btest.dir/build.make:143: libgrive/btest] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: libgrive/CMakeFiles/btest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 89%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/base/StateTest.cc.o
[ 91%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/ConfigTest.cc.o
[ 93%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/DateTimeTest.cc.o
[ 94%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/FunctionTest.cc.o
[ 96%] Linking CXX executable grive
/usr/bin/ld: cannot find -lPlease: No such file or directory
/usr/bin/ld: cannot find specify: No such file or directory
/usr/bin/ld: cannot find at: No such file or directory
/usr/bin/ld: cannot find least: No such file or directory
/usr/bin/ld: cannot find one: No such file or directory
/usr/bin/ld: cannot find package: No such file or directory
/usr/bin/ld: cannot find name: No such file or directory
/usr/bin/ld: cannot find on: No such file or directory
/usr/bin/ld: cannot find the: No such file or directory
/usr/bin/ld: cannot find command: No such file or directory
/usr/bin/ld: cannot find line.: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [grive/CMakeFiles/grive_executable.dir/build.make:110: grive/grive] Error 1
make[1]: *** [CMakeFiles/Makefile2:216: grive/CMakeFiles/grive_executable.dir/all] Error 2
[ 98%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/SignalHandlerTest.cc.o
[100%] Linking CXX executable unittest
/usr/bin/ld: cannot find -lPlease: No such file or directory
/usr/bin/ld: cannot find specify: No such file or directory
/usr/bin/ld: cannot find at: No such file or directory
/usr/bin/ld: cannot find least: No such file or directory
/usr/bin/ld: cannot find one: No such file or directory
/usr/bin/ld: cannot find package: No such file or directory
/usr/bin/ld: cannot find name: No such file or directory
/usr/bin/ld: cannot find on: No such file or directory
/usr/bin/ld: cannot find the: No such file or directory
/usr/bin/ld: cannot find command: No such file or directory
/usr/bin/ld: cannot find line.: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [libgrive/CMakeFiles/unittest.dir/build.make:223: libgrive/unittest] Error 1
make[1]: *** [CMakeFiles/Makefile2:164: libgrive/CMakeFiles/unittest.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I tried debugging myself but that didn't really work because I've never worked with a makefile in my life. Maybe it's an issue with a separate package? Anyone have an idea what could be happening here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions