You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not only glibc and newlib provide mempcpy, so the build fails e.g. on recent FreeBSD due to a duplicate function mempcpy. To fix this, I've written a patch that adds a configure test to check for mempcpy, only using your own implementation if it is not available.
Unfortunately your code has a custom config.h header which shadows the config.h header generated by autotools. In my patch, I have simply removed the other header and defined the single macro in it elsewhere. Check if that's the solution you want.
The text was updated successfully, but these errors were encountered:
freebsd-git
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
Aug 17, 2022
Hi there,
Not only glibc and newlib provide
mempcpy
, so the build fails e.g. on recent FreeBSD due to a duplicate functionmempcpy
. To fix this, I've written a patch that adds a configure test to check formempcpy
, only using your own implementation if it is not available.Unfortunately your code has a custom
config.h
header which shadows theconfig.h
header generated by autotools. In my patch, I have simply removed the other header and defined the single macro in it elsewhere. Check if that's the solution you want.The text was updated successfully, but these errors were encountered: