In your Makefile change any KPIC for fPIC On Mon, 3 Jun 2002, Desmond Quek wrote:
> Date: Mon, 03 Jun 2002 15:56:33 -0700 > From: Desmond Quek <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [Samba] Help with 2.2.4 binary build > > 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 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba