broken net/irda/af_irda 2.3.99-pre4

From: Philipp Matthias Hahn (pmhahn@titan.lahn.de)
Date: Wed Apr 12 2000 - 15:32:05 EST


Hello!

gcc -D__KERNEL__ -I/usr/src/linux-2.3.99/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -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)
af_irda.c: At top level:
af_irda.c:2081: warning: `__unlocked_irda_ultra_ops' defined but not used
make[2]: *** [af_irda.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.99/net/irda'

But there are:
include/linux/net.h:61:#define SOCK_ASYNC_WAITDATA 1
and
include/linux/net.h:56:#define __SO_ACCEPTCON (1<<16) /* performed a listen */

Philipp

-- 
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de

- 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:19 EST