#5 Fixes: Build fails on HPUX 11.00

Josh Martin

Using Expect 5.38.0 and Tcl/Tk 8.4.1 on a 64-bit HPUX
11.00 machine the linking stage of building fails with
an undefined reference to matherr error in
exp_main_tk.c. I discovered that the reference to
matherr only needs to be used on the Sun platform, so I
wrapped an #ifdef around the reference that should only
be true on the machines that need to use matherr.


  • Josh Martin

    Josh Martin - 2002-12-13
    • priority: 5 --> 7
  • Josh Martin

    Josh Martin - 2002-12-13

    A "diff -up" patch of exp_main_tk.c for Expect 5.38.0

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2003-01-28
    • assigned_to: nobody --> andreas_kupries
  • Tim Mooney

    Tim Mooney - 2003-05-08

    Logged In: YES

    The same problem happens on Tru64 UNIX, and likely elsewhere.

    It might be wise to use a stricter set of preprocessor
    symbols that need to
    be defined (maybe add defined(__sun)), but otherwise the
    patch is, I think,
    the right approach

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2010-08-28
    • status: open --> closed-out-of-date

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks