Mailing List Archive

glibc error? funky squirrelmail plugin..
So, I'm trying to compile the serversidefilters plugin, and it's failing
and complaining about glibc.
I am *not* a programmer.. but what am I running into here?

mail script # make
gcc -c filtercmd.c
-DSQUIRRELMAILCONFIGFILE='"/var/www/localhost/htdocs/squirrelmail/config/config.php"'
gcc -c checkcreds_cclient.c -I/usr/include/imap '-DMAIL_H="mail.h"'
'-DLINKAGE_C="linkage.c"' -DIMAP_TIMEOUT=2
gcc -o filtercmd filtercmd.o checkcreds_cclient.o /usr/lib/c-client.a
-lssl -lpam -lcrypt -lresolv -lcom_err -ldl -lz -lcrypto -static
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libpam.a(pam_handlers.o)(.text+0xd1c):
In function `_pam_add_handler':
: warning: Using 'dlopen' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/lib/c-client.a(osdep.o)(.text+0x92d5): In function `loginpw':
: warning: Using 'initgroups' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/usr/lib/c-client.a(osdep.o)(.text+0x354d): In function `pw_login':
: warning: Using 'getgrnam' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
filtercmd.o(.text+0x86d): In function `finduidgid':
: warning: Using 'getpwnam' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/usr/lib/c-client.a(osdep.o)(.text+0x3c10): In function `myusername_full':
: warning: Using 'getpwuid' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/usr/lib/c-client.a(osdep.o)(.text+0x3464): In function `pw_login':
: warning: Using 'endpwent' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/usr/lib/c-client.a(osdep.o)(.text+0x8e03): In function `tcp_name':
: warning: Using 'gethostbyaddr' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/usr/lib/c-client.a(osdep.o)(.text+0x3d26): In function `mylocalhost':
: warning: Using 'gethostbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/usr/lib/c-client.a(osdep.o)(.text+0x7086): In function `tcp_socket_open':
: warning: Using 'getprotobyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/usr/lib/c-client.a(osdep.o)(.text+0x2cf3): In function `server_init':
: warning: Using 'getservbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
chmod 4750 filtercmd
chown root:apache filtercmd
mail script #


--
gentoo-user@gentoo.org mailing list