Mini_Sendmail: Compile problems on static binary
Jordon Bedwell
jordon at envygeeks.com
Mon Aug 23 18:59:30 UTC 2010
clus03srv09:/usr/src/mini_sendmail# gcc -O -c mini_sendmail.c
clus03srv09:/usr/src/mini_sendmail# gcc -O -ggdb -s -static
mini_sendmail.o -lnsl -o mini_sendmail
mini_sendmail.o: In function `main':
mini_sendmail.c:(.text+0x58a): warning: Using 'getpwuid' in statically
linked applications requires at runtime the shared libraries from the
glibc version used for linking
mini_sendmail.c:(.text+0x9f6): warning: Using 'getaddrinfo' in
statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
Any ideas? There were some hints that it was a bug that was fixed with
a findutil update but some imply it seems to be a gotcha that needs to
be fixed with glibc, anyways ideas?
More information about the ubuntu-users
mailing list