Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All, I am trying to build a binary using gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) and got following sort of warnings /usr/home/gpatil/mirasrc/007/obj/mira/lib/distrib/libmira.a(mira_util.o)(.text+0x3a9): In function `mira_seteuid': /usr/home/gpatil/mirasrc/007/src/mira/lib/libmira/mira_util.c:320: warning: Using ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    2

    Question Help needed regarding linker warning

    Hi All,

    I am trying to build a binary using gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) and got following sort of warnings

    /usr/home/gpatil/mirasrc/007/obj/mira/lib/distrib/libmira.a(mira_util.o)(.text+0x3a9): In function `mira_seteuid':
    /usr/home/gpatil/mirasrc/007/src/mira/lib/libmira/mira_util.c:320: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    /usr/home/gpatil/mirasrc/007/obj/mira/lib/distrib/libmira.a(idmatch.o)(.text+0x500): In function `hostaddr':
    /usr/home/gpatil/mirasrc/007/src/mira/lib/libmira/../libgulp/idmatch.c:298: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

    Any idea how to eliminate these?
    Although binary is builded successfully but it doesn't seems have symbol info of static functions in code thats driving me crazy while debugging it

    Any help in this regard will be appreciated

    -Cheers,
    Gunvant
    ~~~~~~~~~~~~~~
    No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    90
    is this on cygwin ?
    getpwnam and other functions are known to fail.

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    2
    Quote Originally Posted by bhaslinux
    is this on cygwin ?
    getpwnam and other functions are known to fail.
    Platform is RHEL4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...