You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install oksh on an older Debian 6 ARM linux (on a machine that cannot run a newer linux because of custom kernel. But I like the machine and would like to keep it running).
I install via pkgsrc. However the issue seems to be a oksh issue, not with pkgsrc.
The linking step fails with
cc -O2 -D_FORTIFY_SOURCE=2 -DEMACS -DVI -w -D_GNU_SOURCE -c vis.c
cc -Wl,-R/usr/pkg/lib -o oksh alloc.o asprintf.o c_ksh.o c_sh.o c_test.o c_ulimit.o edit.o emacs.o eval.o exec.o expr.o history.o io.o jobs.o lex.o mail.o main.o misc.o path.o shf.o syn.o table.o trap.o tree.o tty.o var.o version.o vi.o confstr.o reallocarray.o siglist.o signame.o strlcat.o strlcpy.o strtonum.o unvis.o vis.o -lcurses
c_sh.o: In function `timex':
c_sh.c:(.text+0x18b8): undefined reference to `clock_gettime'
c_sh.c:(.text+0x1928): undefined reference to `clock_gettime'
c_sh.c:(.text+0x1acc): undefined reference to `clock_gettime'
mail.o: In function `mcheck':
mail.c:(.text+0x27c): undefined reference to `clock_gettime'
var.o: In function `setspec':
var.c:(.text+0x1130): undefined reference to `clock_gettime'
var.o:var.c:(.text+0x156c): more undefined references to `clock_gettime' follow
collect2: ld returned 1 exit status
Hi,
I'm trying to install oksh on an older Debian 6 ARM linux (on a machine that cannot run a newer linux because of custom kernel. But I like the machine and would like to keep it running).
I install via pkgsrc. However the issue seems to be a oksh issue, not with pkgsrc.
The linking step fails with
This can be fixed by linking with "librt"
Maybe this can be detected in the configure script and added if needed.
The text was updated successfully, but these errors were encountered: