584,846 active members*
4,532 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2) > LinuxCNC HAL Driver. Undefined reference to hal_export_func
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2017
    Posts
    2

    LinuxCNC HAL Driver. Undefined reference to hal_export_func

    I would compile this example code: github.com/LinuxCNC/linuxcnc/blob/master...ivers/hal_skeleton.c
    All my attempts finishes with error: In function 'rtapi_app_main' Undefined reference to hal_export_func
    No idea whats is a reason. Cant find another example code or valid makefile example. No idea what is this error caused by.

  2. #2
    Join Date
    Feb 2007
    Posts
    711

    Re: LinuxCNC HAL Driver. Undefined reference to hal_export_func

    I'm guessing because that file is way outdated, and not rewritten since the emc2 -> linuxcnc name change.

    Are just trying to get linuxcnc going, or are you experimenting for a custom implementation?

  3. #3
    Join Date
    Dec 2017
    Posts
    2

    Re: LinuxCNC HAL Driver. Undefined reference to hal_export_func

    I need driver for CANOpen.
    CNC software doesn't matter but after long search for any ready-to-use solution and no results, own driver development seems to be only solution.

Similar Threads

  1. Replies: 0
    Last Post: 11-20-2016, 01:54 PM
  2. LinuxCNC, DQ542MA driver and DB25-1205 BOB
    By awes in forum LinuxCNC (formerly EMC2)
    Replies: 1
    Last Post: 11-23-2015, 02:18 PM
  3. Help Please - Driver Setup - LinuxCNC
    By CNC pupil in forum LinuxCNC (formerly EMC2)
    Replies: 19
    Last Post: 09-08-2014, 12:37 AM
  4. Stepper driver with current reference input
    By CNCDevil in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 06-15-2014, 11:43 AM
  5. Reference Bit ??s'
    By CynSant in forum Multicam Machines
    Replies: 0
    Last Post: 10-14-2011, 03:09 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •