On Sat, Oct 6, 2012 at 9:31 AM, Glenn Fowler <g...@research.att.com> wrote:
>
> ast ksh 2012-10-04 alpha source packages have been posted to
>         www.research.att.com/sw/download/alpha/
>
> this alpha includes { grep xargs iconv } as ksh static builtins
> any b_*() function added to src/lib/libcmd will automatically be added as a 
> ksh static builtin
>
> access the builtins by adding /opt/ast/bin in PATH before the dirs that 
> contain the bative executables
>
> there is another mechanism for binding ksh static builtins via the envionment
> that dgk will describe shortly
>
> this is alpha and needs thorough testing, especially the new static builtins

On Solaris 11 ast-ksh.2012-10-04 doesn't build with the Sun Studio
12.1 compiler:
-- snip --
"/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/src/lib/libast/misc/spawnvex.c",
line 742: prototype mismatch: 6 args passed, 5 expected
"/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/src/lib/libast/misc/spawnvex.c",
line 758: warning: implicit function declaration: spawnvex_free
(E_NO_IMPLICIT_DECL_AL
LOWED)
cc: acomp failed for
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/src/lib/libast/misc/spawnvex.c
mamake [lib/libast]: *** exit code 2 making spawnvex.o
-- snip --
... fixing this (by cutting down the number of |0|'s passed as
arguments) results in the next build failure:
-- snip --
+ cc -D_TS_ERRNO -D_REENTRANT -KPIC -xO4 -xalias_level=std -xspace -Xa
-xstrconst -z combreloc -xildoff -xcsi -errtags=yes
-DSHOPT_CMDLIB_BLTIN=0 -DSH_CMDLIB_DIR="/usr/ast/bin" -D
SHOPT_CMDLIB_HDR="/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/tmp_solaris_builtin_header.h"
-DSHOPT_SYSRC -D_map_libc=1 -D_lib_socket=1 -lsocket -lnsl -L.
-L/home/t
est001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib
-o ksh pmain.o libshell.a
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/
lib/libdll.a 
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libast.a
-lm -lm /home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol
11.sun4-64/lib/libast.a -lm -lm
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libcoshell.a
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64b
it_opt/arch/sol11.sun4-64/lib/libast.a -lm -lm
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libast.a
-lm -lm /home/test001/ksh93/ast_ksh_20121
004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libcmd.a -lmd
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libast.a
-lm -lm -lmd /home/test00
1/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libast.a
-lm -lm 
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libast.a
-
lm -lm -lm -lsocket -lnsl -lsecdb -lnsl
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libast.a
-lm
Undefined                       first referenced
 symbol                             in file
spawnvex_free
/home/test001/ksh93/ast_ksh_20121004/build_sparc_64bit_opt/arch/sol11.sun4-64/lib/libast.a(spawnvex.o)
ld: fatal: symbol referencing errors. No output written to ksh
mamake [cmd/ksh93]: *** exit code 1 making ksh
-- snip --
... but there doesn't seem to be a |spawnvex_free()| in the source code.

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to