Greetings, Attempting to create static ksh93.
My target is linux.arm. Here is the relevant nmake output: cmd/ksh93: + cc -O -I. -I/opt/ast/src/cmd/ksh93/include -I- -I. -I/opt/ast/src/cmd/ksh93/include -I/opt/ast/include/ast -D_BLD_shell '-DSHOPT_DYNAMIC=0' -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH '-D_API_ast=20100309' -DSHOPT_FIXEDARRAY -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND '-DERROR_CONTEXT_T=Error_context_t' -DSHOPT_ESH -c /opt/ast/src/cmd/ksh93/bltins/cd_pwd.c cc1: note: obsolete option -I- used, please use -iquote instead /opt/ast/src/cmd/ksh93/bltins/cd_pwd.c: In function 'b_pwd': /opt/ast/src/cmd/ksh93/bltins/cd_pwd.c:236: error: 'shp' undeclared (first use in this function) /opt/ast/src/cmd/ksh93/bltins/cd_pwd.c:236: error: (Each undeclared identifier is reported only once /opt/ast/src/cmd/ksh93/bltins/cd_pwd.c:236: error: for each function it appears in.) make [cmd/ksh93]: *** exit code 1 making cd_pwd.o cmd/ksh93/cc-O,-D_BLD_DLL,-fPIC: make [cmd/ksh93]: *** 1 action failed make: *** exit code 1 making cmd/ksh93 As of Febuary 10th 2011, using: http://www2.research.att.com/~gsf/download/tgz/ast-base.2011-02-08.tgz The problem occurs when setting the "SHOP_DYNAMIC == 0" in the ksh93 Makefile. Tuning this knob to default 1 (dynamic) solves the build problem. The goal is to create ksh93 packages for both static and dynamic, where /bin/sh is static, /usr/bin/ksh dynamic. Any suggestions? Going forward I may try to reproduce the issue using another architecture or platform. Thanks in Advance, -- -Jon _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
