-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEYKTkmb+gadEcsb4RArFGAJ9f/e+G+/Iw2UuiccAjeZGc+BmecACgyQHh YLneoLeEYn0MOl68hlEG0VA=JQhi -----END PGP SIGNATURE-----
Gerald (Jerry) Carter
2006-May-09 14:52 UTC
[Samba] 3.0.23pre1 does not compile on HP-UX 11i
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ryan Novosielski wrote:> > ...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).Ryan, Would you try building with --disable-pie ? cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEYKx0IR7qMdg1EfYRAhokAJ0ajCWGrzFoUhVc6/5zOnqdA5GdswCfdRGX 1BVVQLFgRIVaW1MbwtoS6V8=N2wc -----END PGP SIGNATURE-----
-----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@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-----
Gerald (Jerry) Carter
2006-May-10 06:34 UTC
[Samba] 3.0.23pre1 does not compile on HP-UX 11i
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ryan Novosielski wrote:> 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.Just delete line 1321. Our fault. Thanks for reporting it. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEYYkqIR7qMdg1EfYRAvWoAKC1drQbx+APxCGTrNWoHVfpt0Wk7gCgpOwY qIkJwk2eSJiuNKfzfRHSwgE=/iwW -----END PGP SIGNATURE-----