Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: lights0ut on April 26, 2007, 10:32:40 PM

Title: win32 sim compiling error
Post by: lights0ut on April 26, 2007, 10:32:40 PM
I'm trying to compile a win32 sim, with mingw32 and I'm getting this error:
Code: [Select]
/home/g-force/Rockbox/enviro/0426/rockbox-bleeding/rockbox-bleeding/test/librockbox.a(font.o): In function `font_get':/home/g-force/Rockbox/enviro/0426/rockbox-bleeding/rockbox-bleeding/firmware/font.c:373: undefined reference to `_panicf'
collect2: ld returned 1 exit status
make[1]: *** [/home/g-force/Rockbox/enviro/0426/rockbox-bleeding/rockbox-bleeding/test/rockboxui.exe] Error 1
make: *** [build] Error 2


I'm using latest SVN and I get the same errors without applying any patches first.
Any help is appreciated, thanks ;)
Title: Re: win32 sim compiling error
Post by: ColdSphinx on April 27, 2007, 12:35:35 AM
This is an compiler installation or configuration failure.
You're compiling on your ubuntu, am I right? (Read somwhere in this forums)
What way did you install the win32 cross compiler?
Title: Re: win32 sim compiling error
Post by: rasher on April 27, 2007, 02:54:28 AM
I get the same error, and it's put an end to my windows sims. My setup has (evidently) worked previously, and has not changed before this started happening.

I have no idea what's going on, or why this'd break specifically on the crosscompiler, but until it's fixed, I won't be able to provide the windows sims.
Title: Re: win32 sim compiling error
Post by: rasher on April 27, 2007, 03:22:30 AM
Problem solved by this commit (http://svn.rockbox.org/viewvc.cgi/trunk/firmware/SOURCES?r1=13275&r2=13276).

At least I managed to build a w32 sim now. If you still have problems, it'll be something else.
Title: Re: win32 sim compiling error
Post by: lights0ut on April 27, 2007, 09:37:44 AM
Thanks Rasher, works perfect now. :)