Re: XForms: Compile: flcolor.o(.text+0x1139): undefined reference to `_IO_stderr_'

From: Steve Lamont (
Date: Fri Jul 06 2001 - 18:08:50 EDT

  • Next message: Robert Williams: "Re: XForms: Compile: flcolor.o(.text+0x1139): undefined reference to `_IO_stderr_'"

    # To subscribers of the xforms list from Steve Lamont <> :

    > [root@son xspectra]# make
    > rm -f epss_out.dat
    > g77 -d_lines -g -static matrix_utils.o xspectra.o xspectra_cb.o
    > spline3.o xspectra_main.o deriv2.o pgplot_cb.o factda.o factor.o ldp.o
    > lssol.o mfeout.o qrbd.o
    > svaplt.o svdrs.o epssnnls_main.o diff.o epssnnls_sub.o
    > reference_ir_data.o fit.o g1.o g2.o h12.o nnls.o reference_raman_data.o
    > reference_raman_amide3.o normalize.o \
    > -o xspectra -ltooltips -lforms russ/v1.o russ/v2.o russ/v3.o
    > -L/usr/X11R6/lib -lX11 -lgcc -lfftw -lm
    > /usr/X11R6/lib/libforms.a(flcolor.o): In function `get_shared_cmap':
    > flcolor.o(.text+0x1139): undefined reference to `_IO_stderr_'
    > flcolor.o(.text+0x119f): undefined reference to `_IO_stderr_'
    > flcolor.o(.text+0x1205): undefined reference to `_IO_stderr_'
    > flcolor.o(.text+0x126b): undefined reference to `_IO_stderr_'
    > flcolor.o(.text+0x12d1): undefined reference to `_IO_stderr_'
    > /usr/X11R6/lib/libforms.a(flcolor.o)(.text+0x1337): more undefined
    > references to `_IO_stderr_' follow
    > collect2: ld returned 1 exit status
    > make: [xspectra] Error 1 (ignored)

    Hm. FORTRAN. Did you try including libc?

            g77 -d_lines -g -static matrix_utils.o ...
            -L/usr/X11R6/lib -lX11 -lgcc -lfftw -lm -lc

    On what flavor system is this being built?

    To unsubscribe, send the message "unsubscribe" to or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Fri Jul 06 2001 - 18:16:41 EDT