• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Infrastructure → Build environment
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Davide-NYC - 2008-12-15
Last edited by zagor - 2008-12-15

FS#9644 - Build directory names containing ".c" or ".S" cause make to fail.

When using sim directories that contain the strings “.c” or “.S” they get replaced with “.o” and the build process fails.

Example error message: make: *** No rule to make target `/home/Administrator/rockbox/sim.olip/uisimulator/sdl/button.o’, needed by `/home/Administrator/rockbox/sim.clip/uisimulator/libuisimulator.a’. Stop.

Nils identified the problem at tools/functions.make:28

Closed by  zagor
2008-12-15 10:02
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Fixed in r19443

nls commented on 2008-12-15 00:15

further investigation showed that this substitution happens in 3 places.
The attached patch makes a build work again using basename and addsuffix to
strip suffixes and add “.o” to the basename, i’m not sure that’s a good idea though
as it will add all kinds of files to the obj lists.


Available keyboard shortcuts


Task Details

Task Editing