|
From: Juan T. <to...@us...> - 2000-03-16 17:05:05
|
Emil Obermayr wrote: > having trouble with compiling of Version 0.2.8 and 0.2.9; 0.2.6 was > fine; 0.2.7 not tested; any ideas? > > qedemob@sun32:/usr/local/src/etherape-0.2.9 $ uname -a > SunOS sun32 5.6 Generic_105181-15 sun4u sparc > qedemob@sun32:/usr/local/src/etherape-0.2.9 $ gcc --version > 2.95.2 > > make[2]: Entering directory `/usr/local/src/etherape-0.2.9/src' > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include -I/usr/openwin/include -I/usr/openwin/include -I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wall -Wunused -c capture.c > In file included from capture.c:23: > /usr/include/net/if.h:189: field `ifa_addr' has incomplete type > /usr/include/net/if.h:191: field `ifu_broadaddr' has incomplete type > /usr/include/net/if.h:192: field `ifu_dstaddr' has incomplete type > /usr/include/net/if.h:210: field `ifru_addr' has incomplete type > /usr/include/net/if.h:211: field `ifru_dstaddr' has incomplete type > /usr/include/net/if.h:213: field `ifru_broadaddr' has incomplete type Simply delete the #include <net/if.h> line in capture.c I'm not using it yet. I'll have to study why it doesn't work when I finally need it, though... Regards, Juan. |