Hello! I'm trying to recompile acme in plan9port in order to add some things to 
 text.c. I' ve done this in the past, but now, with "mk install" or "mk all", 
in  /usr/local/plan9/src/cmd/acme/, i' m getting the following errors:

9l -o o.acme acme.o addr.o buff.o cols.o disk.o ecmd.o edit.o elog.o exec.o 
file.o fsys.o logf.o look.o regx.o rows.o scrl.o text.o time.o util.o wind.o 
xfid.o 
/usr/bin/ld: /usr/local/plan9/lib/libplumb.a(fid.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libplumb.a(mesg.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frdelete.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
.....(etc)

I attached a file (log) with the entire output. I understand that this also 
happens - searching online - with make but i can' t figure out what to do with 
MK.

Thanks! 
João Reis

9l -o o.acme acme.o addr.o buff.o cols.o disk.o ecmd.o edit.o elog.o exec.o 
file.o fsys.o logf.o look.o regx.o rows.o scrl.o text.o time.o util.o wind.o 
xfid.o 
/usr/bin/ld: /usr/local/plan9/lib/libplumb.a(fid.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libplumb.a(mesg.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frdelete.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frdraw.o): relocation R_X86_64_32 
against `.rodata.str1.8' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frinit.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frinsert.o): relocation 
R_X86_64_32 against `.bss' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frptofchar.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frselect.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frstr.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frutil.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libframe.a(frbox.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(alloc.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usrmk: exit 1
/local/plan9/lib/libdraw.a(arith.o): relocation R_X86_64_32 against 
`.rodata.str1.1' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(buildfont.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(chan.o): relocation R_X86_64_32S 
against `.data' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(drawclient.o): relocation 
R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(drawfcall.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(init.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(keyboard.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(mouse.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(openfont.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(scroll.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(string.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(stringwidth.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(subfontcache.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(window.o): relocation R_X86_64_32 
against `.rodata.str1.8' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(font.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(getdefont.o): relocation 
R_X86_64_32 against symbol `defontdata' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(getsubfont.o): relocation 
R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(loadimage.o): relocation 
R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(readsubfont.o): relocation 
R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(subfont.o): relocation R_X86_64_32 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(subfontname.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(unloadimage.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(readimage.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libdraw.a(creadimage.o): relocation 
R_X86_64_32S against symbol `drawld2chan' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9pclient.a(fs.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9pclient.a(ns.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9pclient.a(read.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9pclient.a(walk.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9pclient.a(write.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libmux.a(mux.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libmux.a(queue.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libthread.a(pthread.o): relocation 
R_X86_64_32 against `.bss' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libthread.a(channel.o): relocation 
R_X86_64_32 against `.rodata' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libthread.a(exec.o): relocation R_X86_64_32 
against `.text' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/libthread.a(ioproc.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libthread.a(iorw.o): relocation R_X86_64_32 
against `.text' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/libthread.a(thread.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libthread.a(daemonize.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libcomplete.a(complete.o): relocation 
R_X86_64_32 against `.text' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libbio.a(binit.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/libbio.a(bvprint.o): relocation R_X86_64_32S 
against `.text' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(_p9dir.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(atexit.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(atnotify.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(convM2S.o): relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(convS2M.o): relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(create.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(ctime.o): relocation R_X86_64_32S 
against `.data' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(dial.o): relocation R_X86_64_32 
against symbol `in6addr_any@@GLIBC_2.2.5' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(dirfstat.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(dirmodefmt.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(dirread.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(encodefmt.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(errstr.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(fcallfmt.o): relocation R_X86_64_32 
against `.rodata.str1.8' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(get9root.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(getenv.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(getns.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(getuser.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(main.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(malloc.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(notify.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(open.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(post9p.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(postnote.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(read9pmsg.o): relocation R_X86_64_32 
against `.rodata.str1.8' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(rfork.o): relocation R_X86_64_32 
against `.text' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(sendfd.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(sysfatal.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(u16.o): relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(u32.o): relocation R_X86_64_32 against 
`.rodata.str1.8' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(u64.o): relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(unsharp.o): relocation R_X86_64_32 
against `.data' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(wait.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(zoneinfo.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(dofmt.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(fmt.o): relocation R_X86_64_32 against 
symbol `__badfmt' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(fmtlocale.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(fmtlock2.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(fmtquote.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(runevsmprint.o): relocation 
R_X86_64_32S against `.text' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(vsmprint.o): relocation R_X86_64_32S 
against `.text' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(_p9dialparse.o): relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(await.o): relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; recompile 
with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(convM2D.o): relocation R_X86_64_32S 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(lrand.o): relocation R_X86_64_32 
against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(tokenize.o): relocation R_X86_64_32 
against `.data' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(fltfmt.o): relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(fmtfd.o): relocation R_X86_64_32S 
against symbol `__fmtFdFlush' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld: /usr/local/plan9/lib/lib9.a(strtod.o): relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
mk: 9l -o o.acme ...  : exit status=exit(1)

Reply via email to