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 ...
- 03-23-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 2
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.
- 03-25-2007 #2Just Joined!
- Join Date
- Jan 2007
- Posts
- 90
is this on cygwin ?
getpwnam and other functions are known to fail.
- 03-26-2007 #3Just Joined!
- Join Date
- Mar 2007
- Posts
- 2
Platform is RHEL4
Originally Posted by bhaslinux


Reply With Quote