gnupg received error during 'make'

Lefotu, Bernice bernice.lefotu at eds.com
Tue Jan 11 17:27:16 CET 2000


Yes, thank you for the prompt response!
For what I'm using gnupg for it's not a concern.
I'll just use the command line argument --no-secmem-warning  to avoid the
message.

Thanks!




-----Original Message-----
From: Bob Luckin [mailto:bob at ti.com]
Sent: Tuesday, January 11, 2000 2:19 PM
To: CSpeicher at eisi.com
Cc: Lefotu, Bernice; gnupg-devel at gnupg.org
Subject: RE: gnupg received error during 'make'


Colin,
> This error means either:
> 
> A) gpg is trying to lock memory from being swapped.  This is a privileged
> operation that requires super-user access.  Change the ownership of the
file
> to root and change the mode to something like 4511.
> 
> B) Your operating system does not support the memory-locking feature.
> 
> This is well documented in the distribution.  Please look in the "doc"
> folder of the distribution.

Thanks for the prompt response !

I tried this.  Making the program setuid root had no effect when run by a
non-root user - I still get the warning message.  When I su to root and
run it, I get an error message "Bad system call", and the program dies with
a core dump of length zero (presumably deliberate, so no one can rummage
about in an old core file).

As I said, I'm happy enough in my circumstances to let it swap memory if
need be, but I thought I'd report the problems above in case anyone else
wants to look at them in more detail.  (I don't have the time at present.)


> -----Original Message-----
> From: Bob Luckin [mailto:bob at ti.com]
> Sent: Tuesday, January 11, 2000 4:10 PM
> To: bernice.lefotu at eds.com
> Cc: gnupg-devel at gnupg.org
> Subject: RE: gnupg received error during 'make'
> 
> 
> Bernice,
> 
> > Thanks! 
> 
> You're welcome !
> 
> > I installed it on box which has HP's ANSI C compiler installed, it
worked!
> Now I'm receiving the following warning:
> > gpg: Warning: using insecure memory!
> > 
> > This is when I issue any of the gpg commands.
> 
> I get the same thing.  In my circumstances, I don't think this is a
serious
> problem, so I'm not worrying about it...  But you may decide it's more
> important for your applications.  I never looked into it, so I'm afraid I
> have
> no idea whether it can be fixed, and if so, how.
> 
> > -----Original Message-----
> > From: Bob Luckin [mailto:bob at ti.com]
> > Sent: Friday, January 07, 2000 12:35 PM
> > To: Lefotu, Bernice
> > Cc: gnupg-devel at gnupg.org
> > Subject: Re: gnupg received error during 'make'
> > 
> > 
> > Bernice said :-
> > > In trying to install GNUpg on a HPUX 10.20.
> > > I did the following 
> > > 1.  Configure:   ./configure --disable-asm
> > > 2. make (I used GNU make)
> > > Make gave me the following error:
> > > 
> > > No suffix list.
> > >         make  all-recursive
> > > No suffix list.
> > > Making all in intl
> > >         cc -c -DLOCALEDIR=\"/usr/local/share/locale\"
> > > -DGNULOCALEDIR=\"/usr/loca
> > > l/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\"
> > > -DHAVE_CONFI
> > > G_H -I.. -I. -I../intl -I../lib  -Ae -D_HPUX_SOURCE  intl-compat.c
> > > (Bundled) cc: warning 480: The -A option is available only with the
> C/ANSI C
> > > pro
> > > duct; ignored.
> > > (Bundled) cc: "../g10defs.h", line 7: error 1000: Unexpected symbol:
> "d".
> > > (Bundled) cc: "/usr/local/share/locale", line 10: error 1004:
Unexpected
> end
> > > of
> > > line.
> > > (Bundled) cc: "/usr/local/share/locale", line 11: error 1004:
Unexpected
> end
> > > of
> > > line.
> > > *** Error exit code 1
> > > 
> > > Stop.
> > > *** Error exit code 1
> > > 
> > > Stop.
> > > *** Error exit code 1
> > > 
> > > Stop.
> > > 
> > > 
> > > Any help on this would be greatly appreciated.  Thanks!
> > 
> > Looks like you are using the bundled C compiler, which is not ANSI
> compatible.
> > Try compiling on a box which has HP's ANSI C compiler installed (or if
you
> > don't have this, perhaps gcc will work ?).
> > 
> > I hope this helps...
> > 
> > Cheers, Bob
> > -- 
> > Bob Luckin      bob at ti.com      "Coder, adapt; FTP Ada, redo C"
> > > 
> > > Bernice L. Lefotu
> > > EDS Communication West
> > > bernice.lefotu at eds.com
> > > Voice:  (425) 803-1722
> > > Fax:    (425) 822-3024

Cheers, Bob
-- 
Bob Luckin      bob at ti.com      "Coder, adapt; FTP Ada, redo C"



More information about the Gnupg-devel mailing list