* Infra-red connectivity
@ 2002-05-08 21:34 Paavo Hartikainen
0 siblings, 0 replies; only message in thread
From: Paavo Hartikainen @ 2002-05-08 21:34 UTC (permalink / raw)
Is there something in Linux 2.4 infra-red driver code that makes it
non-functional on Alpha?
After connecting Actisys ACT-IR220L+ to the serial port, I noticed
that Linux configuration does not offer infra-red -related options
described in "Linux Infrared HOWTO".
I added "source net/irda/Config.in" to "arch/alpha/config.in". That
was enough to configure the support but kernel will not build yet.
---
/usr/bin/make -C irda modules
make[3]: Entering directory `/usr/src/linux-24/net/irda'
gcc -D__KERNEL__ -I/usr/src/linux-24/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -Wa,-mev6 -DMODULE -DKBUILD_BASENAME=parameters -c -o parameters.o parameters.c
In file included from parameters.c:31:
/usr/src/linux-24/include/asm/unaligned.h:24: parse error before "__u64"
/usr/src/linux-24/include/asm/unaligned.h:24: warning: no semicolon at end of struct or union
/usr/src/linux-24/include/asm/unaligned.h:25: parse error before "__u32"
/usr/src/linux-24/include/asm/unaligned.h:25: warning: no semicolon at end of struct or union
/usr/src/linux-24/include/asm/unaligned.h:26: parse error before "__u16"
/usr/src/linux-24/include/asm/unaligned.h:26: warning: no semicolon at end of struct or union
/usr/src/linux-24/include/asm/unaligned.h: In function `__uldq':
/usr/src/linux-24/include/asm/unaligned.h:35: dereferencing pointer to incomplete type
/usr/src/linux-24/include/asm/unaligned.h: In function `__uldl':
/usr/src/linux-24/include/asm/unaligned.h:41: dereferencing pointer to incomplete type
/usr/src/linux-24/include/asm/unaligned.h: In function `__uldw':
/usr/src/linux-24/include/asm/unaligned.h:47: dereferencing pointer to incomplete type
/usr/src/linux-24/include/asm/unaligned.h: In function `__ustq':
/usr/src/linux-24/include/asm/unaligned.h:57: dereferencing pointer to incomplete type
/usr/src/linux-24/include/asm/unaligned.h: In function `__ustl':
/usr/src/linux-24/include/asm/unaligned.h:63: dereferencing pointer to incomplete type
/usr/src/linux-24/include/asm/unaligned.h: In function `__ustw':
/usr/src/linux-24/include/asm/unaligned.h:69: dereferencing pointer to incomplete type
/usr/src/linux-24/include/asm/unaligned.h: At top level:
/usr/src/linux-24/include/asm/unaligned.h:72: parse error before "size_t"
/usr/src/linux-24/include/asm/unaligned.h:73: warning: function declaration isn't a prototype
/usr/src/linux-24/include/asm/unaligned.h: In function `__get_unaligned':
/usr/src/linux-24/include/asm/unaligned.h:75: `size' undeclared (first use in this function)
/usr/src/linux-24/include/asm/unaligned.h:75: (Each undeclared identifier is reported only once
/usr/src/linux-24/include/asm/unaligned.h:75: for each function it appears in.)
/usr/src/linux-24/include/asm/unaligned.h:77: `ptr' undeclared (first use in thithis function)
/usr/src/linux-24/include/asm/unaligned.h: At top level:
/usr/src/linux-24/include/asm/unaligned.h:94: parse error before "size_t"
/usr/src/linux-24/include/asm/unaligned.h:95: warning: function declaration isn't a prototype
/usr/src/linux-24/include/asm/unaligned.h: In function `__put_unaligned':
/usr/src/linux-24/include/asm/unaligned.h:96: `size' undeclared (first use in this function)
/usr/src/linux-24/include/asm/unaligned.h:98: `ptr' undeclared (first use in this function)
/usr/src/linux-24/include/asm/unaligned.h:98: `val' undeclared (first use in this function)
parameters.c: In function `irda_insert_integer':
parameters.c:164: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c:188: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c: In function `irda_extract_integer':
parameters.c:215: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c:225: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c:253: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c: In function `irda_extract_string':
parameters.c:290: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c: In function `irda_extract_octseq':
parameters.c:331: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c: In function `irda_param_unpack':
/usr/src/linux-24/include/asm/unaligned.h:74: warning: `val' might be used uninitialized in this function
/usr/src/linux-24/include/asm/unaligned.h:74: warning: `val' might be used uninitialized in this function
parameters.c: In function `irda_param_insert':
parameters.c:477: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
parameters.c: In function `irda_param_extract':
parameters.c:532: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
make[3]: *** [parameters.o] Error 1
make[3]: Leaving directory `/usr/src/linux-24/net/irda'
make[2]: *** [_modsubdir_irda] Error 2
make[2]: Leaving directory `/usr/src/linux-24/net'
make[1]: *** [_mod_net] Error 2
make[1]: Leaving directory `/usr/src/linux-24'
make: *** [stamp-build] Error 2
---
What can I do to fix this?
--
"pienena / Paavo "Rainbow Rat" Hartikainen
minusta / E-mail: pahartik@sci.fi
tulee / URL: http://www.sci.fi/~pahartik/
rotta" / EFnet: pahartik at #Atari and #LionKing
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-08 21:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-08 21:34 Infra-red connectivity Paavo Hartikainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox