Opened 23 months ago
Last modified 18 months ago
#68974 assigned defect
gnupg2 @2.4.3.1: error: implicit declaration of function 'libusb_error_name' is invalid in C99
| Reported by: | aarongeller | Owned by: | roederja |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.8.1 |
| Keywords: | catalina bigsur monterey ventura sonoma | Cc: | Ionic (Mihai Moldovan) |
| Port: | gnupg2 |
Description
The first error in the logfile is:
ccid-driver.c:1155:54: error: implicit declaration of function 'libusb_error_name' is invalid in C99
Attachments (1)
Change History (4)
Changed 23 months ago by aarongeller
| Attachment: | logcopy.log added |
|---|
comment:1 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | Ionic added |
|---|---|
| Keywords: | catalina bigsur monterey ventura sonoma added |
| Owner: | set to roederja |
| Status: | new → assigned |
| Summary: | gnupg2 @2.4.3.1 build fails with libusb error → gnupg2 @2.4.3.1: error: implicit declaration of function 'libusb_error_name' is invalid in C99 |
comment:2 Changed 18 months ago by aarongeller
I found that the version of libusb.h under /usr/local/include/libusb-1.0 is obsolete (dated 2008) and missing several function headers. By soft linking the version of libusb.h under /opt/local/include/libusb-1.0 to /usr/local/include/libusb-1.0, I was able to get gnupg2 to build.
comment:3 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
Instead, please remove what you have under /usr/local; see wiki:FAQ#usrlocal.
Note: See
TracTickets for help on using
tickets.

log file