Re: Darwin Garnome-2.10.0 "error: storage size of `iov' isn't known"



I went ahead and added the include <sys/uio.h> line to both gam_api.c and gam_channel.c and it worked.

Should I fill out a bugzilla?

On 14 Mar 2005, at 1:00 PM, Fred Leason wrote:

As the make install and make paranoid-install process crunches through the "desktop" directory, I continually get this message:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/sw/garnome/libexec\" -DBUILDDIR=\"..\" -I/sw/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/include -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -fno-common -DPIC -o .libs/gam_api.o
gam_api.c: In function `gamin_get_socket_path':
gam_api.c:156: warning: assignment makes pointer from integer without a cast
gam_api.c: In function `gamin_get_socket_dir':
gam_api.c:175: warning: assignment discards qualifiers from pointer target type gam_api.c:183: warning: assignment makes pointer from integer without a cast
gam_api.c: In function `gamin_check_cred':
gam_api.c:612: error: storage size of `iov' isn't known
make[9]: *** [gam_api.lo] Error 1
make[8]: *** [all-recursive] Error 1
make[7]: *** [all] Error 2
make[6]: *** [build-work/main.d/gamin-0.0.25/Makefile] Error 2
make[5]: *** [../../bootstrap/gamin/cookies/main.d/install] Error 2
make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2 make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2

I tried running the bootstrap/gamin make install and got the same problem:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/sw/garnome/libexec\" -DBUILDDIR=\"..\" -I/sw/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/garnome/include -I/sw/include -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -fno-common -DPIC -o .libs/gam_api.o
gam_api.c: In function `gamin_get_socket_path':
gam_api.c:156: warning: assignment makes pointer from integer without a cast
gam_api.c: In function `gamin_get_socket_dir':
gam_api.c:175: warning: assignment discards qualifiers from pointer target type gam_api.c:183: warning: assignment makes pointer from integer without a cast
gam_api.c: In function `gamin_check_cred':
gam_api.c:612: error: storage size of `iov' isn't known
make[3]: *** [gam_api.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [build-work/main.d/gamin-0.0.25/Makefile] Error 2

Somewhere in gnome mail archives, I saw an old (1999) posting that said you needed to add an "include <sys/uio.h> to make the "storage size of `iov' isn't known" message to go away.

Are there any suggestions how I fix this for gam_api.c? I am Darwin, Mac OS x. The crazy thing about this installation is that I have most of the gnome code in /sw (thanks to fink) and I am building the new gnome in /sw/garnome. I also have some code in standard /usr/local. So things are not necessarily in the same place. Maybe I need to explicitly point a header file somewhere. Help please.

Fred Leason





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]