On Fri, Aug 1, 2008 at 10:07 AM, jpff wrote: > I would like to know if your files differ from the ones I got from > Gentoo (indirectly). The bit that I do not understand is in > lines 19 to 26 > > #ifndef _LINUX_IF_H > # include > # define _LINUX_IF_H > #endif > > #ifndef _LINUX_IF_H > #define _LINUX_IF_H > > > Assume first that _LINUX_IF_H is not defined. It will read > and then set the macro. Line 24 fails so it does not read rest of > file and so does not define the structure. > > Now assume _LINUX_IF_H is set. It does not read and then > skip rest of file and so does not define the structure. > > Are you saying that your version of is different? Ah.. there's the problem. I was talking about net/if.h, not linux/if.h! Ok.. sorry for the miscommunication. I don't have linux/if.h in /usr/include/gentoo-multilib/amd64 I have 3 if.h: /usr/include/gentoo-multilib/amd64/net/if.h /usr/include/linux/if.h /usr/include/net/if.h ==== So, actually, we are back to square ONE. Ok, making sure that _LINUX_IF_H is not defined, I still get the error: 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. 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