On Sat, Aug 2, 2008 at 5:52 PM, Brad Fuller wrote: > On Sat, Aug 2, 2008 at 9:21 AM, jpff wrote: >> I repeat, look at >> which in your case seems to be /usr/include/linux/if.h which is >> exactly where i would expect it. Actually I would expect it to pick >> /usr/include/net/if.h a well.... >> Does have the lines I quoted? If so gentoo is badly >> broken. If not, what does it say? > > Yes, it has the lines you quoted: > > #ifndef _LINUX_IF_H > # include > # define _LINUX_IF_H > #endif > > #ifndef _LINUX_IF_H > #define _LINUX_IF_H > > But, as you see, in reality it's really: > > > #ifndef _LINUX_IF_H > #endif > > #ifndef _LINUX_IF_H > #define _LINUX_IF_H Oppss. Sorry. I was thinking of # as comment, but this is C === Ok which if.h needs to be included for csound: net/if.h or linux/if.h for 'struct ifreq' to work in csound? seems to me that I shouldn't be getting these errors" gcc -o OOps/remote.o -c -DNOGETTEXT -g -DLINUX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DSDFT -DBETA -DHAVE_SOCKETS -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/gentoo-multilib/amd64 -I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include OOps/remote.c OOps/remote.c: In function 'getIpAddress': OOps/remote.c:70: error: storage size of 'ifr' isn't known scons: *** [OOps/remote.o] Error 1 scons: building terminated because of errors. this is line 70 in OOps/remote.c: struct ifreq ifr; I was always under the impression that the error means that ifreq wasn't defined. But, it IS defined if linux/if.h is included I'm going to have to look at this more carefully. I see why someone said that the gentoo is all screwy. Thanks for your help and if you can shed any more light, please let me know! brad ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net