You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using openambit on Xubuntu 18.04 and 20.04 without problems. Currently I installed Xubuntu 22.04 and also tried to install openambit suite, but the installation is not going as planned...
Trying to build using the command $ sudo ./build.sh returns erros:
/usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit_navigation.c.o:(.rodata+0x0): multiple definition of ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit_navigation.c.o:(.rodata+0x30): multiple definition of ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined here
/usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit3.c.o:(.rodata+0x0): multiple definition of ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit3.c.o:(.rodata+0x30): multiple definition of ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined here
/usr/bin/ld: CMakeFiles/ambit.dir/device_support.c.o:(.rodata+0x0): multiple definition of ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/device_support.c.o:(.rodata+0x30): multiple definition of ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined here
/usr/bin/ld: CMakeFiles/ambit.dir/libambit.c.o:(.rodata+0x0): multiple definition of ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/libambit.c.o:(.rodata+0x30): multiple definition of ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ambit.dir/build.make:354: libambit.so.0.4.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ambit.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The problem probably arises from cmake (current version: 3.22.1) - the problem might lie in the sequence of defining header files .h and programe files .c, but I do not posses the knowledge to solve the problem.
Using OS 18.04 and 20.04 the upper mention problems are not present.
The text was updated successfully, but these errors were encountered:
I was using openambit on Xubuntu 18.04 and 20.04 without problems. Currently I installed Xubuntu 22.04 and also tried to install openambit suite, but the installation is not going as planned...
Trying to build using the command $ sudo ./build.sh returns erros:
/usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit_navigation.c.o:(.rodata+0x0): multiple definition of
ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit_navigation.c.o:(.rodata+0x30): multiple definition of
ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined here/usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit3.c.o:(.rodata+0x0): multiple definition of
ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/device_driver_ambit3.c.o:(.rodata+0x30): multiple definition of
ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined here/usr/bin/ld: CMakeFiles/ambit.dir/device_support.c.o:(.rodata+0x0): multiple definition of
ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/device_support.c.o:(.rodata+0x30): multiple definition of
ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined here/usr/bin/ld: CMakeFiles/ambit.dir/libambit.c.o:(.rodata+0x0): multiple definition of
ambit_waypoint_types_from_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x0): first defined here /usr/bin/ld: CMakeFiles/ambit.dir/libambit.c.o:(.rodata+0x30): multiple definition of
ambit_waypoint_types_to_movescount'; CMakeFiles/ambit.dir/device_driver_ambit.c.o:(.rodata+0x30): first defined herecollect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ambit.dir/build.make:354: libambit.so.0.4.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ambit.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The problem probably arises from cmake (current version: 3.22.1) - the problem might lie in the sequence of defining header files .h and programe files .c, but I do not posses the knowledge to solve the problem.
Using OS 18.04 and 20.04 the upper mention problems are not present.
The text was updated successfully, but these errors were encountered: