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

    Date:        Thu, 06 Nov 2014 00:06:17 GMT
    From:        Gerard Lally <>
    Message-ID:  <>

  | I have not had any luck building ast-ksh 2012-08 on NetBSD 7 beta
  | (20141103) from either source or pkgsrc (2014Q2).
  | When compiling on 7 no binary is produced.

That's not really useful information - there are link errors (or at
least I saw some when I just tried to build it), it would have helped
if you had mentioned them ... it can help get the (perhaps just one)
person who recognises what happened, and how it should be fixed, to
look at it.   "It doesn't work" is likely to be treated as "someone
else's problem, probably"...

  | I have bought two books to learn the Korn shell

If you're just starting you'll probably find /bin/ksh close enough to
ast-ksh (aka ksh93) to get started on at least, and that's a standard
part of NetBSD.

For anyone who understands what might be happening, this is what
the build did ...

+ cc -O2 '-L.' '-L/usr/obj/pkg/shells/ast-ksh/work.testnb7/arch/netbsd.amd64/lib' -o 'suid_exec' 'suid_exec.o' '/usr/obj/pkg/shells/ast-ksh/work.testnb7/arch/netbsd.amd64/lib/libast.a' '/usr/obj/pkg/shells/ast-ksh/work.testnb7/arch/netbsd.amd64/lib/libast.a'
/usr/obj/pkg/shells/ast-ksh/work.testnb7/arch/netbsd.amd64/lib/libast.a(sfcvt.o): In function `_sfcvt':
sfcvt.c:(.text+0x2f1): undefined reference to `frexpl'
sfcvt.c:(.text+0x306): undefined reference to `ldexpl'
sfcvt.c:(.text+0x3bb): undefined reference to `ldexpl'
mamake [cmd/ksh93]: *** exit code 1 making suid_exec

That was on a (slightly old now) 7.0_BETA amd64 (xen domu if it matters,
but I doubt it) ...

NetBSD 7.0_BETA NetBSD 7.0_BETA (XEN3_DOMU) #2: Fri Sep 26 09:51:54 ICT 2014 amd64


Home | Main Index | Thread Index | Old Index