[Samba] Help with 2.2.4 binary build
Desmond Quek
dquek at jni.com
Mon Jun 3 16:02:02 GMT 2002
Hi folks,
I'm getting these messages when compiling 2.2.4 on Solaris 7 with gcc
version 2.95.3:
% ./configure --with-utmp
% make
Compiling smbd/password.c
smbd/password.c: In function `grab_server_mutex':
smbd/password.c:1198: warning: passing arg 1 of `message_named_mutex'
discards qualifiers from pointer target type
Compiling lib/system.c
lib/system.c: In function `sys_readdir':
lib/system.c:331: warning: return from incompatible pointer type
Linking bin/winbindd
Compiling nsswitch/winbind_nss.c with -KPIC
gcc: unrecognized option `-KPIC'
Compiling nsswitch/wb_common.c with -KPIC
gcc: unrecognized option `-KPIC'
Compiling nsswitch/winbind_nss_solaris.c with -KPIC
gcc: unrecognized option `-KPIC'
In file included from nsswitch/winbind_nss_solaris.c:20:
nsswitch/winbind_nss_config.h:135: warning: `ZERO_STRUCTP' redefined
include/smb_macros.h:48: warning: this is the location of the previous
definition
Should I be concerned with the warning messages? What do I need to do
to get rid of "unrecognized option `-KPIC'"?
Any pointers will be appreciated!
Desmond
--
JNI Corporation - ASIC Development
45365 Northport Loop West. Fremont, CA 94538-6417
Tel: (510) 360-4751 Fax: (510) 252-0123
More information about the samba
mailing list