pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ast-ksh fails to build on NetBSD 7



And there's another error I didn't spot first time through the log...
(whatever "make" program this thing uses to build doesn't stop building
when it encounters an error...)

+ cc -O2 '-I.' '-I/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93' -Iinclude '-I/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93/include' '-I/usr/obj/pkg/shells/ast-ksh/work.testnb7/arch/netbsd.amd64/include/ast' '-D_API_ast=20100309' '-D_PACKAGE_ast' '-DSHOPT_SUID_EXEC' '-DSHOPT_DYNAMIC' '-DSHOPT_NAMESPACE' '-DSHOPT_PFSH' '-DSHOPT_STATS' '-DSHOPT_COSHELL' '-DSHOPT_HISTEXPAND' '-D_BLD_shell' '-DERROR_CONTEXT_T=Error_context_t' '-DSHOPT_FIXEDARRAY' '-DSHOPT_ESH' '-DSHOPT_MULTIBYTE' '-DSHOPT_BGX' -DKSHELL '-DSHOPT_BRACEPAT' -c '/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93/sh/path.c'
/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93/sh/path.c: In function 'path_absolute':
/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93/sh/path.c:815:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        (addr=(Shbltin_f)dlllook((void*)0,stakptr(n))) &&
              ^
/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93/sh/path.c:826:73: error: 'RTLD_LAZY' undeclared (first use in this function)
     if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0))
                                                                         ^
/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93/sh/path.c:826:73: note: each undeclared identifier is reported only once for each function it appears in
/usr/obj/pkg/shells/ast-ksh/work.testnb7/src/cmd/ksh93/sh/path.c:850:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        (addr=(Shbltin_f)dlllook(dll,stakptr(n))) &&
              ^
mamake [cmd/ksh93]: *** exit code 1 making path.o




Home | Main Index | Thread Index | Old Index