{"id":1264,"date":"2021-01-31T20:27:38","date_gmt":"2021-01-31T20:27:38","guid":{"rendered":"https:\/\/coding.moris.org\/?p=1264"},"modified":"2021-01-31T20:27:38","modified_gmt":"2021-01-31T20:27:38","slug":"solving-vfprintf-c-text-avr-libc0xc8-undefined-reference-to-__mulqi3-linking-error","status":"publish","type":"post","link":"https:\/\/priscimon.net\/coding\/2021\/01\/31\/solving-vfprintf-c-text-avr-libc0xc8-undefined-reference-to-__mulqi3-linking-error\/","title":{"rendered":"Solving vfprintf.c:(.text.avr-libc+0xc8): undefined reference to &#8216;__mulqi3&#8217; linking error"},"content":{"rendered":"\n<p>If you encounter the above linking error with an ATmega328p and your code uses <code>sprintf<\/code>, set your <code>LIBRARY_PATH<\/code> or the linker argument <code>-L<\/code>  to <code>\/usr\/lib\/avr\/lib\/avr5<\/code> instead of <code>\/usr\/lib\/avr\/lib<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you encounter the above linking error with an ATmega328p and your code uses sprintf, set your LIBRARY_PATH or the linker argument -L to \/usr\/lib\/avr\/lib\/avr5 instead of \/usr\/lib\/avr\/lib.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1264","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3I4g9-ko","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts\/1264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/comments?post=1264"}],"version-history":[{"count":3,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts\/1264\/revisions"}],"predecessor-version":[{"id":1269,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts\/1264\/revisions\/1269"}],"wp:attachment":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/media?parent=1264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/categories?post=1264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/tags?post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}