Quantcast

undeclared function identified during make - gnupg-2.1.20

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

undeclared function identified during make - gnupg-2.1.20

Rogers, Dustin

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 (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.


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: undeclared function identified during make - gnupg-2.1.20

Rogers, Dustin

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 (pulse)

224.404.8919 (office)

218.331.0186 (mobile)

banner_EncryptionServices

 

From: Rogers, Dustin
Sent: Tuesday, May 09, 2017 12:12 PM
To: '[hidden email]' <[hidden email]>
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 (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.


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: undeclared function identified during make - gnupg-2.1.20

Daniel Kahn Gillmor-7
In reply to this post by Rogers, Dustin
Hi Dustin--

On Tue 2017-05-09 17:12:22 +0000, Rogers, Dustin wrote:

> 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
Please see my response on-list to Antonino Augusta
<[hidden email]> earlier today -- it sounds like y'all are
seeing the same issue.

       --dkg

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

signature.asc (847 bytes) Download Attachment
Loading...