Fink lha install error
a_sk--- via Fink-beginners <[email protected]> Thu, 12 Oct 2023 00:15:53 +0900
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hi all
Fink install of lha was unsuccessful.
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DEUC -DSUPPORT_LH7 -I/opt/sw3/include -g -O2 -MT append.o -MD -MP -MF ".deps/append.Tpo" -c -o append.o append.c; \
then mv -f ".deps/append.Tpo" ".deps/append.Po"; else rm -f ".deps/append.Tpo"; exit 1; fi
In file included from append.c:9:
In file included from ./lha.h:70:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/varargs.h:11:4: error: "Please use <stdarg.h> instead of <varargs.h>"
#error "Please use <stdarg.h> instead of <varargs.h>"
^
append.c:46:5: error: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
memcpy(hdr_method, "-lh -", 5);
^
append.c:46:5: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
2 errors generated.
make[2]: *** [append.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /usr/bin/make failed, exit code 2
### execution of /tmp/fink.P6THu failed, exit code 2
Package manager version: 0.45.99.git (macOS BigSur 11.7.9)
Distribution version: selfupdate-git Tue Oct 10 20:36:58 2023, 11.3, x86_64
Trees: local/main stable/main
Xcode.app: 13.0
Xcode command-line tools: 13.0.0.0.1.1630607135
Max. Fink build jobs: 1
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners