We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Building the tools with make tools fails due to an unrecognized command-line option.
make tools
To Reproduce Steps to reproduce the behavior:
Expected behavior The tools compile without incident, that I may compile the game proper for my Wii U.
Screenshots Terminal output
halian …/sm64ex-alo master ! ♥ 06:38 make tools Building tools... audiofile.cpp:3565:47: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 3565 | struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType> | ^~~~~~~~~~~~~~ In file included from /opt/devkitpro/devkitPPC/powerpc-eabi/include/c++/13.2.0/string:49, from audiofile.cpp:1736: /opt/devkitpro/devkitPPC/powerpc-eabi/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ audiofile.cpp:3570:47: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 3570 | struct unsignedToSigned : public std::unary_function<SignedType, UnsignedType> | ^~~~~~~~~~~~~~ /opt/devkitpro/devkitPPC/powerpc-eabi/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ audiofile.cpp:3763:33: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 3763 | struct intToFloat : public std::unary_function<Arg, Result> | ^~~~~~~~~~~~~~ /opt/devkitpro/devkitPPC/powerpc-eabi/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ audiofile.cpp:3829:29: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 3829 | struct lshift : public std::unary_function<Arg, Result> | ^~~~~~~~~~~~~~ /opt/devkitpro/devkitPPC/powerpc-eabi/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ audiofile.cpp:3835:29: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 3835 | struct rshift : public std::unary_function<Arg, Result> | ^~~~~~~~~~~~~~ /opt/devkitpro/devkitPPC/powerpc-eabi/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ audiofile.cpp:3931:35: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 3931 | struct floatToFloat : public std::unary_function<Arg, Result> | ^~~~~~~~~~~~~~ /opt/devkitpro/devkitPPC/powerpc-eabi/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ powerpc-eabi-g++: error: unrecognized command-line option '-pthread'; did you mean '-fpthread'? make[1]: *** [Makefile:66: armips] Error 1 Makefile:460: *** Failed to build tools. Stop.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Can you change -pthread to -lpthread in tools/Makefile (line 49)?
-pthread
-lpthread
tools/Makefile
Sorry, something went wrong.
I changed -pthread to -lpthread on line 47 of tools/Makefile and it now fails with:
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld: cannot find -lpthread: No such file or directory
@halian Looking closely at the output, it seems like you are trying to build tools using a PowerPC target, are you using linux-wiiu?
No branches or pull requests
Describe the bug
Building the tools with
make tools
fails due to an unrecognized command-line option.To Reproduce
Steps to reproduce the behavior:
make tools
Expected behavior
The tools compile without incident, that I may compile the game proper for my Wii U.
ScreenshotsTerminal outputDesktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: