Rockbox mail archive
Subject: simulator build error
From: Uwe Freese (mail_at_uwe-freese.de)
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
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,
/usr/include/stdio.h:301: conflicting types for `vsnprintf'
../../firmware/common/sprintf.h:27: previous declaration of `vsnprintf'
make: *** [build-playersim/powermgmt.o] Error 1
make: Leaving directory `uisimulator/x11'
make: *** [sim] Error 2
Page was last modified "Jan 10 2012" The Rockbox Crew