Hi! ----
[This is AFAIK an issue once seen on Solaris... which got fixed... and now has it's revenge upon us on Linux... ;-( ] If I try to build ast-open.2012-05-18 on SuSE 12.1/AMD64 with ksh binary in $PATH (and SHELL pointing to it, too) previously fetched from a Solaris 12.1/AMD64 ast-open.2012-05-18 (with -DSHOPT_CMDLIB_BLTIN=0 -DSH_CMDLIB_DIR=\"/usr/ast/bin\" -DSHOPT_CMDLIB_HDR=\"/home/test001/work/ast_ksh_20120518/build_linux_32bit/tmp_gnulinux_builtin_header.h\" ; I've attached the header file as "tmp_gnulinux_builtin_header.h") build I get the following error: -- snip -- + chmod -w /home/test001/work/ast_ksh_20120518/build_normal_sed_under_valgrind/arch/linux.i386-64/lib/libcmd.so.1.2 ksh[783]: chmod: /home/test001/work/ast_ksh_20120518/build_normal_sed_under_valgrind/arch/linux.i386-64/lib/libcmd.so.1.2: not found [Invalid argument] -- snip -- Glenn/David: Can you reproduce the problem on your side (e.g. compile ast-open with the SHOPT_CMDLIB_HDR header attached to this file, fetch the resulting ksh93 binary and use it again to build ast-open) ? ---- Bye, Roland P.S.: "Subject:" loosely based on http://www.imdb.com/title/tt2057850/ -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)
/*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1982-2010 AT&T Intellectual Property * * and is licensed under the * * Common Public License, Version 1.0 * * by AT&T Intellectual Property * * * * A copy of the License is available at * * http://www.opensource.org/licenses/cpl1.0.txt * * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * * * * Information and Software Systems Research * * AT&T Research * * Florham Park NJ * * * * Roland Mainz <[email protected]> * * * ***********************************************************************/ #ifndef _GNULINUX_KSH_CMDLIST_H #define _GNULINUX_KSH_CMDLIST_H #ifdef __cplusplus extern "C" { #endif /* * List builtins for Linux. * The list here is partially autogenerated and partially hand-picked * based on compatibility with the native GNU coreutils versions of * these tools */ /* GNU coreutils compatible commands. * Be careful, some are in /bin while others are in /usr/bin */ #define ASTCMDLIST(f) { "/usr/ast/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) }, #define BINCMDLIST(f) { "/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) }, #define USRBINCMDLIST(f) { "/usr/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) }, /* undo ast_map.h #defines to avoid collision */ #undef basename #undef dirname #undef mktemp /* Generated data, do not edit. */ USRBINCMDLIST(basename) USRBINCMDLIST(cksum) USRBINCMDLIST(comm) USRBINCMDLIST(cut) USRBINCMDLIST(dirname) USRBINCMDLIST(expr) USRBINCMDLIST(fold) USRBINCMDLIST(join) USRBINCMDLIST(logname) BINCMDLIST(mkdir) USRBINCMDLIST(mkfifo) BINCMDLIST(mktemp) USRBINCMDLIST(paste) USRBINCMDLIST(pathchk) USRBINCMDLIST(rev) BINCMDLIST(rmdir) BINCMDLIST(sleep) BINCMDLIST(sync) USRBINCMDLIST(tee) USRBINCMDLIST(tty) USRBINCMDLIST(uniq) USRBINCMDLIST(wc) /* Mandatory for ksh93 test suite and AST scripts */ USRBINCMDLIST(getconf) ASTCMDLIST(basename) ASTCMDLIST(cat) ASTCMDLIST(chgrp) ASTCMDLIST(chmod) ASTCMDLIST(chown) ASTCMDLIST(cksum) ASTCMDLIST(cmp) ASTCMDLIST(comm) ASTCMDLIST(cp) ASTCMDLIST(cut) ASTCMDLIST(date) ASTCMDLIST(dirname) // ASTCMDLIST(egrep) ASTCMDLIST(expr) ASTCMDLIST(fds) // ASTCMDLIST(fgrep) ASTCMDLIST(fmt) ASTCMDLIST(fold) // ASTCMDLIST(grep) ASTCMDLIST(head) ASTCMDLIST(id) ASTCMDLIST(join) ASTCMDLIST(ln) ASTCMDLIST(logname) ASTCMDLIST(md5sum) ASTCMDLIST(mkdir) ASTCMDLIST(mkfifo) ASTCMDLIST(mktemp) ASTCMDLIST(mv) ASTCMDLIST(paste) ASTCMDLIST(pathchk) // ASTCMDLIST(readlink) ASTCMDLIST(rev) ASTCMDLIST(rm) ASTCMDLIST(rmdir) ASTCMDLIST(stty) ASTCMDLIST(sum) ASTCMDLIST(sync) ASTCMDLIST(tail) ASTCMDLIST(tee) ASTCMDLIST(tty) ASTCMDLIST(uname) ASTCMDLIST(uniq) ASTCMDLIST(wc) // ASTCMDLIST(xgrep) #ifdef __cplusplus } #endif #endif /* !_GNULINUX_KSH_CMDLIST_H */
_______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
