On Tue, Nov 05, 2002 at 04:04:11PM +0100, Hiemisch Joerg wrote:
> Hi All,
> I have some trouble to compile SSLeay on HP-UX 11.11
>
> I installed a new system with latest recommended patches ( including perl
> 5.6.1 ).
>
> # perl -v
>
> This is perl, v5.6.1 built for PA-RISC1.1-thread-multi
> (with 1 registered patch, see perl -V for more detail)
>
> Copyright 1987-2001, Larry Wall
>
> Binary build 627 provided by ActiveState Tool Corp.
> http://www.ActiveState.com
> Built 21:42:53 Jun 20 2001
>
>
>
> I installed openssl 0.9.6.d from HP-UX Software Porting Center.
> I installed gcc 3.2 from HP-UX Software Porting Center.
>
> When I try to install SSLeay I get the following output.
>
> # pwd
> /tmp/Crypt-SSLeay-0.45
> # make
> gcc -c -I/usr/local/include -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
> -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
> -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -fPIC
> -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE SSLeay.c
> cc1: warning: changing search order for system directory
> "/usr/local/include"
> cc1: warning: as it has already been specified as a non-system directory
> In file included from
> /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE/perl.h:713,
> from SSLeay.xs:13:
> /usr/include/sys/socket.h:439: parse error before "sendfile"
> /usr/include/sys/socket.h:440: parse error before "bsize_t"
> /usr/include/sys/socket.h:441: parse error before "sendpath"
> /usr/include/sys/socket.h:442: parse error before "bsize_t"
> /usr/include/sys/socket.h:456: parse error before "__sendfile64"
> /usr/include/sys/socket.h:456: parse error before "bsize_t"
> /usr/include/sys/socket.h:457: parse error before "__sendpath64"
> /usr/include/sys/socket.h:457: parse error before "bsize_t"
> /usr/include/sys/socket.h:459: parse error before "sendfile"
> /usr/include/sys/socket.h: In function `sendfile':
> /usr/include/sys/socket.h:459: parse error before "bsize_t"
> /usr/include/sys/socket.h: At top level:
> /usr/include/sys/socket.h:460: parse error before "sendpath"
> /usr/include/sys/socket.h: In function `sendpath':
> /usr/include/sys/socket.h:460: parse error before "bsize_t"
> *** Error exit code 1
>
> Stop.
> #
>
> What does it mean?
> Can anybody help me?
gcc has special requirements for the header files. Some of it must
be modified for use with gcc. For this very reason, gcc has private
copies of those header files including the necessary modifications.
If gcc was built on another system (version of the operating system)
conflicts like the one shown might appear.
I cannot say, in how far "perl" specialties may lead to additional
complications in this regard.
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]