Rockbox

Tasklist

FS#11832 - Cygwin sim build broken by r28884

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Friday, 24 December 2010, 10:44 GMT
Last edited by Andree Buschmann (Buschel) - Saturday, 25 December 2010, 22:19 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System Iriver H300 series
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Attempting to build an H300 simulator (r28890) under Cygwin now gives the following errors:

...
CC uisimulator/common/io.c
/home/Steve/rockbox/uisimulator/common/io.c: In function `sim_readdir':
/home/Steve/rockbox/uisimulator/common/io.c:340: warning: implicit declaration of function `localtime_r'
/home/Steve/rockbox/uisimulator/common/io.c:340: warning: comparison between pointer and integer
/home/Steve/rockbox/uisimulator/common/io.c:351: warning: implicit declaration of function `lstat'
/home/Steve/rockbox/uisimulator/common/io.c:351: warning: implicit declaration of function `S_ISLNK'
AR libuisimulator.a
...
LD rockboxui.exe
/home/Steve/rockbox/buildsim/uisimulator/libuisimulator.a(io.o): In function `sim_readdir':
/home/Steve/rockbox/uisimulator/common/io.c:340: undefined reference to `_localtime_r'
/home/Steve/rockbox/uisimulator/common/io.c:351: undefined reference to `_lstat'
/home/Steve/rockbox/uisimulator/common/io.c:351: undefined reference to `_S_ISLNK'
collect2: ld returned 1 exit status
make: *** [/home/Steve/rockbox/buildsim/rockboxui.exe] Error 1

r28883 builds fine, so presumably this was broken by r28884.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Saturday, 25 December 2010, 22:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with r28899.
Comment by Andree Buschmann (Buschel) - Saturday, 25 December 2010, 22:09 GMT
I have created the following patch based on a proposal by Thomas Martitz.

Loading...