From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,41de15fbc0449b48,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-05-08 14:37:45 PST Sender: pahartik@mufasa.vip.fi Newsgroups: comp.os.linux.alpha Subject: Infra-red connectivity From: Paavo Hartikainen Organization: Another Debian GNU/Linux Alpha&SPARC user Date: 09 May 2002 00:34:54 +0300 Message-ID: <87y9eu7281.fsf@mufasa.vip.fi> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: zazu.vip.fi X-Trace: news.vip.fi 1020893713 zazu.vip.fi (9 May 2002 00:35:13 +0200) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!newsfeed.song.fi!nntp.inet.fi!inet.fi!news.vip.fi Xref: archiver1.google.com comp.os.linux.alpha:5329 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