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

Trouble building indi-nexdome driver from git #212

Closed
xsnrg opened this issue Sep 2, 2020 · 3 comments
Closed

Trouble building indi-nexdome driver from git #212

xsnrg opened this issue Sep 2, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@xsnrg
Copy link
Collaborator

xsnrg commented Sep 2, 2020

/usr/bin/c++   -I/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome -I/usr/include/libindi -I/usr/include/libnova  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c++11 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -O1 -Wa,--noexecstack  -Wall -Wextra -Wno-unused-but-set-variable -Wno-format-truncation -g   -o CMakeFiles/indi_nexdome.dir/nex_dome.cpp.o -c /builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp
/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp: In member function 'virtual IPState NexDome::Park()':
/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp:712:46: error: 'ShutterParkPolicySP' was not declared in this scope; did you mean 'ShutterFactorySP'?
  712 |     if (HasShutter() && IUFindOnSwitchIndex(&ShutterParkPolicySP) == SHUTTER_CLOSE_ON_PARK)
      |                                              ^~~~~~~~~~~~~~~~~~~
      |                                              ShutterFactorySP
/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp:712:70: error: 'SHUTTER_CLOSE_ON_PARK' was not declared in this scope
  712 |     if (HasShutter() && IUFindOnSwitchIndex(&ShutterParkPolicySP) == SHUTTER_CLOSE_ON_PARK)
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp: In member function 'virtual IPState NexDome::UnPark()':
/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp:729:46: error: 'ShutterParkPolicySP' was not declared in this scope; did you mean 'ShutterFactorySP'?
  729 |     if (HasShutter() && IUFindOnSwitchIndex(&ShutterParkPolicySP) == SHUTTER_OPEN_ON_UNPARK)
      |                                              ^~~~~~~~~~~~~~~~~~~
      |                                              ShutterFactorySP
/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp:729:70: error: 'SHUTTER_OPEN_ON_UNPARK' was not declared in this scope
  729 |     if (HasShutter() && IUFindOnSwitchIndex(&ShutterParkPolicySP) == SHUTTER_OPEN_ON_UNPARK)
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome/nex_dome.cpp:743:1: warning: control reaches end of non-void function [-Wreturn-type]
  743 | }
      | ^
make[2]: *** [CMakeFiles/indi_nexdome.dir/build.make:86: CMakeFiles/indi_nexdome.dir/nex_dome.cpp.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome'
make[1]: Leaving directory '/builddir/build/BUILD/indi-3rdparty-master/indi-nexdome'
make[1]: *** [CMakeFiles/Makefile2:99: CMakeFiles/indi_nexdome.dir/all] Error 2
make: *** [Makefile:153: all] Error 2

To Reproduce
On Fedora, perform the normal build routine, cmake;make

Expected behavior
build the driver without errors

Desktop (please complete the following information):

  • OS: Fedora 31 and 32 x86_64
  • git
@xsnrg xsnrg added the bug Something isn't working label Sep 2, 2020
@xsnrg
Copy link
Collaborator Author

xsnrg commented Sep 2, 2020

@knro
Copy link
Collaborator

knro commented Sep 3, 2020

libindi needs to be updated first since it depends on that.

@xsnrg
Copy link
Collaborator Author

xsnrg commented Sep 6, 2020

rebuilding did seem to fix it. Thanks!

@xsnrg xsnrg closed this as completed Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants