Rockbox

Tasklist

FS#11952 - sim does not compile under CygWin

Attached to Project: Rockbox
Opened by Andree Buschmann (Buschel) - Saturday, 19 February 2011, 11:00 GMT
Last edited by Andree Buschmann (Buschel) - Saturday, 19 February 2011, 15:32 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The simulator does not compile under cygwin. Tested with sim for nano2g. These are the compile errors:

/cygdrive/c/development/rockbox_test/firmware/thread.c:197:2: #error Processor not implemented.
/cygdrive/c/development/rockbox_test/firmware/thread.c: In function `switch_thread':
/cygdrive/c/development/rockbox_test/firmware/thread.c:160: sorry, unimplemented: inlining failed in call to 'store_cont
ext': function body not available
/cygdrive/c/development/rockbox_test/firmware/thread.c:1165: sorry, unimplemented: called from here
/cygdrive/c/development/rockbox_test/firmware/thread.c:136: sorry, unimplemented: inlining failed in call to 'core_sleep
': function body not available
/cygdrive/c/development/rockbox_test/firmware/thread.c:1213: sorry, unimplemented: called from here
/cygdrive/c/development/rockbox_test/firmware/thread.c:163: sorry, unimplemented: inlining failed in call to 'load_conte
xt': function body not available
/cygdrive/c/development/rockbox_test/firmware/thread.c:1278: sorry, unimplemented: called from here
/cygdrive/c/development/rockbox_test/firmware/thread.c: In function `create_thread':
/cygdrive/c/development/rockbox_test/firmware/thread.c:1620: warning: implicit declaration of function `THREAD_STARTUP_I
NIT'
/cygdrive/c/development/rockbox_test/firmware/thread.c:1620: error: `core' undeclared (first use in this function)
/cygdrive/c/development/rockbox_test/firmware/thread.c:1620: error: (Each undeclared identifier is reported only once
/cygdrive/c/development/rockbox_test/firmware/thread.c:1620: error: for each function it appears in.)
/cygdrive/c/development/rockbox_test/firmware/thread.c: At top level:
/cygdrive/c/development/rockbox_test/firmware/thread.c:136: warning: 'core_sleep' declared `static' but never defined
/cygdrive/c/development/rockbox_test/firmware/thread.c:160: warning: 'store_context' declared `static' but never defined

/cygdrive/c/development/rockbox_test/firmware/thread.c:163: warning: 'load_context' declared `static' but never defined
make: *** [/cygdrive/c/development/rockbox_test/build-pcsim-nano2g/firmware/thread.o] Error 1
This task depends upon

Closed by  Andree Buschmann (Buschel)
Saturday, 19 February 2011, 15:32 GMT
Reason for closing:  Invalid
Additional comments about closing:  Forgot to call make reconf.
Comment by Thomas Martitz (kugel.) - Saturday, 19 February 2011, 11:19 GMT
Did you try a clean build, in particular make reconf? There's a new define in autoconf.h not generated by earlier configure
Comment by Marianne Arnold (pixelma) - Saturday, 19 February 2011, 13:42 GMT
For what it's worth, I just successfully compiled a Gigabeat S sim under cygwin 1.7 - in a fresh build directory, revision 29339.

Loading...