[Samba] 3.0.23pre1 does not compile on HP-UX 11i
Ryan Novosielski
novosirj at umdnj.edu
Tue May 9 21:00:59 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
As for the compile problem, these are the only difference between the
3.0.23pre1 and 3.0.22 sysacls.c files. Hopefully someone more
knowledgeable than me can be of assistance here. Thanks very much for
any insights.
# diff sysacls.c sysacls.c-3.0.22
691a692,693
> char *oldtext = text;
>
693c695,697
< if ((text = SMB_REALLOC(text, maxlen)) == NULL) {
- ---
>
> if ((text = SMB_REALLOC(oldtext, maxlen)) == NULL) {
> SAFE_FREE(oldtext);
1318a1323,1324
> char *oldtext = text;
>
1320c1326,1327
< if ((text = SMB_REALLOC(text, maxlen)) == NULL) {
- ---
>
> if ((text = SMB_REALLOC(oldtext, maxlen)) == NULL) {
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
Ryan Novosielski wrote:
>
> Just attempted to build 3.0.23pre1 on HP-UX 11.11 today, preparing for a
> planned move to a later version of 3.0.x (we're currently down at
> 3.0.11). Configure ran fine, but make eventually failed here:
>
> Compiling lib/sysacls.c
> cc: warning 422: Unknown option "fPIE" ignored.
> cc: "lib/sysacls.c", line 1277: warning 611: Type conversion loses
> "const" qualifier.
> cc: "lib/sysacls.c", line 1321: error 1588: "oldtext" undefined.
> cc: "lib/sysacls.c", line 1321: warning 563: Argument #1 is not the
> correct type.
> make: *** [lib/sysacls.o] Error 1
>
> ...of note also are the large number of "fPIE" errors, even though
> configure finds that "-fPIE" is supported. I'm using HP-UX's AnsiC
> compilers (which were supported last I checked).
>
> Here is my configure:
>
> ./configure \
> --without-ldap \
> --without-ldapsam \
> --without-ads \
> --with-libiconv=/usr/local \
> --with-quotas \
> --with-utmp \
> --with-syslog \
> --prefix=/products/samba-$SMBVER \
> --libdir=/products/samba-$SMBVER/lib \
> --localstatedir=/var/samba \
> --with-configdir=/etc/samba \
> --with-privatedir=/etc/samba/private \
> --with-lockdir=/var/spool/locks/samba \
> --with-swatdir=/products/samba-$SMBVER/swat \
> --with-acl-support \
> --with-msdfs \
> --with-pam_smbpass \
> --with-pam
>
> ...anyone got any hints to offer? I have since compiled 3.0.22 and it
> does work as expected (with some minor issues that I will address under
> separate cover), so this problem is new to 3.0.23.
>
> Thanks for your help.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
iD8DBQFEYQMLmb+gadEcsb4RAhKZAJ4pfBnwlv6wv4p49TE3j002jw8rugCgjPJJ
kdoVwO5pBVnjGaJJL6NRWlQ=
=/hwJ
-----END PGP SIGNATURE-----
More information about the samba
mailing list