Created
December 20, 2023 17:16
-
-
Save jperkin/253ab95b37d4cd154cd90a35df76717a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- pkg_io.o --- | |
pkg_io.c:81:20: error: incomplete definition of type 'struct url' | |
if (strcasecmp(url->scheme, SCHEME_HTTP) == 0 || | |
~~~^ | |
./lib.h:342:8: note: forward declaration of 'struct url' | |
struct url *find_best_package(const char *, const char *, int); | |
^ | |
pkg_io.c:82:20: error: incomplete definition of type 'struct url' | |
strcasecmp(url->scheme, SCHEME_FTP) == 0) | |
~~~^ | |
./lib.h:342:8: note: forward declaration of 'struct url' | |
struct url *find_best_package(const char *, const char *, int); | |
^ | |
pkg_io.c:81:30: error: use of undeclared identifier 'SCHEME_HTTP' | |
if (strcasecmp(url->scheme, SCHEME_HTTP) == 0 || | |
^ | |
pkg_io.c:82:30: error: use of undeclared identifier 'SCHEME_FTP' | |
strcasecmp(url->scheme, SCHEME_FTP) == 0) | |
^ | |
4 errors generated. | |
*** [pkg_io.o] Error code 1 | |
bmake[1]: stopped in /tmp/pkgsrc-macos11-trunk-arm64/pkg_install/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment