This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling insight 5.3


FYI,
It's a binutils problem. To fix it you need to install a new binutils, but
it won't compile.  You need to edit the code and change mktemp to mkstemp
then compile.  The install binutiles. then when you compile insight it's
fine.

Frank

Keith Seitz wrote:

> On Thu, 2003-07-31 at 07:29, Frank wrote:
>
> >         -Wl,-rpath,/usr/local/lib -o tclsh
> > /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
> > /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
> > /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
> > /home/fcg/insight-5.3/tcl/unix/libtcl8.3.a(tmpnam.o): In function
> > `tmpnam':
> > :41: the use of `mktemp' is dangerous, better use `mkstemp'
> > collect2: ld returned 1 exit status
>
> I've not seen this error before. This looks like a linker bug (or it
> could be a compiler bug, I suppose).
>
> I would ask on the binutils mailing list about how to procede. Is
> building it shared that important? I don't really know if it works to
> begin with in 5.3; I've never tried it.
>
> For giggles, try building without the configure option "--enable-shared"
> and see if that works. At the very least, it's another data point for
> the linker or compiler folks.
>
> Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]