Re: 2.3.45 compile problems: (ac97_codec.c)

From: Frank de Lange (frank@unternet.org)
Date: Mon Feb 14 2000 - 11:38:46 EST


On Mon, Feb 14, 2000 at 10:04:55AM -0600, Jeff Garzik wrote:
> > ac97_codec.c: In function `ac97_probe_codec_Rsmp_b505a3f5':
> > ac97_codec.c:499: warning: implicit declaration of function `arraysize'
>
> Add this to the top of ac97_codec.c:
>
> #define arraysize(x) (sizeof(x)/sizeof(*(x)))

ac97_codec.c: In function `ac97_probe_codec_Rsmp_b505a3f5':
ac97_codec.c:501: invalid type argument of `unary *'
make[2]: *** [ac97_codec.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/sound'

No, that doesn't work (for me...).

Cheers/Frank

-- 
  WWWWW      ________________________
 ## o o\    /     Frank de Lange      \
 }#   \|   /    +31-70-3712708 day     \
  ##---# _/    +31-320-252965 night     \
   ####   \ frank.de.lange@inet.kpn.com /
           \    frank@unternet.org     /
            --------------------------

- 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 : Tue Feb 15 2000 - 21:00:27 EST