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

Use the ! prefix introduced in gcc4mbed for mbed examples #304

Merged
merged 1 commit into from
Mar 22, 2018

Conversation

naoki-mizuno
Copy link
Contributor

Follows the changes introduced in the following commit:
adamgreen/gcc4mbed@7d79ef3

Refer to adamgreen/gcc4mbed#64 for more details.

Without these changes, I get the following linker error when compiling:

Linking NUCLEO_F401RE/rosserial_mbed_Blink.elf
KL25Z/Blink.o: In function `ros::NodeHandle_<MbedHardware, 25, 25, 512, 512, ros::DefaultReadOutBuffer_>::setNow(ros::Time&)':
/home/naoki/ros/ubuntu/lib/ros_lib/ros/node_handle.h:393: undefined reference to `normalizeSecNSec'
collect2: error: ld returned 1 exit status
make: *** [KL25Z/rosserial_mbed_Blink.elf] Error 1
make: *** Waiting for unfinished jobs....
LPC1768/Blink.o: In function `ros::NodeHandle_<MbedHardware, 25, 25, 512, 512, ros::DefaultReadOutBuffer_>::setNow(ros::Time&)':
/home/naoki/ros/ubuntu/lib/ros_lib/ros/node_handle.h:393: undefined reference to `normalizeSecNSec'
collect2: error: ld returned 1 exit status
make: *** [LPC1768/rosserial_mbed_Blink.elf] Error 1
NUCLEO_F401RE/Blink.o: In function `ros::NodeHandle_<MbedHardware, 25, 25, 512, 512, ros::DefaultReadOutBuffer_>::setNow(ros::Time&)':
/home/naoki/ros/ubuntu/lib/ros_lib/ros/node_handle.h:393: undefined reference to `normalizeSecNSec'
collect2: error: ld returned 1 exit status
make: *** [NUCLEO_F401RE/rosserial_mbed_Blink.elf] Error 1

Follows the changes introduced in the following commit:
adamgreen/gcc4mbed@7d79ef3

Refer to adamgreen/gcc4mbed#64 for more details.
@mikepurvis
Copy link
Member

Looks good, thanks.

@garyservin LMK if you have concerns here.

@mikepurvis mikepurvis merged commit 140dcd3 into ros-drivers:jade-devel Mar 22, 2018
@garyservin
Copy link
Contributor

Looks good to me, thanks!

@naoki-mizuno
Copy link
Contributor Author

Thanks for merging!

@naoki-mizuno naoki-mizuno deleted the gcc4mbed-new-prefix branch March 22, 2018 14:54
romainreignier pushed a commit to 1r0b1n0/rosserial that referenced this pull request Nov 7, 2018
…am to jade-devel

* commit 'a707373c7e9f9ad40ad9440550840e29960c9290':
  Changed hardcoded pin 13 to LED_BUILTIN (ros-drivers#328)
  Re-attempting rosserial for VEX Cortex (ros-drivers#380)
  Added service to force an Arduino hard reset in serial_node.py (ros-drivers#349)
  Fix compiling on boost > 1.66 (ros-drivers#362)
  Use the ! prefix introduced in gcc4mbed for mbed examples (ros-drivers#304)
  Add support for boolean parameters (ros-drivers#355)
  Change Travis to use clang-5.0.0 (ros-drivers#363)
  [python] fix an unboundlocalerror (ros-drivers#346)
  Added ESP32 support (ros-drivers#345)
  Retry opening the serial port every 3 seconds (ros-drivers#342)
  In rosserial_arduino, changed embedded type size for ROS uint64 to 8 bytes from 4. (ros-drivers#312)
  0.7.7
  Changes
  Copy src/examples to install dir so make_libraries.py doesn't fail (ros-drivers#336)
  Add overall spin timeout to rosserial read. (ros-drivers#334)
  Fixing formatting on files. (ros-drivers#333)
  Fix catkin lint errors (ros-drivers#296)
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

Successfully merging this pull request may close these issues.

None yet

3 participants