[sysvinit-devel] sysvinit-2.88dsf will not compile

2011-06-14 Thread Florian H.
Hey, I am trying to make sysvinit 2.88 on an embedded linux system (Motorola Set Top Box VIP1710). $ uname -a Linux 192.168.1.121 2.4.30 #1 Thu Jan 11 14:28:39 CET 2007 mips GNU/Linux But it throws following error: 192.168.1.121/usr/local/sysvinit-2.88dsf$ make all make -C src all make[1]: Ente

Re: [sysvinit-devel] sysvinit-2.88dsf will not compile

2011-06-14 Thread Petter Reinholdtsen
[Florian Hülsmann] > In file included from /usr/include/linux/fs.h:26, > from hddown.c:39: > /usr/include/asm/bitops.h:585: error: syntax error before "int" > make[1]: *** [hddown.o] Error 1 > make[1]: Leaving directory `/usr/local/sysvinit-2.88dsf/src' > make: *** [all] Error 2 >

Re: [sysvinit-devel] sysvinit-2.88dsf will not compile

2011-06-14 Thread Mike Frysinger
On Tue, Jun 14, 2011 at 11:31, Florian H. wrote: > $ uname -a > Linux 192.168.1.121 2.4.30 #1 Thu Jan 11 14:28:39 CET 2007 mips > > cc -ansi -O2 -fomit-frame-pointer -W -Wall -D_GNU_SOURCE   -c -o > hddown.o hddown.c > In file included from /usr/include/linux/fs.h:26, >                 from hddown.

Re: [sysvinit-devel] sysvinit-2.88dsf will not compile

2011-06-14 Thread Florian H.
[Petter Reinholdtsen] > Looking at the content of linee 585 in /usr/include/asm/bitops.h on > your system seem like the most obvious way forward. When you did > this, what did you discover? Lines from 585 of that file on: static inline int test_bit(int nr, volatile void *addr) { return