Ethereal-users: Re: [ethereal-users] compilation prob.
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
Date: Fri, 15 Sep 2000 16:15:25 -0500
I don't have access to Solaris 7, but on my Solaris 2.6 box the ifconf struct (of which ifc is a type) is defined in /usr/include/net/if.h That gets #included in util.c if HAVE_NET_IF_H is defined. 1. Do you have that file? 2. Does it have the definition of ifconf in it? 3. Does your config.h have HAVE_NET_IF_H defined? --gilbert Paul Mitchell <pmitchel@xxxxxxxxxxxxx> on 09/15/2000 03:33:14 PM To: ethereal-users@xxxxxxxx cc: (bcc: Gilbert Ramirez/Tivoli Systems) Subject: [ethereal-users] compilation prob. Hello, I'm having trouble with util.c: Making all in svr4 gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include -Wall -g -O2 -I. -I./wiretap -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include -c util.c util.c: In function `get_interface_list': util.c:506: storage size of `ifc' isn't known util.c:507: storage size of `ifrflags' isn't known util.c:525: sizeof applied to an incomplete type util.c:539: sizeof applied to an incomplete type util.c:548: sizeof applied to an incomplete type util.c:558: dereferencing pointer to incomplete type util.c:559: dereferencing pointer to incomplete type util.c:569: dereferencing pointer to incomplete type util.c:579: dereferencing pointer to incomplete type util.c:581: sizeof applied to an incomplete type util.c:585: dereferencing pointer to incomplete type util.c:592: `IFF_UP' undeclared (first use in this function) util.c:592: (Each undeclared identifier is reported only once util.c:592: for each function it appears in.) util.c:601: dereferencing pointer to incomplete type util.c:614: `IFF_LOOPBACK' undeclared (first use in this function) util.c:615: dereferencing pointer to incomplete type util.c:616: dereferencing pointer to incomplete type util.c:618: dereferencing pointer to incomplete type util.c:631: sizeof applied to an incomplete type util.c:507: warning: unused variable `ifrflags' util.c:506: warning: unused variable `ifc' *** Error code 1 make: Fatal error: Command failed for target `util.o' Current working directory /afs/isis.unc.edu/home/p/m/pmitchel/ethereal-0.8.12 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /afs/isis.unc.edu/home/p/m/pmitchel/ethereal-0.8.12 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' bash-2.04$ specifically, it appears to not understand the struct type ifconf struct ifconf ifc; The only modificatiosn I have made is that I moved pcap.h and bpf.h locally into the ethereal-0.8.12 directory (and rewrote the include statements). Any ideas? Note: I'm attempting this on solaris 7 (version 11/99) on a startfire (Enterprise 10000) Paul Mitchell ============================================================================== Paul Mitchell email: pmitchel@xxxxxxxxxxxxx phone: (919) 962-9778 office: I have an office, room 28, Phillips Hall ==============================================================================
- Prev by Date: Re: [ethereal-users] compilation prob.
- Next by Date: [ethereal-users] truncated output
- Previous by thread: Re: [ethereal-users] focus on last packet
- Next by thread: [ethereal-users] truncated output
- Index(es):