X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C853E3.CDCBC141@onstor-exch02.onstor.net>; Thu, 10 Jan 2008 16:52:05 -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: OK, what am i doing wrong now...
Date: Thu, 10 Jan 2008 16:52:05 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C92A5@onstor-exch02.onstor.net>
In-Reply-To: <20080110154045.7778cc8a@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: OK, what am i doing wrong now...
Thread-Index: AchT4jftDz2yOW4bSx2jVEJVK9E0pAAAST9w
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Looks like your missing some source in libopt.so or moved them to
another library which didn't get built and added to the PKGS list or
didn't change the names of some functions in the function calls.


-----Original Message-----
From: Andy Sharp=20
Sent: Thursday, January 10, 2008 3:41 PM
To: Larry Scheer
Subject: OK, what am i doing wrong now...

cc is /usr/openbsd.new/usr/cross/pmonmips/usr/bin/cc
CFLAGS is -fPIC -DBOBCAT -DDEFAULT_VENDOR_NAME=3D"ONStor"
-DDEFAULT_PROD_NAME=3D"BOBCAT" -Wall -Wmissing-prototypes -Werror
-DEXTENDED_SECURITY -DNFX_KERBEROS -DNETEEE_FRAGMENT -G 0
/usr/openbsd.new/usr/cross/pmonmips/usr/bin/cc -fPIC  -DBOBCAT
-DDEFAULT_VENDOR_NAME=3D\"ONStor\" -DDEFAULT_PROD_NAME=3D\"BOBCAT\" =
-Wall
-Wmissing-prototypes  -Werror -DEXTENDED_SECURITY -DNFX_KERBEROS
-DNETEEE_FRAGMENT  -G 0  -o ../../Build/bc/dbg/bin/cluster_contrl \
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster-contrl-cfg.o
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster-contrl-rpc.o
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster-rmc.o
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster_int.cs.o
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster_int.xdr.o
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster-util.o
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster-contrl-cache.o
\
-L../../Build/bc/dbg/lib -lcluster -lldap -Wl,-Bstatic -lssl
-Wl,-Bdynamic -lm   \
-L../../Build/bc/dbg/lib -lanpssc -le_log -lubik -lafsutil -llwp -lafsrx
-lncm -lrmc -lutils -lauthen -licucommon -licudata -lnfxnis -lacrypt
-levent -lopt -lbsdcompat -lgenlib \
 -Xlinker -rpath -Xlinker /onstor/lib
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster-contrl-cfg.o:
In function `cluster_lock_local_db':
/home/andys/flash/dev/nfx-tree/code/ssc-cluster/cluster-contrl-cfg.c:326
9: undefined reference to `ensure_fs_writable'
/home/andys/flash/dev/nfx-tree/code/ssc-cluster/cluster-contrl-cfg.c:328
9: undefined reference to `restore_fs_permissions'
../../Build/bc/dbg/Objects/SSC/ssc-cluster/contrl/cluster-contrl-cfg.o:
In function `cluster_unlock_local_db':
/home/andys/flash/dev/nfx-tree/code/ssc-cluster/cluster-contrl-cfg.c:341
7: undefined reference to `ensure_fs_writable'
/home/andys/flash/dev/nfx-tree/code/ssc-cluster/cluster-contrl-cfg.c:343
7: undefined reference to `restore_fs_permissions'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`opt_u_mount_secondary'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`opt_mount_secondary'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`opt_do_copy_files'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`modify_readonly_file'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`sys_config_files'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`make_allfs_readonly'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`string_to_file'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`make_allfs_writable'
../../Build/bc/dbg/lib/libopt.so: undefined reference to `redo_hosts'
../../Build/bc/dbg/lib/libopt.so: undefined reference to
`opt_get_sec_fstab'
make[2]: *** [../../Build/bc/dbg/bin/cluster_contrl] Error 1
make[2]: Leaving directory
`/home/andys/flash/dev/nfx-tree/code/ssc-cluster'
make[1]: *** [default] Error 1



All these symbols should be in libopt, which is on the command line ...
so I'm at a loss to understand.
