stormalf / chibicc

A small C compiler from rui314
MIT License
6 stars 1 forks source link

ISS-127 incorrect fix on issue 126 ignoring tokens cause issue later on linking #5

Closed stormalf closed 2 years ago

stormalf commented 2 years ago

/usr/bin/ld: ./libdnet-stripped/src/.libs/libdnet.a(arp-ioctl.o): in function _arp_set_dev': ../libdnet-stripped/src/arp-ioctl.c:91: undefined reference tostrlcpy' /usr/bin/ld: ./libdnet-stripped/src/.libs/libdnet.a(eth-linux.o): in function eth_open': ../libdnet-stripped/src/eth-linux.c:58: undefined reference tostrlcpy' /usr/bin/ld: ./libdnet-stripped/src/.libs/libdnet.a(intf.o): in function _intf_get_aliases': ../libdnet-stripped/src/intf.c:732: undefined reference tostrlcpy' /usr/bin/ld: ./libdnet-stripped/src/.libs/libdnet.a(intf.o): in function _intf_get_noalias': ../libdnet-stripped/src/intf.c:495: undefined reference tostrlcpy' /usr/bin/ld: ./libdnet-stripped/src/.libs/libdnet.a(intf.o): in function _intf_add_aliases': ../libdnet-stripped/src/intf.c:280: undefined reference tostrlcpy' /usr/bin/ld: ./libdnet-stripped/src/.libs/libdnet.a(intf.o):../libdnet-stripped/src/intf.c:182: more undefined references to `strlcpy' follow

stormalf commented 2 years ago

no idea for now about how to fix that!