Request Help with: Error During make of libgpg-error-1.36 with compiling gpg-error.c

2019-09-24 Thread Rey Abeleda via Gnupg-users
Hello,

After a successful ./configure of libgpg-error-1.36, the subsequent make failed 
with the error below.

capplmgr@orafind: /fin3/app/app/capplmgr/mlc-rot/gnupg/libgpg-error-1.36> make
make  all-recursive
Making all in m4
Target "all" is up to date.
Making all in src
make  all-am
source='gpg-error.c' object='gpg_error-gpg-error.o' libtool=no  
DEPDIR=.deps depmode=xlc /bin/sh ../build-aux/depcomp  cc -qlanglvl=extc89 
-DHAVE_CONFIG_H -I. -I..  -DPKGDATADIR=\"/usr/local/share/libgpg-error\"  
-DLOCALEDIR=\"/usr/local/share/locale\"  -D_THREAD_SAFE  -g -c -o 
gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo './'`gpg-error.c
"gpg-error.c", line 497.1: 1506-191 (E) The character # is not a valid C source 
character.
"gpg-error.c", line 497.2: 1506-275 (S) Unexpected text 'if' encountered.
"gpg-error.c", line 499.1: 1506-191 (E) The character # is not a valid C source 
character.
"gpg-error.c", line 501.1: 1506-191 (E) The character # is not a valid C source 
character.
"gpg-error.c", line 498.17: 1506-277 (S) Syntax error: possible missing ')' or 
','?
"gpg-error.c", line 496.5: 1506-045 (S) Undeclared identifier HAVE_W32_SYSTEM.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.

I had a look inside the source src/gpg-error.c in the vicinity of lines 497 to 
501. Below is a code snippet. I am not a C developer but it seems to me that 
the 4th call to ARGPARSE_c below which I've highlighted in RED is incorrect C 
code.

  +480  main (int argc, char *argv[])
  +481  {
  +482enum { CMD_DEFAULT = 0,
  +483   CMD_LIB_VERSION = 501,
  +484   CMD_LIST,
  +485   CMD_DEFINES,
  +486   CMD_LOCALE,
  +487   OPT_DESC
  +488};
  +489static gpgrt_opt_t opts[] = {
  +490  ARGPARSE_c (CMD_LIB_VERSION, "lib-version",
  +491  "Print library version"),
  +492  ARGPARSE_c (CMD_LIST, "list",
  +493  "Print all error codes"),
  +494  ARGPARSE_c (CMD_DEFINES, "defines",
  +495  "Print all error codes as #define lines"),
  +496  ARGPARSE_c (CMD_LOCALE, "locale",
  +497  #if HAVE_W32_SYSTEM
  +498  "Return the locale used for gettext"
  +499  #else
  +500  "@"
  +501  #endif
  +502  ),
  +503  ARGPARSE_s_n (OPT_DESC, "desc",
  +504"Print with error description"),
  +505  ARGPARSE_end()
  +506};
  +507gpgrt_argparse_t pargs = { ,  };

Would appreciate any advise on how to fix this error.
Thanks,

Reynaldo Abeleda
Senior Analyst, Engineer
Oracle Financials | Superannuation - Retail & Corporate | Wealth Technology
National Australia Bank




The information contained in this email communication may be confidential. If 
you have received this email in error, please notify the sender by return 
email, delete this email and destroy any copy.

Any advice contained in this email has been prepared without taking into 
account your objectives, financial situation or needs. Before acting on any 
advice in this email, National Australia Bank Limited (NAB) recommends that you 
consider whether it is appropriate for your circumstances. If this email 
contains reference to any financial products, NAB recommends you consider the 
Product Disclosure Statement (PDS) or other disclosure document available from 
NAB, before making any decisions regarding any products.

If this email contains any promotional content that you do not wish to receive, 
please reply to the original sender and write "Don't email promotional 
material" in the subject.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


error during make

2014-01-15 Thread Gaduang, Glorius (GE Oil Gas)
Hi Guys,

I was following the instructions per readme, and I am stuck with this error. 
I'm getting this during the make command.

rm -f libcipher.a
: cru libcipher.a cipher.o pubkey.o  md.o dynload.o des.o twofish.o  blowfish.o 
cast5.o rijndael.o  camellia.o camellia-glue.o idea.o  elgamal.o rsa.o 
primegen.o  random.o dsa.o smallprime.o  md5.o rmd160.o sha1.o sha256.o  
rndlinux.o sha512.o
: libcipher.a
Making all in tools
make: Fatal error: Don't know how to make target `../cipher/libcipher.a'
Current working directory /orpogdp1/app/proj_software/gnupg-1.4.16/tools
*** Error code 1

Any help would be appreciated.

Thanks,
Glorius
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: error during make

2014-01-15 Thread Werner Koch
On Tue, 14 Jan 2014 21:50, glorius.gadu...@ge.com said:

 make: Fatal error: Don't know how to make target `../cipher/libcipher.a'
 Current working directory /orpogdp1/app/proj_software/gnupg-1.4.16/tools

Did you used make -jN - it is possible that a dependecy is
missing. Or you make is broken.

What OS and what compiler are you using?

Workaround:

  (cd cipher  make)
  make


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Error during MAKE

2006-03-22 Thread Wolff, Alex
I am getting the following error on MAKE for gpg1.4.2.2

make[2]: *** No rule to make target `../cipher/libcipher.a', needed by
`gpgsplit'.  Stop.



This is a solaris9 box...was able to successfully install previously on
another solaris9 box.


Anybody have a suggestion?

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users