[Discuss] packaging empcd for openwrt

Roland Jankowski (spam-protected)
Mo Mai 15 08:32:06 CEST 2006

hi jeroen,

just tried to package your very usefull empcd app for http://openwrt.org
without success as you can see in the compile error at the end of this

openwrt is based on 2.4 kernels and because of some network driver issues
is not able to run 2.6

after some investigations in the source code and includes i found out that
kernel 2.4 has a different evdev.c interface.
as your empcd for the variety of devices it supports would be perfect to
control mpd on those very cheap embedded boards i don't want to give up
that fast ;-)

unfortunatly i'm not a kernel hacker and my knowledge of C is quite basic.
so i would be very happy if you could give me an estimation of how
difficult it would be to backport empcd to kernel 2.4 evdev interface.


In file included from empcd.c:10:
empcd.h:6:1: warning: this is the location of the previous definition In
file included from empcd.c:16:
support/mpc-0.11.2/src/libmpdclient.h:150: warning: ISO C90 does not
support `long long'
support/mpc-0.11.2/src/libmpdclient.h:363: warning: ISO C90 does not
support `long long'
empcd.c: In function `main':
empcd.c:769: error: `EVIOCGRAB' undeclared (first use in this function)
empcd.c:769: error: (Each undeclared identifier is reported only once
empcd.c:769: error: for each function it appears in.)
empcd.c:836: warning: comparison between signed and unsigned
make[3]: *** [empcd.o] Error 1
make[3]: Leaving directory
make[2]: ***
Error 2
make[2]: Leaving directory
make[1]: *** [compile] Error 2
make[1]: Leaving directory
make: *** [empcd-compile] Error 2

Mehr Informationen über die Mailingliste Discuss