Jérôme Fenal
2003-Sep-18 12:58 UTC
RE : [Samba] Successfuly Building Samba 2.2.X under HP-UX 11i with gcc
Hello, just for my information, what happens if you append "-D_HPUX_SOURCE" ? Some (long) time ago (HP-UX 10.x), it would help compiling foreign software on HP-UX. But I had only at hand the HP compiler. Regards, J?r?me -------- Message d'origine-------- De: Hughes, Martin [mailto:Martin.Hughes@uk.thalesgroup.com] Date: jeu. 9/18/2003 13:05 ?: 'samba@lists.samba.org' Cc: Hughes, Martin Objet: [Samba] Successfuly Building Samba 2.2.X under HP-UX 11i with gcc Hello, Here is my solution to building samba 2.2.3a and 2.2.8a under HP-UX 11i. The compilers used are gcc-2.95.3 (fixed for HP-Ux 11i) and gcc-3.1.1. Compilations fail because the C headers have changed and cause previously successful ANSI compilations to fail. This causes configure to fail to detect the /usr/include/shadow.h and the make to fail at ~/samba-2.2.8a/passdb/pass_check.c. The HP ANSI C compiler does not flag an error because it compiles ANSI mode with HP extensions. The fix is simply to add the -traditional-cpp switch to the CFLAGS environment variable before configuring and compiling as shown below: setenv CFLAGS "-O2 -traditional-cpp" Hope this helps. Regards Martin Hughes mailto:martin.hughes@uk.thalesgroup.com Thales Defence (Wells) DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003 http://symposium.gartner.com/story.php.id.3323.s.5.html Please note that LogicaCMG does not have control over content from,or availability of, this website ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. LogicaCMG **********************************************************************
Possibly Parallel Threads
- RE : S3+CUPS+PDF pseudo printer : print command not functional on service
- RE : OOT : Puzzling
- =?iso-8859-1?Q?RE=A0=3A_=5BSamba=5D_Successfuly_Building_Samba_2= 2E?= 2.X under HP-UX 11i with gcc
- Samba locking database errors : V 2.2.8 a on HP-UX 11i
- Small glitch in howto