looking into the problem
a few .c files in the libast Mamfile are missing subdir prefixes
misc/fastfind.c
hash/hashalloc.c
port/mc.c
tm/tmxfmt.c
comp/spawnveg.c
regex/regcomp.c
sfio/sfrd.c
sfio/sfvprintf.c
this may have affected other Mamfiles as well
On Thu, 16 Dec 2010 11:57:25 +0100 Michal Hlavinka wrote:
> We (probably) see the same issue with ast-ksh
> compared dll from 2010-12-12 and 2010-12-01, in the new one
> #define _LIB_ast 1 /* ...
> is missing, but there are errors sooner, first one is:
> + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -
> I/mnt/home2/mhlavink/gitf/ksh/ksh-20101212/src/lib/libast -Icomp -
> I/mnt/home2/mhlavink/gitf/ksh/ksh-20101212/src/lib/libast/comp -Imisc -
> I/mnt/home2/mhlavink/gitf/ksh/ksh-20101212/src/lib/libast/misc -Iinclude -
> I/mnt/home2/mhlavink/gitf/ksh/ksh-20101212/src/lib/libast/include -Istd -
> I/mnt/home2/mhlavink/gitf/ksh/ksh-20101212/src/lib/libast/std -D_PACKAGE_ast -
> c fastfind.c
> gcc: fastfind.c: No such file or directory
> gcc: no input files
> mamake [lib/libast]: *** exit code 1 making fastfind.o
> the same goes for mc.c, tmxfmt.c, spawnveg.c, ...
> which results in
> mamake: *** exit code 1 making lib/libast
> and that's probably the reason why #define _LIB_ast is missing in dll(defs.h)
> Michal
> On Wednesday, December 15, 2010 21:25:34 Glenn Fowler wrote:
> > definitely a problem generating dlldefs.h
> > as a workaround
> > copy the old dlldefs.h to
> > $INSTALLROOT/src/lib/libdll/FEATURE/dll
> > $INSTALLROOT/src/lib/libdll/dlldefs.h
> > and then
> > bin/package make
> >
> > On Wed, 15 Dec 2010 17:45:20 +0530 Hariharan Raghavendra 1 wrote:
> > > Hi,
> > >
> > > I am trying to compile the latest version of AT&T nmake
> > >
> > > (ast-base.2010-06-21.tgz & INIT.2010-06-21.tgz) on AIX 6.1. I ended up
> > > with errors when i did the same. Please find the attachment for error
> > > list.
> > >
> > > Also I noticed, difference in dlldefs.h file between AIX 4.3 & 6.1.
> > >
> > >
> > >
> > > 1. Does AIX 6.1 support AT&T nmake?
> > > 2. If it supports, what is the fix to resolve the above mentioned errors?
> > >
> > > Since this issue is blocking us from proceeding further, any
> > > help/suggestion is very much appreciated.
> > >
> > > Thanks,
> > > Hariharan R.
> > > --=_alternative 0043698A652577FA_=
> > > Content-Type: text/html; charset="US-ASCII"
> > >
> > > <font size=2 face="sans-serif">Hi,</font>
> > > <br><font size=2 face="sans-serif"> I am trying to compile
> > > the latest version of AT&T nmake<b> (ast-base.2010-06-21.tgz &
> > > INIT.2010-06-21.tgz) </b>on AIX 6.1. I ended up with errors when
> > > i did the same. Please find the attachment for error list.</font>
> > > <br>
> > > <br>
> > > <br>
> > > <br><font size=2 face="sans-serif">Also I noticed, difference in
> > > dlldefs.h file between AIX 4.3 & 6.1. </font>
> > > <br>
> > > <br><font size=2 face="sans-serif"> </font>
> > > <br>
> > > <br><font size=2 face="sans-serif">1. Does AIX 6.1 support AT&T
> > > nmake?</font> <br><font size=2 face="sans-serif">2. If it supports, what
> > > is the fix to resolve the above mentioned errors?</font>
> > > <br>
> > > <br><font size=2 face="sans-serif">Since this issue is blocking us from
> > > proceeding further, any help/suggestion is very much appreciated.</font>
> > > <br>
> > > <br>
> > > <br><font size=2 face="sans-serif">Thanks,</font>
> > > <br><font size=2 face="sans-serif">Hariharan R.</font>
> > > --=_alternative 0043698A652577FA_=--
> > > --=_mixed 0043698A652577FA_=
> > > Content-Type: text/plain; name="Diff_dlldefs_h.txt"
> > > Content-Disposition: attachment; filename="Diff_dlldefs_h.txt"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > < /* : : generated from att=5Fnmake/src/lib/libdll/features/dll by iffe
> > > ver= sion 2010-06-18 : : */
> > > ---
> > >
> > > > /* : : generated from /src/lib/libdll/features/dll by iffe version
> > > > 2010-0=
> > >
> > > 6-18 : : */
> > > 94,157d93
> > > <
> > > < #if defined(=5F=5FMVS=5F=5F) && !defined(=5F=5FSUSV3)
> > > < #define =5F=5FSUSV3 1
> > > < #endif
> > > < #include <dlfcn.h>
> > > <
> > > < #define RTLD=5FPARENT 0
> > > <
> > > < #define DLL=5FINFO=5FPREVER 0x0001 /* pre-suffix style version
> > > */ < #define DLL=5FINFO=5FDOTVER 0x0002 /* post-suffix style
> > > version */ <
> > > < typedef unsigned long (*Dll=5Fplugin=5Fversion=5Ff)
> > > =5F=5FPROTO=5F=5F((vo= id));
> > > <
> > > < typedef struct Dllinfo=5Fs
> > > < {
> > > < char** sibling; /* sibling dirs on $PATH */
> > > < char* prefix; /* library name prefix */
> > > < char* suffix; /* library name suffix */
> > > < char* env; /* library path env var */
> > > < int flags; /* DLL=5FINFO=5F* flags */
> > > < #ifdef =5FDLLINFO=5FPRIVATE=5F
> > > < =5FDLLINFO=5FPRIVATE=5F
> > > < #endif
> > > < } Dllinfo=5Ft;
> > > <
> > > < typedef struct Dllent=5Fs
> > > < {
> > > < char* path;
> > > < char* name;
> > > < #ifdef =5FDLLENT=5FPRIVATE=5F
> > > < =5FDLLENT=5FPRIVATE=5F
> > > < #endif
> > > < } Dllent=5Ft;
> > > <
> > > < typedef struct Dllscan=5Fs
> > > < {
> > > < =5F=5FV=5F* pad;
> > > < #ifdef =5FDLLSCAN=5FPRIVATE=5F
> > > < =5FDLLSCAN=5FPRIVATE=5F
> > > < #endif
> > > < } Dllscan=5Ft;
> > > <
> > > < #if =5FBLD=5Fdll && defined(=5F=5FEXPORT=5F=5F)
> > > < #undef =5F=5FMANGLE=5F=5F
> > > < #define =5F=5FMANGLE=5F=5F =5F=5FLINKAGE=5F=5F
> > > =5F=5FEXPORT=5F=5F < #endif
> > > <
> > > < extern =5F=5FMANGLE=5F=5F Dllinfo=5Ft* dllinfo
> > > =5F=5FPROTO=5F=5F((void)); < extern =5F=5FMANGLE=5F=5F =5F=5FV=5F*
> > > dllplugin =5F=5FPROTO= =5F=5F((const char*, const char*, const
> > > char*, unsigned long, int, char*, s= ize=5Ft));
> > > < extern =5F=5FMANGLE=5F=5F =5F=5FV=5F* dllplug
> > > =5F=5FPROTO= =5F=5F((const char*, const char*, const char*, int, char*,
> > > size=5Ft)); < extern =5F=5FMANGLE=5F=5F =5F=5FV=5F*
> > > dllfind =5F=5FPROTO= =5F=5F((const char*, const char*, int, char*,
> > > size=5Ft));
> > > < extern =5F=5FMANGLE=5F=5F =5F=5FV=5F* dllopen
> > > =5F=5FPROTO= =5F=5F((const char*, int));
> > > < extern =5F=5FMANGLE=5F=5F =5F=5FV=5F* dllnext
> > > =5F=5FPROTO= =5F=5F((int));
> > > < extern =5F=5FMANGLE=5F=5F =5F=5FV=5F* dlllook
> > > =5F=5FPROTO= =5F=5F((=5F=5FV=5F*, const char*));
> > > < extern =5F=5FMANGLE=5F=5F int dllcheck
> > > =5F=5FPROTO=5F=5F((=5F=5FV= =5F*, const char*, unsigned long));
> > > < extern =5F=5FMANGLE=5F=5F char* dllerror
> > > =5F=5FPROTO=5F=5F(= (int));
> > > <
> > > < extern =5F=5FMANGLE=5F=5F Dllscan=5Ft* dllsopen
> > > =5F=5FPROTO=5F=5F((const=
> > >
> > > char*, const char*, const char*));
> > >
> > > < extern =5F=5FMANGLE=5F=5F Dllent=5Ft* dllsread
> > > =5F=5FPROTO=5F=5F((Dllsc= an=5Ft*));
> > > < extern =5F=5FMANGLE=5F=5F int dllsclose
> > > =5F=5FPROTO=5F=5F((Dllsca= n=5Ft*));
> > > <
> > > < #undef =5F=5FMANGLE=5F=5F
> > > < #define =5F=5FMANGLE=5F=5F =5F=5FLINKAGE=5F=5F
> > > <=
> > > --=_mixed 0043698A652577FA_=
> > > Content-Type: text/plain; name="Make_compile_Error.txt"
> > > Content-Disposition: attachment; filename="Make_compile_Error.txt"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > make [lib/libdll]: *** exit code 1 making dllplug.o
> > > make [lib/libdll]: *** exit code 1 making dllscan.o
> > > make [lib/libdll]: *** exit code 1 making dllcheck.o
> > > make [lib/libdll]: *** 3 actions failed
> > > make: *** exit code 1 making lib/libdll
> > > make [cmd/ksh93]: *** exit code 1 making sleep.o
> > > make [cmd/ksh93]: *** exit code 1 making test.o
> > > make [cmd/ksh93]: *** exit code 1 making typeset.o
> > > make [cmd/ksh93]: *** exit code 1 making ulimit.o
> > > make [cmd/ksh93]: *** exit code 1 making args.o
> > > make [cmd/ksh93]: *** exit code 1 making io.o
> > > make [cmd/ksh93]: *** exit code 1 making path.o
> > > make [cmd/ksh93]: *** exit code 1 making limits.o
> > > make [cmd/ksh93]: *** exit code 1 making builtins.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making sleep.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making test.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making typeset.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making ulimit.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making args.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making io.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making path.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making limits.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** exit code 1 making builtins.o
> > > make [cmd/ksh93/cc-D=5FBLD=5FDLL]: *** 9 actions failed
> > > make [cmd/ksh93]: ".DLL.cc-D=5FBLD=5FDLL", line 8: *** exit code 1 making
> > > c= c-D=5FBLD=5FDLL
> > > make [cmd/ksh93]: *** 12 actions failed
> > > make: *** exit code 1 making cmd/ksh93
> > > make: *** 2 actions failed=
> > > --=_mixed 0043698A652577FA_=--
> >
> > _______________________________________________
> > ast-developers mailing list
> > [email protected]
> > https://mailman.research.att.com/mailman/listinfo/ast-developers
> _______________________________________________
> ast-developers mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-developers
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers