X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C86533.717A15B1@onstor-exch02.onstor.net>; Fri, 1 Feb 2008 17:35:00 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: problems building with -DDEBUG turned on
Date: Fri, 1 Feb 2008 17:35:00 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C9342@onstor-exch02.onstor.net>
In-Reply-To: <20080201162756.286dc910@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: problems building with -DDEBUG turned on
Thread-Index: AchlMnT2Yn+yldt+SYy1XSyGTWA7PQAAMjng
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>
Cc: "Tim Gardner" <tim.gardner@onstor.com>

On the SSC BSD the -DDEBUG conflicts with something that is one of the
reasons it was not there for long before I worked here at ONstor.

-----Original Message-----
From: Andy Sharp=20
Sent: Friday, February 01, 2008 4:28 PM
To: Larry Scheer
Subject: problems building with -DDEBUG turned on

Not sure who to send this to, but it seems to be a problem building
the S-W version of nfxsh when -DDEBUG is added to CFLAGS.  It works for
linux builds, however.

/usr/openbsd.new/usr/cross/pmonmips/usr/bin/cc -fPIC  -DBOBCAT
-DDEFAULT_VENDOR_NAME=3D\"ONStor\" -DDEFAULT_PROD_NAME=3D\"BOBCAT\" =
-Wall
-Wmissing-prototypes -DHAVE_CONFIG_H -DSYSCONFDIR=3D\"/onstor/etc/\"
-I../../Build/bc/dbg/ssc-nfxsh
-DOS_CONFIG_INCL=3D\"../ssc-zebra/config.openbsd.h\"
-DGENL_OS_INCL=3D\"../ssc-genlib/openbsd.h\" -Werror -DEXTENDED_SECURITY
-DNFX_KERBEROS -DNETEEE_FRAGMENT  -G 0  -o ../../Build/bc/dbg/bin/nfxsh
\
../../Build/bc/dbg/Objects/SSC/ssc-nfxsh/vtysh_main.o \
-L../../Build/bc/dbg/lib -lnfxsh -lreadline -lcurses -lutil -lldap -lssl
-lm   \
-L../../Build/bc/dbg/lib -lrcon -ltimekeep -lipmd -levent -lgns -lfs
-lfile -levm -lcluster -lncm -lrmc -lanpssc -le_log -lutils -lauthen
-lnfxnis -licucommon -licudata -lacrypt -lbsdcompat -linitial-config
-lgenlib -lzebra \
 -Xlinker -rpath -Xlinker /onstor/lib
../../Build/bc/dbg/lib/libnfxsh.so: undefined reference to
`__assert_fail'
make[2]: *** [../../Build/bc/dbg/bin/nfxsh] Error 1
make[2]: Leaving directory
`/home/andys/flash/dev/nfx-tree/code/ssc-nfxsh'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/andys/flash/dev/nfx-tree'
make: *** [ssc] Error 2
