Hi, 

        I tried to build glibc-2.0.122 and after about 2 hours of compiling
        time everything seemed to be ok. I compiled glibc with 2.2.1 kernel
        header files, although my system is running kernel 2.0.30, and installed
        it in /usr/local. 

        Here is part of my configuration used to build glibc:

        o egcs 1.1.1 (egc-2.91.60)
        o binutils 2.9.1.0.25
        o ld 1.9.9
        o GNU Make 3.71.1
        o libc 5.4.33

        Now, when I'm trying to run the simpe foo.c program:

        void main(void) {}

        which is compiled as:

        $ gcc foo.c -Wl,--dynamic-linker=/usr/lib/ld.linux.so.2 -o foo 

        I'm getting the following 'strange' msg:

        $ ./foo
        bash: ./foo: No such file or directory

        I've also included /usr/local/lib in the LD_LIBRARY_PATH env.
        variable.

        Also, when I try the following:

        bash# nm -u foo
        __mon_start__
        __ibc_start_main@@GLIBC_2.0
        _p_hw
        abort@@GLIBC_2.0
        free@@GLIBC_2.0
        malloc@@GLIBC_2.0

        Any ideas?

        If I'm asking in the wrong place I would appreciate u pointing me
        to the appropriate one. TIA. :-)

        Best Regards,
        Elias

--

    Elias Athanasopoulos

  ------------------
      Faculty Of Science 
    Department Of Physics      
                           
    *University Of Athens*
  ------------------

  --In a world without fences who needs GATES?

Reply via email to