AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080122133802.1685d503@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 22 Jan 2008 13:38:28 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: Larry Scheer <larry.scheer@onstor.com>
Subject: build problem
Message-ID: <20080122133828.24284ffd@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Larry,

I get this error when trying to compile vector.c.  I'm trying to move
vector.[ch], memory.[ch] and zebra.h over to ssc-genlib from ssc-nfxsh,
and for some reason I'm having this problem.  I also moved
ssc-nfxsh/config.h* over to ssc-genlib, because I think only vector.c
and possibly memory.c use those files.


make -C ../../code/ssc-genlib PROD=bc TARGET=SSC VARIANT=dbg PKG= local_lib
make[3]: Entering directory `/home/andys/flash/dev/nfx-tree/code/ssc-genlib'
/usr/openbsd.new/usr/cross/pmonmips/usr/bin/cc -fPIC  -DBOBCAT -DDEFAULT_VENDOR_NAME=\"ONStor\" -DDEFAULT_PROD_NAME=\"BOBCAT\" -Wall -Wmissing-prototypes -DHAVE_CONFIG_H -Werror -DEXTENDED_SECURITY -DNFX_KERBEROS -DNETEEE_FRAGMENT  -G 0  -DOS_INCL=\"openbsd.h\"  -I./openbsd -I../../Includes/bc/SSC -I../../Includes/bc -I../../Includes/openbsd -I../../Includes -I. -I../../Build/bc/dbg -DLANGUAGE_C -DLINUX_TEST  -DFS_DEBUG  -g -DSSC -DSSC_mips -DNFX_MOD_SSC -c vector.c -o ../../Build/bc/dbg/Objects/SSC/ssc-genlib/vector.o
In file included from zebra.h:116,
                 from vector.c:41:
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/netinet/ip.h:68: field `ip_src' has incomplete type
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/netinet/ip.h:68: field `ip_dst' has incomplete type
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/netinet/ip.h:146: field `ipt_addr' has incomplete type
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/netinet/ip.h:182: field `ippseudo_src' has incomplete type
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/netinet/ip.h:183: field `ippseudo_dst' has incomplete type
cc1: warnings being treated as errors
In file included from zebra.h:146,
                 from vector.c:41:
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/arpa/inet.h:79: warning: parameter has incomplete type
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/arpa/inet.h:82: warning: parameter has incomplete type
/home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/gcc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openbsd2.8/include/arpa/inet.h:86: warning: parameter has incomplete type
make[3]: *** [../../Build/bc/dbg/Objects/SSC/ssc-genlib/vector.o] Error 1
make[3]: Leaving directory `/home/andys/flash/dev/nfx-tree/code/ssc-genlib'
make[2]: *** [../../Build/bc/dbg/Objects/SSC/ssc-genlib/vector.o] Error 2
make[2]: Leaving directory `/home/andys/flash/dev/nfx-tree/code/ssc-rmc'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/andys/flash/dev/nfx-tree'
make: *** [ssc] Error 2
