Fresh Git version - undefined reference to `vlan_find' - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Fresh Git version - undefined reference to `vlan_find' (/showthread.php?tid=21810) |
Fresh Git version - undefined reference to `vlan_find' - cpservicespb - 2020-04-19 23:48 Error is appeared during build the freshest git version: Code: [code]ranlib bin/blib.a I saw in netdevice.c of Git version from Aug, 08, 19. There is Code: /** But there is no such fiunction sceleton in netdevice.c of freshest Git version. But there is in vlan.c file. What is incorrect ? RE: Fresh Git version - undefined reference to `vlan_find' - cpservicespb - 2020-04-20 23:45 I almoste resolved the issue by my own. RE: Fresh Git version - undefined reference to `vlan_find' - cpservicespb - 2020-04-21 02:01 There are links where attempting to do "Strip 802.1Q VLAN 0 priority tags" so is represented. Moreover there is the patch in Debian rules for building iPXE deb package for Ubuntu. Both links I think almost the same. Link1: https://lists.ipxe.org/pipermail/ipxe-devel/2016-July/005099.html Link2: https://code.launchpad.net/~paelzer/ubuntu/+source/ipxe/+git/ipxe/+merge/360679 I made additionally investigation and for freshest git version there are 2 changes are required more: vlan.c = remove static for <vlan_find> function; was Code: static struct net_device * vlan_find ( struct net_device *trunk, Code: struct net_device * vlan_find ( struct net_device *trunk, vlan.h = define as extern <vlan_find> function; add Code: extern struct net_device * vlan_find ( struct net_device *trunk, Otherwise error for vlan_find unrecognized symbol will be got during ld stage. |