undeclared function identified during make - gnupg-2.1.20

Rogers, Dustin Dustin.Rogers at capitalone.com
Wed May 10 13:41:04 CEST 2017


Hi again:

I just removed the call to IN_EXCL_UNLINK function since it doesn't exist anyway. Then it compiled fine.

Thank you,
-Dustin

____________________________________________
Dustin Rogers, MSIA
Data Security
Encryption Services<https://pulse.kdc.capitalone.com/groups/encryption-services> (pulse)
224.404.8919 (office)
218.331.0186 (mobile)
[banner_EncryptionServices]

From: Rogers, Dustin
Sent: Tuesday, May 09, 2017 12:12 PM
To: 'gnupg-users at gnupg.org' <gnupg-users at gnupg.org>
Subject: undeclared function identified during make - gnupg-2.1.20

Hi Werner and gnupg community:

I am having an issue installing gnupg2-2.1.20 from source, and the error is unclear to me. I am hoping someone may have some advice....

It seems the configure runs clean, identifies needed packages, etc.

When I attempt to make, I receive this error when the compiler tries to evaluate sysutils.c, and locate a function called "IN_EXCL_UNLINK"

gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" -DGNUPG_BINDIR="\"/usr/local/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/local/libexec\"" -DGNUPG_LIBDIR="\"/usr/local/lib/gnupg\"" -DGNUPG_DATADIR="\"/usr/local/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/usr/local/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/usr/local/var\""            -DWITHOUT_NPTH=1 -Wall -Wno-pointer-sign -Wpointer-arith  -g -O2 -MT libcommon_a-sysutils.o -MD -MP -MF .deps/libcommon_a-sysutils.Tpo -c -o libcommon_a-sysutils.o `test -f 'sysutils.c' || echo './'`sysutils.c
sysutils.c: In function âgnupg_inotify_watch_socketâ:
sysutils.c:1163: error: âIN_EXCL_UNLINKâ undeclared (first use in this function)
sysutils.c:1163: error: (Each undeclared identifier is reported only once
sysutils.c:1163: error: for each function it appears in.)
make[3]: *** [libcommon_a-sysutils.o] Error 1
make[3]: Leaving directory `/root/gnupg-2.1.20/common'
make[2]: *** [all] Error 2


Being that it identifies a "gnupg_inotify_watch_socket". I am guessing it has to do with the fact that I uninstalled the rpm-based version of gnupg 2.0.18, and somehow it is looking for sockets used by gnupg.

Does anyone know why I receive this error?

Any help is appreciated in advance.
Thank you,
-Dustin Rogers

____________________________________________
Dustin Rogers, MSIA
Data Security
Encryption Services<https://pulse.kdc.capitalone.com/groups/encryption-services> (pulse)
224.404.8919 (office)
218.331.0186 (mobile)
[banner_EncryptionServices]

________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20170510/594321f7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2512 bytes
Desc: image001.jpg
URL: </pipermail/attachments/20170510/594321f7/attachment-0001.jpg>


More information about the Gnupg-users mailing list