Skip to content

Instantly share code, notes, and snippets.

@markburns
Created April 7, 2010 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markburns/358976 to your computer and use it in GitHub Desktop.
Save markburns/358976 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing bloopsaphone:
ERROR: Failed to build gem native extension.
/home/mark/.rvm/rubies/ruby-1.8.7-p249/bin/ruby extconf.rb
checking for main() in -lportaudio... yes
creating Makefile
make
gcc -I. -I. -I/home/mark/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/i686-linux -I. -D_FILE_OFFSET_BITS=64 -fPIC -g -O2 -I../../c -c bloopsaphone.c
bloopsaphone.c:324: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
bloopsaphone.c: In function ‘bloops_load’:
bloopsaphone.c:361: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:366: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:369: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:370: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:371: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:372: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:373: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:374: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:375: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:377: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:378: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:379: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:381: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:382: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:383: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:384: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:386: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:387: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:388: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:389: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:390: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:392: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:393: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:395: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:396: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c:397: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bloopsaphone.c: In function ‘bloops_new’:
bloopsaphone.c:421: error: ‘bloops_port_callback’ undeclared (first use in this function)
bloopsaphone.c:421: error: (Each undeclared identifier is reported only once
bloopsaphone.c:421: error: for each function it appears in.)
bloopsaphone.c:421: warning: passing argument 8 of ‘Pa_OpenDefaultStream’ from incompatible pointer type
/usr/include/portaudio.h:355: note: expected ‘int (*)(void *, void *, long unsigned int, PaTimestamp, void *)’ but argument is of type ‘struct bloops *’
bloopsaphone.c:421: error: too few arguments to function ‘Pa_OpenDefaultStream’
make: *** [bloopsaphone.o] Error 1
Gem files will remain installed in /home/mark/.rvm/gems/ruby-1.8.7-p249/gems/bloopsaphone-0.4 for inspection.
Results logged to /home/mark/.rvm/gems/ruby-1.8.7-p249/gems/bloopsaphone-0.4/ext/ruby/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment