Mailing List Archive

GnuPG Compilation problem on HPUX 10.20
Hello

I am trying to compile GnuPG ver 1.0.3 on one of our HPUX boxes running
on 10.20. I am using gcc version 2.95.2. It comes out with following
error.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -O2
-Wall -c iobuf.c
iobuf.c: In function `iobuf_open':
iobuf.c:598: warning: implicit declaration of function `fopen64'
iobuf.c:598: warning: assignment makes pointer from integer without a
cast
iobuf.c: In function `iobuf_create':
iobuf.c:667: warning: assignment makes pointer from integer without a
cast
iobuf.c: In function `iobuf_append':
iobuf.c:700: warning: assignment makes pointer from integer without a
cast
iobuf.c: In function `iobuf_openrw':
iobuf.c:727: warning: assignment makes pointer from integer without a
cast
iobuf.c: In function `iobuf_fopen':
iobuf.c:766: warning: assignment makes pointer from integer without a
cast
iobuf.c: In function `iobuf_get_filelength':
iobuf.c:1321: storage size of `st' isn't known
iobuf.c:1329: warning: implicit declaration of function `fstat64'
iobuf.c:1321: warning: unused variable `st'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

I am not quite sure what to do. Does anyone have any idea about this
problem? Your suggestions would be greatly helpful for me.
Please CC me as I am not in the mailing list.

ta
Prasanth Bhaskar
Unix Systems Administrator
TNT Australia Pty Limited



--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: GnuPG Compilation problem on HPUX 10.20 [ In reply to ]
On Thu, 28 Sep 2000, Prasanth_Bhaskar@tnt.com.au wrote:

> Hello
>
> I am trying to compile GnuPG ver 1.0.3 on one of our HPUX boxes running
> on 10.20. I am using gcc version 2.95.2. It comes out with following
> error.
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -O2
> -Wall -c iobuf.c
> iobuf.c: In function `iobuf_open':
> iobuf.c:598: warning: implicit declaration of function `fopen64'

Quick workaround: edit config.h and undef the HAVE_FOPEN64 and
HAVE_FSTAT64.


--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
RE: GnuPG Compilation problem on HPUX 10.20 [ In reply to ]
Hi

This works fine. Thank you.
Now I am struck with another one... Compilation proceeds further ahead
and comes out with another error as follows.

Making all in checks
No suffix list.
../g10/gpg --no-options --quiet --yes --dearmor -o
./pubring.gpg ./pubring.asc
*** Termination signal 12

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Anyone seen this error??... I can't see a file pubring.pgp in checks
at all. Do I need to get this file from anywhere else?

Please help

ta
Prasanth



-----Original Message-----
From: wk [mailto:wk@gnupg.org]
Sent: Thursday, 28 September 2000 9:48 pm
To: gnupg-users
Cc: wk; Prasanth.Bhaskar
Subject: Re: GnuPG Compilation problem on HPUX 10.20


On Thu, 28 Sep 2000, Prasanth_Bhaskar@tnt.com.au wrote:

> Hello
>
> I am trying to compile GnuPG ver 1.0.3 on one of our HPUX boxes
running
> on 10.20. I am using gcc version 2.95.2. It comes out with following
> error.
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -O2
> -Wall -c iobuf.c
> iobuf.c: In function `iobuf_open':
> iobuf.c:598: warning: implicit declaration of function `fopen64'

Quick workaround: edit config.h and undef the HAVE_FOPEN64 and
HAVE_FSTAT64.


--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: GnuPG Compilation problem on HPUX 10.20 [ In reply to ]
On Fri, 29 Sep 2000, Prasanth_Bhaskar@tnt.com.au wrote:

> *** Termination signal 12

What is signal 12 on HPUX? (kill -l should give you a list)

Werner

--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: GnuPG Compilation problem on HPUX 10.20 [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii


In message <20000929122716.B2234@djebel.openit.de>, Werner Koch writes:
> On Fri, 29 Sep 2000, Prasanth_Bhaskar@tnt.com.au wrote:
>
> > *** Termination signal 12
>
> What is signal 12 on HPUX? (kill -l should give you a list)
>

Signal 12 is SYS.


- --
David Chin d w c h i n a t u m i c h d o t e d u
"We are all in the gutter, but some of us are looking at the stars."--Wilde
Finger for more info.
This is not the last line of my sig. Del^2 Phi == 0 :)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (HP-UX)
Comment: Exmh version 2.2 06/23/2000

iD8DBQE51L6XeMehOsd6Gs0RAkSpAJwI8KOz2ujeGMYUfZ3wtUw3waPo6ACeKFPm
h/JE1AXtH++UKti6omQcAHo=
=11cY
-----END PGP SIGNATURE-----

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
RE: GnuPG Compilation problem on HPUX 10.20 [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

# uname -s -v -r
HP-UX B.10.20 E
# kill -l
1) HUP 18) CHLD
2) INT 19) PWR
3) QUIT 20) VTALRM
4) ILL 21) PROF
5) TRAP 22) IO
6) ABRT 23) WINCH
7) EMT 24) STOP
8) FPE 25) TSTP
9) KILL 26) CONT
10) BUS 27) TTIN
11) SEGV 28) TTOU
12) SYS 29) URG
13) PIPE 30) LOST
14) ALRM 31) The specified
trap syntax is not correct.
15) TERM 32) The specified
trap syntax is not correct.
16) USR1 33) XCPU
17) USR2 34) XFSZ
#

- -----Original Message-----
From: Werner Koch [mailto:wk@gnupg.org]
Sent: Friday, September 29, 2000 3:27 AM
To: gnupg-users@gnupg.org
Subject: Re: GnuPG Compilation problem on HPUX 10.20


On Fri, 29 Sep 2000, Prasanth_Bhaskar@tnt.com.au wrote:

> *** Termination signal 12

What is signal 12 on HPUX? (kill -l should give you a list)

Werner

- --
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

- --
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOdTImIcHMuCiN8UtEQKMnwCgzUKPYEMR4AL95OG1CsvKDZELxNkAoOC4
wMaEQNVjGanbyPgl7sxkde2W
=Uuz9
-----END PGP SIGNATURE-----

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: GnuPG Compilation problem on HPUX 10.20 [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii


In message <H000039200771d5f@MHS>, Prasanth_Bhaskar@tnt.com.au writes:
> Hi
>
> This works fine. Thank you.
> Now I am struck with another one... Compilation proceeds further ahead
> and comes out with another error as follows.
>
> Making all in checks
> No suffix list.
> ../g10/gpg --no-options --quiet --yes --dearmor -o
> ./pubring.gpg ./pubring.asc
> *** Termination signal 12
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Anyone seen this error??... I can't see a file pubring.pgp in checks
> at all. Do I need to get this file from anywhere else?
>

I just reconfigured, and tried to compile with gcc 2.95.2:

CC=gcc
CFLAGS=-g -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE

and had no problems. Do you have any more info that could be useful?

- --Dave Chin
dwchin@umich.edu


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (HP-UX)
Comment: Exmh version 2.2 06/23/2000

iD8DBQE51NHjeMehOsd6Gs0RAg2HAJ0cuvjTi58W8xpjqw28QfNdEvQSUQCeLe3Q
HFfA72P43D+7A1lGXOiXNkY=
=OWyS
-----END PGP SIGNATURE-----

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org