Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: simulator build error
From: Uwe Freese (mail_at_uwe-freese.de)
Date: 2002-12-14


Hello,

Now with my trickle stuff in it, building the simulator gives error
output (see logs on rockbox homepage). :(
Does anybody know how to correct this?

In powermgmt.c, I make a

  #include "../apps/settings.h"

because I want to know if the LED is set to always-on. Should I avoid
this include (how)? Or is the error in sprintf.h?

- - - - - - -
gcc -g -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR -DHAVE_PLAYER_KEYPAD -DHAVE_LCD_CHARCELLS -DLINUX -I. -I../../firmware/drivers -I../../firmware/common - I../../firmware -I../../apps -I../../apps/player -I../common -Ibuild-playersim -I/usr/X11R6/include -W -Wall -c ../../firmware/powermgmt.c -o build-playersim/powermgmt.o
In file included from file.h:20,
from ../../apps/settings.h:24,
from ../../firmware/powermgmt.c:36:
/usr/include/stdio.h:301: conflicting types for `vsnprintf'
../../firmware/common/sprintf.h:27: previous declaration of `vsnprintf'
make[1]: *** [build-playersim/powermgmt.o] Error 1
make[1]: Leaving directory `uisimulator/x11'
make: *** [sim] Error 2

Bye, Uwe.



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa