Skip to content
New issue

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

compilation fail on armv7 (raspberry pi 3 B, raspbian) #512

Open
ghost opened this issue Dec 31, 2016 · 9 comments
Open

compilation fail on armv7 (raspberry pi 3 B, raspbian) #512

ghost opened this issue Dec 31, 2016 · 9 comments
Labels
cmake compilation-issue enhancement request/proposal to add a new feature

Comments

@ghost
Copy link

ghost commented Dec 31, 2016

1%] Built target OpenSpades_Resources
[ 1%] Built target OpenSpades_Unix
[ 5%] Built target Angelscript_addons
[ 17%] Built target Angelscript
[ 17%] Linking CXX executable ../bin/openspades
../lib/libAngelscript.a(as_callfunc.cpp.o): In function CallSystemFunction(int, asCContext*)': as_callfunc.cpp:(.text+0x2c4): undefined reference to CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, unsigned long*, void*, unsigned long long&, void*)'
collect2: error: ld returned 1 exit status
Sources/CMakeFiles/OpenSpades.dir/build.make:5748: recipe for target 'bin/openspades' failed
make[2]: *** [bin/openspades] Error 1
CMakeFiles/Makefile2:224: recipe for target 'Sources/CMakeFiles/OpenSpades.dir/all' failed
make[1]: *** [Sources/CMakeFiles/OpenSpades.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

do i need some extra build parameters or edit the makefile?

i have all dependecies and the extra dependencies (for if the requirements bug happens)

@noway
Copy link
Contributor

noway commented Dec 31, 2016

Someone tried compiling and compiled it I think, hopefully they could shed some light on how it can be done. Also would be good to add it to wiki

@ghost
Copy link
Author

ghost commented Dec 31, 2016

i think the limking CXX executable is not possible due to raspbian. is there any way to remove or disable the command linking in the makefile/sourcecode?

@feikname
Copy link
Collaborator

feikname commented Dec 31, 2016

Could you please try to apply the suggested changes for CMake mentioned in #416? I was going to try to solve this issue, but unfortunately, I don't have an raspberry.

@feikname feikname added bug some feature is broken duplicate labels Jan 1, 2017
@feikname
Copy link
Collaborator

feikname commented Jan 1, 2017

I marked the issue as duplicate, however, please continue the original discussion in this thread for a while

@ghost
Copy link
Author

ghost commented Jan 1, 2017

he compiled it on armv6 probably a raspberry pi or pi 2. armv6 and a raspberry pi 3B are different from eachoter

@ghost
Copy link
Author

ghost commented Jan 1, 2017

im trying to compile it again with the new CMakeLists.txt from jextrevor. i hope it works

@ghost ghost changed the title compilation fail on armv7 (raspberry pi 3, raspbian) compilation fail on armv7 (raspberry pi 3 B, raspbian) Jan 1, 2017
@ghost
Copy link
Author

ghost commented Jan 2, 2017

nope. i cannot compile it with the cmakelists.txt. i changed it so it would support armv7vl but no

i think openspades does not support openspades

@feikname
Copy link
Collaborator

feikname commented Jan 9, 2017

I will close this one and leave the dicussion at #416

@feikname feikname closed this as completed Jan 9, 2017
@feikname feikname added cmake compilation-issue enhancement request/proposal to add a new feature and removed duplicate bug some feature is broken labels Mar 18, 2017
@feikname
Copy link
Collaborator

he compiled it on armv6 probably a raspberry pi or pi 2. armv6 and a raspberry pi 3B are different from eachoter

@Tapmemer I am deeply sorry, I totally missed your comment. Although related, those issues should probably be kept apart.

@feikname feikname reopened this Mar 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake compilation-issue enhancement request/proposal to add a new feature
Projects
None yet
Development

No branches or pull requests

2 participants