# make gcc -fPIC -shared -O2 -Wall -Werror -lpthread -DLIBDIR=/usr/lib \ -DALSA_INTERNAL -DPULSEAUDIO -DLIBPULSEPATH='"/usr/lib/libpulse-simple.so.0"' -DESD -DLIBESDPATH='"/usr/lib/libesd.so.0"' \ -DOSS -DOPENSSL -lssl \ flashsupport.c -o libflashsupport.so flashsupport.c:200:25: error: openssl/ssl.h: No such file or directory flashsupport.c:225:17: error: esd.h: No such file or directory flashsupport.c:232:26: error: pulse/simple.h: No such file or directory flashsupport.c:233:25: error: pulse/error.h: No such file or directory flashsupport.c:290: error: expected ‘)’ before ‘format’ flashsupport.c:295: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token flashsupport.c:300: error: expected ‘)’ before ‘*’ token flashsupport.c:302: error: expected ‘)’ before ‘*’ token flashsupport.c:304: error: expected ‘)’ before ‘*’ token flashsupport.c:306: error: expected ‘)’ before ‘*’ token flashsupport.c:308: error: expected declaration specifiers or ‘...’ before ‘*’ token flashsupport.c:308: error: expected ‘)’ before ‘*’ token flashsupport.c:310: error: expected ‘)’ before ‘*’ token flashsupport.c: In function ‘FPX_SoundOutput_Detect’: flashsupport.c:437: error: ‘FPX_pa_simple_new’ undeclared (first use in this function) flashsupport.c:437: error: (Each undeclared identifier is reported only once flashsupport.c:437: error: for each function it appears in.) flashsupport.c:448: error: ‘FPX_pa_simple_write’ undeclared (first use in this function) flashsupport.c:453: error: ‘FPX_pa_simple_drain’ undeclared (first use in this function) flashsupport.c:458: error: ‘FPX_pa_simple_free’ undeclared (first use in this function) flashsupport.c:463: error: ‘FPX_pa_simple_get_latency’ undeclared (first use in this function) flashsupport.c:476: error: ‘FPX_esd_play_stream_fallback’ undeclared (first use in this function) cc1: warnings being treated as errors flashsupport.c: In function ‘FPX_SoundOutput_Open’: flashsupport.c:502: warning: cast from pointer to integer of different size flashsupport.c:514: warning: cast from pointer to integer of different size flashsupport.c:544: warning: cast from pointer to integer of different size flashsupport.c: In function ‘FPX_Init’: flashsupport.c:669: warning: implicit declaration of function ‘SSL_library_init’ flashsupport.c: At top level: flashsupport.c:692: error: expected specifier-qualifier-list before ‘SSL’ flashsupport.c: In function ‘FPX_SSLSocket_Create’: flashsupport.c:702: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’ flashsupport.c:702: warning: implicit declaration of function ‘SSL_CTX_new’ flashsupport.c:702: warning: implicit declaration of function ‘TLSv1_client_method’ flashsupport.c:704: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c:704: warning: implicit declaration of function ‘SSL_new’ flashsupport.c:704: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’ flashsupport.c:706: warning: implicit declaration of function ‘SSL_set_fd’ flashsupport.c:706: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c:710: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c:711: warning: implicit declaration of function ‘SSL_shutdown’ flashsupport.c:711: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c:714: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’ flashsupport.c:715: warning: implicit declaration of function ‘SSL_CTX_free’ flashsupport.c:715: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’ flashsupport.c: In function ‘FPX_SSLSocket_Destroy’: flashsupport.c:729: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c:730: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c:733: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’ flashsupport.c:734: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’ flashsupport.c: In function ‘FPX_SSLSocket_Connect’: flashsupport.c:750: warning: implicit declaration of function ‘SSL_connect’ flashsupport.c:750: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c: In function ‘FPX_SSLSocket_Receive’: flashsupport.c:762: warning: implicit declaration of function ‘SSL_read’ flashsupport.c:762: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c: In function ‘FPX_SSLSocket_Send’: flashsupport.c:774: warning: implicit declaration of function ‘SSL_write’ flashsupport.c:774: error: ‘struct SSL_Instance’ has no member named ‘ssl’ flashsupport.c: In function ‘ESD_FPX_SoundOutput_Open’: flashsupport.c:1251: error: ‘ESD_DEFAULT_RATE’ undeclared (first use in this function) flashsupport.c:1253: error: ‘ESD_BITS16’ undeclared (first use in this function) flashsupport.c:1253: error: ‘ESD_STEREO’ undeclared (first use in this function) flashsupport.c:1254: error: ‘ESD_STREAM’ undeclared (first use in this function) flashsupport.c:1254: error: ‘ESD_PLAY’ undeclared (first use in this function) flashsupport.c:1255: error: ‘esd_format_t’ undeclared (first use in this function) flashsupport.c:1255: error: expected ‘;’ before ‘format’ flashsupport.c:1263: error: ‘format’ undeclared (first use in this function) flashsupport.c:1271: warning: implicit declaration of function ‘FPX_esd_play_stream_fallback’ flashsupport.c: At top level: flashsupport.c:1323: error: expected specifier-qualifier-list before ‘pa_simple’ flashsupport.c: In function ‘pa_thread’: flashsupport.c:1337: warning: implicit declaration of function ‘FPX_pa_simple_write’ flashsupport.c:1337: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘pa_sock’ flashsupport.c:1341: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘signal’ flashsupport.c: In function ‘PULSEAUDIO_FPX_SoundOutput_Open’: flashsupport.c:1356: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ss’ flashsupport.c:1356: error: ‘ss’ undeclared (first use in this function) flashsupport.c:1356: error: expected expression before ‘{’ token flashsupport.c:1368: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘pa_sock’ flashsupport.c:1368: warning: implicit declaration of function ‘FPX_pa_simple_new’ flashsupport.c:1368: error: ‘PA_STREAM_PLAYBACK’ undeclared (first use in this function) flashsupport.c:1371: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘thread’ flashsupport.c: In function ‘PULSEAUDIO_FPX_SoundOutput_Close’: flashsupport.c:1390: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘signal’ flashsupport.c:1392: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘thread’ flashsupport.c:1393: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘thread’ flashsupport.c:1396: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘pa_sock’ flashsupport.c:1397: warning: implicit declaration of function ‘FPX_pa_simple_drain’ flashsupport.c:1397: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘pa_sock’ flashsupport.c:1398: warning: implicit declaration of function ‘FPX_pa_simple_free’ flashsupport.c:1398: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘pa_sock’ flashsupport.c: In function ‘PULSEAUDIO_FPX_SoundOutput_Latency’: flashsupport.c:1411: error: ‘pa_usec_t’ undeclared (first use in this function) flashsupport.c:1411: error: expected ‘;’ before ‘latencytime’ flashsupport.c:1416: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘pa_sock’ flashsupport.c:1417: error: ‘latencytime’ undeclared (first use in this function) flashsupport.c:1417: warning: implicit declaration of function ‘FPX_pa_simple_get_latency’ flashsupport.c:1417: error: ‘struct PULSE_SoundOutput_Instance’ has no member named ‘pa_sock’ make: *** [libflashsupport.so] Error 1