I downloaded the packages INIT.2013-07-19.tgz and ast-ksh.2013-07-19.tgz, unpacked INIT* and copied ast-ksh* into lib/package/tgz. Then I executed > bin/package read > bin/package make
I ended up with the errors shown below. Do I need other packages or do I need to add some defines? $PACKAGEROOT/src/lib/libast/path/pathopen.c:170: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/path/pathopen.c:170: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/misc/setenviron.c:84: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/tm/tvtouch.c:152: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/vec/vecfile.c:48: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/port/astconf.c:1154: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/port/astlicense.c:456: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/port/astwinsize.c:126: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/vmalloc/malloc.c:254: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/vmalloc/malloc.c:262: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/vmalloc/vmdcsystem.c:272: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libast/vmalloc/vmdcsystem.c:280: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllplug.c:41: error: 'Dllscan_t' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllplug.c:41: error: 'dls' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllplug.c:42: error: 'Dllent_t' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllplug.c:42: error: 'dle' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllplug.c:55: error: 'RTLD_GLOBAL' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllplug.c:55: error: 'RTLD_PARENT' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dll_lib.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token $PACKAGEROOT/src/lib/libdll/dll_lib.c:110: error: expected ')' before '*' token $PACKAGEROOT/src/lib/libdll/dll_lib.c:185: error: 'Dllnames_t' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dll_lib.c:185: error: expected ';' before 'names' $PACKAGEROOT/src/lib/libdll/dll_lib.c:187: error: 'names' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllscan.c:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token $PACKAGEROOT/src/lib/libdll/dllscan.c:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token $PACKAGEROOT/src/lib/libdll/dllscan.c:359: error: expected ')' before '*' token $PACKAGEROOT/src/lib/libdll/dllscan.c:378: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token $PACKAGEROOT/src/lib/libdll/dllcheck.c:37: error: 'Dll_plugin_version_f' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllcheck.c:37: error: expected ';' before 'pvf' $PACKAGEROOT/src/lib/libdll/dllcheck.c:39: error: 'pvf' undeclared (first use in this function) $PACKAGEROOT/src/lib/libdll/dllcheck.c:39: error: expected ')' before 'dlllook' $PACKAGEROOT/src/lib/libcmd/cp.c:453: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libcmd/rm.c:287: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/lib/libcmd/tee.c:113: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/bltins/cd_pwd.c:78: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/bltins/hist.c:193: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/bltins/typeset.c:1042: error: 'RTLD_LAZY' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/edit/history.c:182: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/edit/history.c:265: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/edit/history.c:487: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/edit/history.c:732: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/edit/history.c:1195: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/io.c:895: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/io.c:907: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/io.c:968: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/io.c:2066: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/path.c:567: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/path.c:884: error: 'RTLD_LAZY' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/path.c:991: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/path.c:1391: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/path.c:1638: error: 'O_CLOEXEC' undeclared (first use in this function) $PACKAGEROOT/src/cmd/ksh93/sh/xec.c:865: error: 'O_CLOEXEC' undeclared (first use in this function) O_CLOEXEC is defined in $PACKAGEROOT/src/lib/libast/sfio/sfhdr.h Best Regards Axel Philipp -- MTU Aero Engines AG Geschaeftsfuehrung/Board of Management: Egon W. Behle, Vorsitzender/CEO; Dr. Rainer Martens, Michael Schreyögg, Dr. Stefan Weingartner, Reiner Winkler Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Klaus Eberhardt Sitz der Gesellschaft/Registered Office: Muenchen Handelsregister/Commercial Register: Muenchen HRB 157206 Diese E-Mail sowie ihre Anhaenge enthalten MTU-eigene vertrauliche oder rechtlich geschuetzte Informationen. Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte den Absender und loeschen Sie diese E-Mail sowie die Anhaenge. Das unbefugte Speichern, Kopieren oder Weiterleiten ist nicht gestattet. This e-mail and any attached documents are proprietary to MTU, confidential or protected by law. If you are not the intended recipient, please advise the sender and delete this message and its attachments. Any unauthorised storing, copying or distribution is prohibited. _______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
