Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 1st, 2013  |  syntax: None  |  size: 4.09 KB  |  hits: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. C:\Users\kyle\Documents\Random Codes\Libspotify\examples\localfiles>gcc main.c -
  2. L "C:\Users\kyle\Documents\Random Codes\Libspotify\lib" -lspotify
  3. main.c:86:2: warning: initialization from incompatible pointer type [enabled by
  4. default]
  5. main.c:86:2: warning: (near initialization for 'callbacks.logged_in') [enabled b
  6. y default]
  7. main.c:87:2: warning: initialization from incompatible pointer type [enabled by
  8. default]
  9. main.c:87:2: warning: (near initialization for 'callbacks.logged_out') [enabled
  10. by default]
  11. main.c:89:2: warning: initialization from incompatible pointer type [enabled by
  12. default]
  13. main.c:89:2: warning: (near initialization for 'callbacks.connection_error') [en
  14. abled by default]
  15. main.c:91:2: warning: initialization from incompatible pointer type [enabled by
  16. default]
  17. main.c:91:2: warning: (near initialization for 'callbacks.notify_main_thread') [
  18. enabled by default]
  19. main.c:95:1: warning: initialization from incompatible pointer type [enabled by
  20. default]
  21. main.c:95:1: warning: (near initialization for 'callbacks.log_message') [enabled
  22.  by default]
  23. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x18): undefined refer
  24. ence to `sp_error_message@4'
  25. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x67): undefined refer
  26. ence to `sp_localtrack_create@16'
  27. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x78): undefined refer
  28. ence to `sp_session_playlistcontainer@4'
  29. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x91): undefined refer
  30. ence to `sp_playlistcontainer_add_new_playlist@8'
  31. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0xc0): undefined refer
  32. ence to `sp_playlist_add_tracks@20'
  33. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x108): undefined refe
  34. rence to `_imp__pthread_mutex_lock'
  35. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x120): undefined refe
  36. rence to `_imp__pthread_cond_signal'
  37. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x12e): undefined refe
  38. rence to `_imp__pthread_mutex_unlock'
  39. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x154): undefined refe
  40. rence to `g_appkey'
  41. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x159): undefined refe
  42. rence to `g_appkey_size'
  43. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x17c): undefined refe
  44. rence to `sp_session_create@8'
  45. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x193): undefined refe
  46. rence to `sp_error_message@4'
  47. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x1e2): undefined refe
  48. rence to `sp_session_login@20'
  49. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x1f6): undefined refe
  50. rence to `sp_error_message@4'
  51. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x28f): undefined refe
  52. rence to `_imp__pthread_mutex_init'
  53. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x2a5): undefined refe
  54. rence to `_imp__pthread_cond_init'
  55. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x307): undefined refe
  56. rence to `_imp__pthread_mutex_lock'
  57. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x326): undefined refe
  58. rence to `_imp__pthread_cond_wait'
  59. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x35b): undefined refe
  60. rence to `TIMEVAL_TO_TIMESPEC'
  61. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x40b): undefined refe
  62. rence to `_imp__pthread_cond_timedwait'
  63. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x433): undefined refe
  64. rence to `_imp__pthread_mutex_unlock'
  65. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x449): undefined refe
  66. rence to `sp_session_process_events@8'
  67. C:\Users\kyle\AppData\Local\Temp\cc4MA8uR.o:main.c:(.text+0x45f): undefined refe
  68. rence to `_imp__pthread_mutex_lock'
  69. c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: C:\Users\k
  70. yle\AppData\Local\Temp\cc4MA8uR.o: bad reloc address 0x0 in section `.data'
  71. c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: final link
  72.  failed: Invalid operation
  73. collect2.exe: error: ld returned 1 exit status
  74.  
  75. C:\Users\kyle\Documents\Random Codes\Libspotify\examples\localfiles>