Skip to content

[BUG] <Userspace Ethercat Master[IGH] with DPDK> - <Building Usersspace EtherCAT Stackmake Error> #1086

@nzr1

Description

@nzr1

Bug Description

I encountered an error when trying to use the user-space Ethercat Master (IGH) while referring to the content on the webpage :
https://github.com/open-edge-platform/edge-ai-libraries/blob/main/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/docs/igh_userspace.md

When executing the following steps:

./bootstrap
./configure --enable-sii-assign --disable-eoe --enable-hrtimer --disable-cycles --enable-usermode --enable-daemon --enable-dpdk
make

I got the following error message while running make.

make all-recursive
make[1]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat'
Making all in include
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/include'
Making all in script
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
Making all in sysconfig
make[3]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script/sysconfig'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script/sysconfig'
make[3]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
Making all in dpdk
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/dpdk'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/dpdk'
Making all in ipc
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/ipc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/ipc'
Making all in master
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/master'
CCLD ethercatd
/usr/bin/ld: -f may not be used without -shared
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:800: ethercatd] Error 1
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/master'
make[1]: *** [Makefile:541: all-recursive] Error 1
make[1]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat'
make: *** [Makefile:466: all] Error 2

System Setup

I used the source code to install dpdk, version: dpdk-stable-24.11.3
My operating system parameters:
Linux niu-virtual-machine 6.8.0-rt8 #5 SMP PREEMPT_RT Mon Oct 13 15:38:15 CST 2025 x86_64 x86_64 x86_64 GNU/Linux

Reproducible Steps

Please help me resolve this make error, or provide more reference materials.

Root Cause Analysis

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGLikely a bugTRIAGETo be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions