On 2012-01-28 13:43, Thomas Martitz wrote:
In
function `__div0_wrap':
(.text+0xc): undefined reference to `__div0'
collect2: ld returned 1 exit status
/cyg/d/Source/C/Rockbox/rockbox/apps/plugins/plugins.make:117: recipe
for target
`/cyg/d/Source/C/Rockbox/rockbox/build/apps/plugins/credits.rock'
failed
make: ***
[/cyg/d/Source/C/Rockbox/rockbox/build/apps/plugins/credits.rock] Error
1
__div0 should be part of that library, unless I made an error?
Checking the map files for an older, working build, gave a clue. In that build,
__div0 is provided by gcc-support, which is (still) part of libplugin. Moving
$(LIBARMSUPPORT) to before $(PLUGINLIB) in in a couple of plugin makefiles fixes
the problem.
--
Magnus