Rockbox

Tasklist

FS#12564 - win32 cross-compiled sim does not build since 5b4a6c4

Attached to Project: Rockbox
Opened by Michael Chicoine (mc2739) - Tuesday, 24 January 2012, 17:41 GMT
Last edited by Thomas Martitz (kugel.) - Wednesday, 25 January 2012, 21:50 GMT
Task Type Bugs
Category Simulator
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The win32 cross-compiled sim does not build since the 5b4a6c4 commit. The previous commit (cf333a6) builds correctly.

The following warning/errors occur during the build of an e200 sim:

CC firmware/target/hosted/debug-hosted.c
firmware/target/hosted/debug-hosted.c: In function ‘debug_exit’:
firmware/target/hosted/debug-hosted.c:32: warning: implicit declaration of function ‘SetConsoleOutputCP’
firmware/target/hosted/debug-hosted.c: In function ‘debug_init’:
firmware/target/hosted/debug-hosted.c:37: warning: implicit declaration of function ‘GetConsoleOutputCP’
firmware/target/hosted/debug-hosted.c:41: warning: implicit declaration of function ‘atexit’

LD rockboxui.exe
e200-sim/firmware/libfirmware.a(debug-hosted.o): In function `debug_exit':
firmware/target/hosted/debug-hosted.c:32: undefined reference to `_SetConsoleOutputCP'
e200-sim/firmware/libfirmware.a(debug-hosted.o): In function `debug_init':
firmware/target/hosted/debug-hosted.c:37: undefined reference to `_GetConsoleOutputCP'
firmware/target/hosted/debug-hosted.c:40: undefined reference to `_SetConsoleOutputCP'
collect2: ld returned 1 exit status
make: *** [e200-sim/rockboxui.exe] Error 1

This task depends upon

Closed by  Thomas Martitz (kugel.)
Wednesday, 25 January 2012, 21:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  Commit 63ddd15
Comment by Dominik Riebeling (bluebrother) - Tuesday, 24 January 2012, 23:10 GMT
I can reproduce this issue using the mingw-cross-env toolchain.

Loading...