Re: Compiling problems on Redhat 7.0

From: Matt (fedhead2@home.com)
Date: Mon Jul 02 2001 - 18:26:14 PDT

  • Next message: Karl Heinz Kremer: "Re: What's the status of sanei-thread?"

    Henning Meier-Geinitz wrote:

    > Hi,
    >
    > On Sat, Jun 30, 2001 at 05:23:51PM -0400, Matt wrote:
    > > I am have been trying to compile any version of sane (currently 1.0.4)
    > > and I get to scanimage.c and it errors out saing that there is an
    > > undefined reference to atexit. Any ideas?
    >
    > Please try the latest pre-release (http://www.mostang.com/sane/) or
    > release 1.0.5 when it is released and send the exact error message
    > including all the lines of the compiliation command. Thanks.
    >
    > Please also have a look at include/sane/config.h and send send the
    > line containig "#define HAVE_ATEXIT".
    >
    > I have never heard before about problems with atexit so maybe you can
    > provide some more details about your system (kernel version, glibc
    > version).
    >
    > Bye,
    > Henning
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    Hi, thanks for replying, here is the low down on my computer.
    Redhat 7.0
    Kernel 2.2.18
    gcc ver 2.96.69
    glibc ver 2.2.2.10
    gtk+ ver 1.2.8.7

    This is my output from the make of the backends:

    gcc -o .libs/scanimage scanimage.o stiff.o ../backend/.libs/libsane.so
    -lnsl -lm -ldl ../lib/liblib.a -Wl,--rpath -Wl,/usr/local/lib
    ../backend/.libs/libsane.so: undefined reference to `atexit'
    collect2: ld returned 1 exit status
    make[1]: *** [scanimage] Error 1
    make[1]: Leaving directory `/home/fed/temp/sane-backends-1.0.5/frontend'
    make: *** [all-recursive] Error 1

    This is the ./include/sane/config.h file

    /* Define if you have the atexit function. */
    /* #undef HAVE_ATEXIT */

    Don't know what else to add here. Thanks for any help.

    Matt

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Mon Jul 02 2001 - 18:25:27 PDT