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

undefined reference error after upgrading ros-rolling-image-transport #292

Open
yinguoxiangyi opened this issue Oct 26, 2023 · 0 comments
Open

Comments

@yinguoxiangyi
Copy link

undefined reference error after upgrading ros-rolling-image-transport while compiling other packages

/usr/bin/ld: /opt/ros/rolling/lib/x86_64-linux-gnu/libimage_transport.so: undefined reference to `rclcpp::TimerBase::TimerBase(std::shared_ptr<rclcpp::Clock>, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, std::shared_ptr<rclcpp::Context>, bool)'
collect2: error: ld returned 1 exit status

the following is the output of upgrading. I test the 4.3.0 version which was built from repo, it works well.

$ sudo apt install ros-$ROS_DISTRO-image-transport ros-$ROS_DISTRO-image-publisher
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  nvidia-firmware-535-535.54.03 xbase-clients xserver-xorg-video-dummy
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  ros-rolling-image-publisher
The following packages will be upgraded:
  ros-rolling-image-transport
1 upgraded, 1 newly installed, 0 to remove and 547 not upgraded.
Need to get 516 kB of archives.
After this operation, 356 kB of additional disk space will be used.
Get:1 http://packages.ros.org/ros2/ubuntu jammy/main amd64 ros-rolling-image-transport amd64 4.5.1-1jammy.20231009.200836 [385 kB]
Get:2 http://packages.ros.org/ros2/ubuntu jammy/main amd64 ros-rolling-image-publisher amd64 3.0.1-2jammy.20231009.201550 [131 kB]
Fetched 516 kB in 4s (126 kB/s)
(Reading database ... 418776 files and directories currently installed.)
Preparing to unpack .../ros-rolling-image-transport_4.5.1-1jammy.20231009.200836
_amd64.deb ...
Unpacking ros-rolling-image-transport (4.5.1-1jammy.20231009.200836) over (4.3.0
-1jammy.20230621.233557) ...
Selecting previously unselected package ros-rolling-image-publisher.
Preparing to unpack .../ros-rolling-image-publisher_3.0.1-2jammy.20231009.201550
_amd64.deb ...
Unpacking ros-rolling-image-publisher (3.0.1-2jammy.20231009.201550) ...
Setting up ros-rolling-image-transport (4.5.1-1jammy.20231009.200836) ...
Setting up ros-rolling-image-publisher (3.0.1-2jammy.20231009.201550) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant