Skip to content

Instantly share code, notes, and snippets.

@pwt
Created March 10, 2021 10:47
Show Gist options
  • Save pwt/e04401a248ef99fc96e3114a52716966 to your computer and use it in GitHub Desktop.
Save pwt/e04401a248ef99fc96e3114a52716966 to your computer and use it in GitHub Desktop.
airupnp build error
cc -Wall -fPIC -ggdb -O2 -I. -I../../shine/src/lib -I../../dmap-parser -I../../valgrind/memcheck -I../../valgrind/include -I../tools -I../common -I./src -I./src/inc -I../../libupnp/1.6.19/ixml/inc -I../../libupnp/1.6.19/upnp/inc -I../../libupnp/1.6.19/build/inc -I../../libupnp/1.6.19/threadutil/inc -I../../mdnssd -I../../jansson/src -I../../flac/include -I../../tinysvcmdns -D_FILE_OFFSET_BITS=64 -DPB_FIELD_16BIT -DHAVE_STDINT_H -DNDEBUG -D_GNU_SOURCE -D_USE_XML_ -fdata-sections -ffunction-sections -I. -I../../shine/src/lib -I../../dmap-parser -I../../valgrind/memcheck -I../../valgrind/include -I../tools -I../common -I./src -I./src/inc -I../../libupnp/1.6.19/ixml/inc -I../../libupnp/1.6.19/upnp/inc -I../../libupnp/1.6.19/build/inc -I../../libupnp/1.6.19/threadutil/inc -I../../mdnssd -I../../jansson/src -I../../flac/include -I../../tinysvcmdns ../tools/sslsym.c -c -o bin/arm/sslsym.o
../tools/sslsym.c:151:9: error: redefinition of ‘TLS_client_method’
SYMDECL(TLS_client_method, const SSL_METHOD*, 0);
^
../tools/sslsym.c:66:5: note: in definition of macro ‘SYMDECL’
ret fn(P(n,__VA_ARGS__)) { \
^~
../tools/sslsym.c:150:9: note: previous definition of ‘TLS_client_method’ was here
SYMDECL(SSLv23_client_method, const SSL_METHOD*, 0);
^
../tools/sslsym.c:66:5: note: in definition of macro ‘SYMDECL’
ret fn(P(n,__VA_ARGS__)) { \
^~
../tools/sslsym.c:153:1: error: macro "SSL_library_init" passed 1 arguments, but takes just 0
SYMDECL(SSL_library_init, int, 0);
^~
../tools/sslsym.c:66:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
ret fn(P(n,__VA_ARGS__)) { \
^
../tools/sslsym.c:153:1: note: in expansion of macro ‘SYMDECL’
SYMDECL(SSL_library_init, int, 0);
^~~~~~~
../tools/sslsym.c: In function ‘load_ssl_symbols’:
../tools/sslsym.c:146:47: error: ‘shim_RSA_set0_key’ undeclared (first use in this function)
#define SHIMSET(fn) if (!SYM(fn)) SYM(fn) = &(shim_##fn)
^
../tools/sslsym.c:278:2: note: in expansion of macro ‘SHIMSET’
SHIMSET(RSA_set0_key);
^~~~~~~
../tools/sslsym.c:146:47: note: each undeclared identifier is reported only once for each function it appears in
#define SHIMSET(fn) if (!SYM(fn)) SYM(fn) = &(shim_##fn)
^
../tools/sslsym.c:278:2: note: in expansion of macro ‘SHIMSET’
SHIMSET(RSA_set0_key);
^~~~~~~
Makefile:72: recipe for target 'bin/arm/sslsym.o' failed
make: *** [bin/arm/sslsym.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment