Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

configure: error: C++ compiler cannot create executables #10

Closed
mikroskeem opened this issue Nov 20, 2018 · 2 comments
Closed

configure: error: C++ compiler cannot create executables #10

mikroskeem opened this issue Nov 20, 2018 · 2 comments
Assignees
Labels
bug Something isn't working priority/high High priority stage0 Stage 0 issues toolchain musl-toolchain related issues

Comments

@mikroskeem
Copy link
Owner

configure:2749: checking for C++ compiler default output file name
configure:2771: g++    conftest.cpp  >&5
/tools/lib/gcc/x86_64-unknown-linux-musl/8.2.0/../../../../x86_64-unknown-linux-musl/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
configure:2775: $? = 1
configure:2813: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "LZMA"
| #define PACKAGE_TARNAME "lzma"
| #define PACKAGE_VERSION "4.32.7"
| #define PACKAGE_STRING "LZMA 4.32.7"
| #define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
| #define NDEBUG 1
| #define PACKAGE "lzma"
| #define VERSION "4.32.7"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2819: error: C++ compiler cannot create executables
See `config.log' for more details.

Solution: install libstdc++

@mikroskeem mikroskeem added bug Something isn't working stage0 Stage 0 issues toolchain musl-toolchain related issues priority/high High priority labels Nov 20, 2018
@mikroskeem mikroskeem self-assigned this Nov 20, 2018
@mikroskeem
Copy link
Owner Author

Note: I should use xz anyway but this doesn't change the fact that C++ is broken

@mikroskeem
Copy link
Owner Author

Fixed in 0fd0de0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working priority/high High priority stage0 Stage 0 issues toolchain musl-toolchain related issues
Projects
None yet
Development

No branches or pull requests

1 participant