Re: Tclkit Build Failed on OpenBSD 4.0 amd64
Jean-Claude Wippler <[email protected]>
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
Siju George wrote: > I was following steps in > > http://www.equi4.com/kitbuild.html > > to build Tclkit for use with > > http://fpx.de/fp/Software/Gorilla/ > > on and OpenBSD 4.0 Desktop on the amd64 architecture ( running OpenBSD > 4.0 amd64 port ) > > make Tcl failed with the following error > > ================================= > mkdyn: > make tcl ... FAILED: > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > =-=-=-=-=-=- > make tcl > -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- > #-#-#-#-#-#- >>>> Look in the file 'out/rest.home.local/mkdyn' for details. This problem is not essential to build tclkit - just ignore it and continue with the next steps, it should still work. The "mkdyn" target builds a shared library version of Mk4tcl, for use of Metakit with tclsh/wish executables. [...] > g++ -c -g -O2 -fPIC -DUSE_TCL_STUBS > -I../../../src/mk/unix/../include -I../../../src/mk/unix/../src -I. > ../../../src/mk/unix/../src/viewx.cpp > g++ -shared -o Mk4tcl.so mk4tcl.o mk4too.o column.o custom.o derived.o > fileio.o field.o format.o handler.o persist.o remap.o std.o store.o > string.o table.o univ.o view.o viewx.o -lpthread > /usr/bin/ld: /usr/lib/gcc-lib/amd64-unknown-openbsd4.0/3.3.5/ > libgcc.a(unwind-dw2.o): > relocation R_X86_64_32S can not be used when making a shared object; > recompile with -fPIC Having said that - looks like an option is missing from the final "ld". I've added an entry at http://www.equi4.com/fff/122 to keep track of this. -jcw