All of lore.kernel.org
 help / color / mirror / Atom feed
* alsa-lib-0.9.2: storage size of `vec' isn't known
@ 2003-03-29  1:16 Michael Mauch
  2003-03-31  8:43 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Mauch @ 2003-03-29  1:16 UTC (permalink / raw)
  To: alsa-devel

Hi,

with kernel 2.4.21-pre5, I get:

source='socket.c' object='socket.lo' libtool=yes \
depfile='.deps/socket.Plo' tmpdepfile='.deps/socket.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c -o socket.lo `test -f socket.c || echo './'`socket.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c socket.c -Wp,-MD,.deps/socket.TPlo  -fPIC -DPIC -o socket.lo
socket.c: In function `snd_send_fd':
socket.c:45: storage size of `vec' isn't known
socket.c: In function `snd_receive_fd':
socket.c:78: storage size of `vec' isn't known
make[2]: *** [socket.lo] Error 1

When I include sys/uio.h, it compiles. I don't know whether this is the
right place for this include file, though.

Regards...
		Michael

--- src/socket.c.orig	Tue Mar 18 19:03:24 2003
+++ src/socket.c	Sat Mar 29 02:14:58 2003
@@ -32,6 +32,7 @@
 #include <string.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <sys/uio.h>
 #include "local.h"
 
 #ifndef DOC_HIDDEN


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: alsa-lib-0.9.2: storage size of `vec' isn't known
  2003-03-29  1:16 alsa-lib-0.9.2: storage size of `vec' isn't known Michael Mauch
@ 2003-03-31  8:43 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-03-31  8:43 UTC (permalink / raw)
  To: Michael Mauch; +Cc: alsa-devel

At Sat, 29 Mar 2003 02:16:57 +0100,
Michael Mauch wrote:
> 
> Hi,
> 
> with kernel 2.4.21-pre5, I get:
> 
> source='socket.c' object='socket.lo' libtool=yes \
> depfile='.deps/socket.Plo' tmpdepfile='.deps/socket.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c -o socket.lo `test -f socket.c || echo './'`socket.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c socket.c -Wp,-MD,.deps/socket.TPlo  -fPIC -DPIC -o socket.lo
> socket.c: In function `snd_send_fd':
> socket.c:45: storage size of `vec' isn't known
> socket.c: In function `snd_receive_fd':
> socket.c:78: storage size of `vec' isn't known
> make[2]: *** [socket.lo] Error 1
> 
> When I include sys/uio.h, it compiles. I don't know whether this is the
> right place for this include file, though.

thanks for report.
it was already fixed on cvs.

(btw, i think the compilation is irrelevant with kernel version?)


ciao,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-31  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-29  1:16 alsa-lib-0.9.2: storage size of `vec' isn't known Michael Mauch
2003-03-31  8:43 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.