Re: 2.3.99-pre5 irda modules do not compile

From: David A. Bandel (david@pananix.com)
Date: Wed Apr 12 2000 - 20:38:10 EST


Eugene Crosser wrote:
>
> To whom it may concern:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -c -o af_irda.o af_irda.c
> af_irda.c: In function `irda_data_wait':
> af_irda.c:1218: `SO_WAITDATA' undeclared (first use in this function)
> af_irda.c:1218: (Each undeclared identifier is reported only once
> af_irda.c:1218: for each function it appears in.)
> af_irda.c: In function `irda_recvmsg_stream':
> af_irda.c:1244: `SO_ACCEPTCON' undeclared (first use in this function)
> make[2]: *** [af_irda.o] Error 1
>
> Eugene
>

Go into ../linux/net/irda and in the file af_irda.c change the two
occurrances of SO_WAITDATA to SOCK_ASYNC_WAITDATA (don't remove the ! or
~ in front of them) and the one occurrance of SO_ACCEPTCON to
__SO_ACCEPTCON

and continue the compile.

Ciao,

David A. Bandel

-- 
Focus on the dream, not the competition.
		-- Nemesis Racing Team motto

- 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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:20 EST