No need for it, Don... I've removed my source, and gunziped the source
again, and it worked...
Thanks!
______________
Demerson Zounar
Analista de Suporte
demerson@zaffari.com.br
-----Mensagem original-----
De: MCCALL,DON (HP-USA,ex1) [mailto:don_mccall@hp.com]
Enviada em: quinta-feira, 7 de fevereiro de 2002 13:53
Para: 'Info - Demerson'; MCCALL,DON (HP-USA,ex1); samba@lists.samba.org
Assunto: RE: [Samba] Compiling in HP/UX 11.00 (GCC 3.0.1)
Hi Demerson,
Did you remove your config.cache before running configure again?
Can you send me your configure script please?
Thanks,
Don
-----Original Message-----
From: Info - Demerson [mailto:demerson@zaffari.com.br]
Sent: Thursday, February 07, 2002 12:03 PM
To: 'MCCALL,DON (HP-USA,ex1)'; Info - Demerson; samba@lists.samba.org
Subject: RES: [Samba] Compiling in HP/UX 11.00 (GCC 3.0.1)
Hullo Don...
I've done what you told me to to (comment the if and fi lines of the
configure script, and ran configure again...
But it gives an error...
checking for uint16 typedef included by rpc/rpc.h... no
checking for int32 typedef included by rpc/rpc.h... no
checking for uint32 typedef included by rpc/rpc.h... no
checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
checking for test routines... configure: error: cant find test code.
Aborting config
Any ideas?
______________
Demerson Zounar
Analista de Suporte
demerson@zaffari.com.br
-----Mensagem original-----
De: MCCALL,DON (HP-USA,ex1) [mailto:don_mccall@hp.com]
Enviada em: quinta-feira, 7 de fevereiro de 2002 11:42
Para: 'Info - Demerson'; samba@lists.samba.org
Cc: 'samba-technical@lists.samba.org'
Assunto: RE: [Samba] Compiling in HP/UX 11.00 (GCC 3.0.1)
Hi Demerson;
It turns out that gcc uses the standard HPUX ld command to build shared
libraries, rather than the gcc version (the gcc ld is not built for HPUX).
So whether you are using HP's ansi c compiler, or gcc, you need to have
special options to the ld command;
You can change these lines in your configure script, remove config.cache and
reconfigure, and I THINK it will resolve your problem (note commented out
test and 'fi' so this happens for HPUX c compiler AND gcc):
# do this for gcc too! if test $ac_cv_prog_cc_Ae = yes; then
BLDSHARED="true"
SHLD="/usr/bin/ld"
LDSHFLAGS="-B symbolic -b -z +h \$@"
PICFLAG="+z"
# do this for gcc too! fi
Let me know if this works for you,
Don
-----Original Message-----
From: Info - Demerson [mailto:demerson@zaffari.com.br]
Sent: Thursday, February 07, 2002 9:55 AM
To: samba@lists.samba.org
Subject: [Samba] Compiling in HP/UX 11.00 (GCC 3.0.1)
Hullo All,
I'm having problems while compiling SaMBa 2.2.3a in HP/UX 11, with GCC
3.0.1. Configure runs OK, and the make command goes till here:
Compiling nsswitch/winbindd_cm.c
Linking bin/winbindd
Compiling nsswitch/winbind_nss.c with -fpic
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwent_r':
nsswitch/winbind_nss.c:855: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwuid_r':
nsswitch/winbind_nss.c:906: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c:919: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwnam_r':
nsswitch/winbind_nss.c:969: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c:982: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrent_r':
nsswitch/winbind_nss.c:1106: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrnam_r':
nsswitch/winbind_nss.c:1167: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c:1181: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrgid_r':
nsswitch/winbind_nss.c:1231: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c:1245: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
Compiling nsswitch/wb_common.c with -fpic
Compiling nsswitch/winbind_nss_solaris.c with -fpic
Linking nsswitch/libnss_winbind.so
/usr/ccs/bin/ld: DP relative code in file /var/tmp/ccUzeGta.o - shared
library must be position
independent. Use +z or +Z to recompile.
collect2: ld returned 1 exit status
*** Error exit code 1
Any Ideas? Thanks!
______________
Demerson Zounar
Analista de Suporte
demerson@zaffari.com.br
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba