[Discuss] [Fwd: packaging empcd for openwrt]

roland (spam-protected)
Mo Mai 15 08:50:18 CEST 2006


---------------------------- Original Message ----------------------------
Subject: packaging empcd for openwrt
From:    "Roland Jankowski" <(spam-protected)>
Date:    Mon, May 15, 2006 8:32
To:      (spam-protected)
Cc:      (spam-protected)
--------------------------------------------------------------------------

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
msg.

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.

regards
roland

--------------------------------------------------------------
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
`/home/guest/trunk/OpenWrt-SDK-Linux-i686-1/build_mipsel/empcd'
make[2]: ***
[/home/guest/trunk/OpenWrt-SDK-Linux-i686-1/build_mipsel/empcd/.built]
Error 2
make[2]: Leaving directory
`/home/guest/trunk/OpenWrt-SDK-Linux-i686-1/package/empcd'
make[1]: *** [compile] Error 2
make[1]: Leaving directory
`/home/guest/trunk/OpenWrt-SDK-Linux-i686-1/package/empcd'
make: *** [empcd-compile] Error 2









Mehr Informationen über die Mailingliste Discuss