AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080122150815.6406ca39@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
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C92E7@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 22 Jan 2008 15:09:02 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: build problem
Message-ID: <20080122150902.4cc2146a@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C92E7@onstor-exch02.onstor.net>
References: <20080122133828.24284ffd@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C92E7@onstor-exch02.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

On Tue, 22 Jan 2008 13:51:24 -0800 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> You might have a hard time moving these files because they are part of
> Zshell (Zebra shell?) and they may need the config.h from that port.
> Using that config.h in genlib might screw up other stuff. I don't
> think those files were meant to be generic or split apart from the
> Zshell package.

You misunderstood me, there is no config.h in genlib, I moved the
config.h* files to genlib from nfxsh.  AFAIK all we use from zebra
library is memory.[ch] and vector.[ch], plus zebra.h.

> L.
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Tuesday, January 22, 2008 1:38 PM
> To: Larry Scheer
> Subject: build problem
> 
> 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/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.8/include/netinet/ip.h:68: field `ip_src' has incomplete type
> /home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.8/include/netinet/ip.h:68: field `ip_dst' has incomplete type
> /home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.8/include/netinet/ip.h:146: field `ipt_addr' has incomplete type
> /home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.8/include/netinet/ip.h:182: field `ippseudo_src' has incomplete
> type /home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.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/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.8/include/arpa/inet.h:79: warning: parameter has incomplete type
> /home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.8/include/arpa/inet.h:82: warning: parameter has incomplete type
> /home/larrys/perforce/trees/dev/openbsd.new/usr/cross/pmonmips/usr/lib/g
> cc-lib/mipsel-unknown-openbsd2.8/2.95.3/../../../../mipsel-unknown-openb
> sd2.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
