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

C, global variable declarations should not be made in header files. #590

Open
tigakub opened this issue Jan 14, 2023 · 0 comments
Open

C, global variable declarations should not be made in header files. #590

tigakub opened this issue Jan 14, 2023 · 0 comments

Comments

@tigakub
Copy link

tigakub commented Jan 14, 2023

ISSUE TEMPLATE ver. 1.2.0

Please fill this template for more accurate and prompt support.

  1. Which DYNAMIXEL SDK version do you use? 3.7.51
  2. Which programming language/tool do you use? C, C++, Python
  3. Which operating system do you use? Ubuntu 16.04, OS X 10.14
  4. Which USB serial converter do you use? USB2AX
  5. Which DYNAMIXEL do you use? AX12 AX18 MX28 MX64
  6. Have you searched the issue from the closed issue threads? Yes
  7. Please describe the issue in detail

packetData (in packet_handler.h), g_used_port_num and g_is_using (both in port_handler.h) are missing the extern prefix resulting in them being defined in multiple object files causing linking to fail.

  1. How can we reproduce the issue?

Just try to make any of the c libraries.

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