Current rsync doesn't compile

Michel Lanners mlan at cpu.lu
Wed Oct 2 05:50:00 EST 2002


Hi Ben,

Your current rsync tree doesn't compile due to this error with the IRDA
suppport:

make[3]: Entering directory `/usr/src/2.4/linux-2.4.benh/drivers/net/irda'
gcc -D__KERNEL__ -I/usr/src/2.4/linux-2.4.benh/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/2.4/linux-2.4.benh/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=irtty  -c -o irtty.o irtty.c
irtty.c: In function `irtty_set_dtr_rts':
irtty.c:761: `TIOCM_MODEM_BITS' undeclared (first use in this function)
irtty.c:761: (Each undeclared identifier is reported only once
irtty.c:761: for each function it appears in.)
make[3]: *** [irtty.o] Error 1
make[3]: Leaving directory `/usr/src/2.4/linux-2.4.benh/drivers/net/irda'
make[2]: *** [_modsubdir_irda] Error 2
make[2]: Leaving directory `/usr/src/2.4/linux-2.4.benh/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/2.4/linux-2.4.benh/drivers'
make: *** [_mod_drivers] Error 2

Searching around a bit it seems TIOCM_MODEM_BITS is not yet defined for
all arches; it is in your tree only for parisc (where this originated
from). The original patch from them seems to have included some other
arches, but that was not applied.

So, please apply something like the attached to make the kernel compile.
This is functionally equivalent to what existed before the half-applied
patch by the parisc people introduced  TIOCM_MODEM_BITS (see
http://lists.parisc-linux.org/pipermail/parisc-linux-cvs/2002-August/031396.html).

Thanks, and cheers

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan at cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20021001/d3c08a05/attachment.txt>


More information about the Linuxppc-dev mailing list