2.2.6 compile error in net/irda/iriap.c

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Sat, 24 Apr 1999 01:57:30 +1000


I did not see this mentioned, so just in case.

On intel, Debian 2.1, a straight build with mostly everything as a
module ends with the ttached error.

I am still surprised to see official releases with compile errors
that can be easily detected with a simple build - and on a stable
kernel.

-----------------------------
make -j1 -l -C irda modules
make[2]: Entering directory `/data2/usr/local/src/linux-2.2/net/irda'
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.2/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.2/include/linux/modversions.h
-DEXPORT_SYMTAB -c irmod.c
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.2/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.2/include/linux/modversions.h -c -o
iriap.o iriap.c
iriap.c:31: linux/irda.h: No such file or directory
iriap.c: In function `iriap_getvaluebyclass_confirm':
iriap.c:458: `CS_ASCII' undeclared (first use this function)
iriap.c:458: (Each undeclared identifier is reported only once
iriap.c:458: for each function it appears in.)
iriap.c:470: warning: unreachable code at beginning of switch statement
iriap.c: At top level:
iriap.c:44: warning: `ias_charset_types' defined but not used
make[2]: *** [iriap.o] Error 1
make[2]: Leaving directory `/data2/usr/local/src/linux-2.2/net/irda'
make[1]: *** [_modsubdir_irda] Error 2
make[1]: Leaving directory `/data2/usr/local/src/linux-2.2/net'
make: *** [_mod_net] Error 2
-----------------------------

--
Eyal Lebedinsky		(eyal@eyal.emu.id.au)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/