<p></p>
<p>It compiles fine for me. I think I misinterpreted the error you posted as being that you had managed to make datafiles.c a symlink to one of the sourceslice files, but now it looks like actually <code>generate_datafiles_c</code> is broken, not converting the bytes of the input to integers. But why does it only break when you attempt to build for android? Probably it's the python version or $LANG you are using when doing that.</p>
<pre><code>        with open(path, 'rb') as datafile:
            data = datafile.read()
            ...
            for offset in range(0, len(data), 40):
                row = data[offset : offset + 40]
                ret += '  ' + ','.join(str(byte) for byte in row) + ',\n'
</code></pre>
<p>The problem seems to be <code>str</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1222#issuecomment-957351238">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZTFDBXBGWYD3ELHXT3UJ7DENANCNFSM5HEHIVYA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AMWGWZSCWKCXOXSOZOBIZRLUJ7DENA5CNFSM5HEHIVYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHEIAKRQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1222#issuecomment-957351238",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1222#issuecomment-957351238",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>