Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fresh Git version - undefined reference to `vlan_find'
2020-04-21, 02:01
Post: #3
RE: Fresh Git version - undefined reference to `vlan_find'
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-de...05099.html
Link2: https://code.launchpad.net/~paelzer/ubun...rge/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,
                                            unsigned int tag ) {
became:
Code:
struct net_device * vlan_find ( struct net_device *trunk,
                                            unsigned int tag ) {

vlan.h = define as extern <vlan_find> function;
add
Code:
extern struct net_device * vlan_find ( struct net_device *trunk,
                                            unsigned int tag ) ;

Otherwise error for vlan_find unrecognized symbol will be got during ld stage.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Fresh Git version - undefined reference to `vlan_find' - cpservicespb - 2020-04-21 02:01



User(s) browsing this thread: 1 Guest(s)