Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\kyle\Documents\Random Codes\Libspotify\examples\localfiles>gcc main.c -
- L "C:\Users\kyle\Documents\Random Codes\Libspotify\lib" -lspotify
- main.c:86:2: warning: initialization from incompatible pointer type [enabled by
- default]
- main.c:86:2: warning: (near initialization for 'callbacks.logged_in') [enabled b
- y default]
- main.c:87:2: warning: initialization from incompatible pointer type [enabled by
- default]
- main.c:87:2: warning: (near initialization for 'callbacks.logged_out') [enabled
- by default]
- main.c:89:2: warning: initialization from incompatible pointer type [enabled by
- default]
- main.c:89:2: warning: (near initialization for 'callbacks.connection_error') [en
- abled by default]
- main.c:91:2: warning: initialization from incompatible pointer type [enabled by
- default]
- main.c:91:2: warning: (near initialization for 'callbacks.notify_main_thread') [
- enabled by default]
- main.c:95:1: warning: initialization from incompatible pointer type [enabled by
- default]
- main.c:95:1: warning: (near initialization for 'callbacks.log_message') [enabled
- by default]
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x18): undefined refer
- ence to `sp_error_message@4'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x67): undefined refer
- ence to `sp_localtrack_create@16'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x78): undefined refer
- ence to `sp_session_playlistcontainer@4'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x91): undefined refer
- ence to `sp_playlistcontainer_add_new_playlist@8'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0xc0): undefined refer
- ence to `sp_playlist_add_tracks@20'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x108): undefined refe
- rence to `_imp__pthread_mutex_lock'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x120): undefined refe
- rence to `_imp__pthread_cond_signal'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x12e): undefined refe
- rence to `_imp__pthread_mutex_unlock'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x154): undefined refe
- rence to `g_appkey'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x159): undefined refe
- rence to `g_appkey_size'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x17c): undefined refe
- rence to `sp_session_create@8'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x193): undefined refe
- rence to `sp_error_message@4'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x1e2): undefined refe
- rence to `sp_session_login@20'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x1f6): undefined refe
- rence to `sp_error_message@4'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x28f): undefined refe
- rence to `_imp__pthread_mutex_init'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x2a5): undefined refe
- rence to `_imp__pthread_cond_init'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x307): undefined refe
- rence to `_imp__pthread_mutex_lock'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x326): undefined refe
- rence to `_imp__pthread_cond_wait'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x35b): undefined refe
- rence to `TIMEVAL_TO_TIMESPEC'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x40b): undefined refe
- rence to `_imp__pthread_cond_timedwait'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x433): undefined refe
- rence to `_imp__pthread_mutex_unlock'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x449): undefined refe
- rence to `sp_session_process_events@8'
- C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x45f): undefined refe
- rence to `_imp__pthread_mutex_lock'
- c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: C:\Users\k
- yle\AppData\Local\Temp\cc4MA8uR.o: bad reloc address 0x0 in section `.data'
- c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: final link
- failed: Invalid operation
- collect2.exe: error: ld returned 1 exit status
- C:\Users\kyle\Documents\Random Codes\Libspotify\examples\localfiles>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement