[Samba] 3.0.23pre1 does not compile on HP-UX 11i

Ryan Novosielski novosirj at umdnj.edu
Tue May 9 15:22:25 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ah... I think I've discovered the problem (from configure.log):

configure:1695: checking for -fPIE
configure:1705: cc +DA1.1 +DS1.1 -DUSING_GROUPNAME_MAP -DWITH_SYSLOG
- -L/products
/openldap/lib -I/products/openldap/include -I/usr/local/include
- -L/usr/local/lib
  -pie -fPIE -o conftest conftest.c 1>&5
cc: warning 422: Unknown option "-pie" ignored.
cc: warning 422: Unknown option "fPIE" ignored.
configure:1708: $? = 0
configure:1717: result: yes

...this returns cleanly when it clearly is not supported. Perhaps this
test needs to treat warnings as errors?

Looks like indeed --disable-pie would be the preferred solution.

 ---- _  _ _  _ ___  _  _  _
 |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


Gerald (Jerry) Carter wrote:
> 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.2 (MingW32)

iD8DBQFEYLOxmb+gadEcsb4RAjEFAJ4keepIBR5GTYz0qJ9ZMrDXcLsHAgCfZubT
c2T2t8Om37JEyKmZ56pbuRE=
=YFFr
-----END PGP SIGNATURE-----



More information about the samba mailing list