AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080201162728.00ba7cb5@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: Fri, 1 Feb 2008 16:27:56 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: Larry Scheer <larry.scheer@onstor.com>
Subject: problems building with -DDEBUG turned on
Message-ID: <20080201162756.286dc910@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

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=\"ONStor\" -DDEFAULT_PROD_NAME=\"BOBCAT\" -Wall -Wmissing-prototypes -DHAVE_CONFIG_H -DSYSCONFDIR=\"/onstor/etc/\" -I../../Build/bc/dbg/ssc-nfxsh -DOS_CONFIG_INCL=\"../ssc-zebra/config.openbsd.h\" -DGENL_OS_INCL=\"../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
