Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2012
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. cat /usr/lib64/ruby/gems/1.9.1/gems/sqlite3-1.3.4/ext/sqlite3/gem_make.out
  2. /usr/bin/ruby extconf.rb
  3. checking for sqlite3.h... yes
  4. checking for sqlite3_libversion_number() in -lsqlite3... yes
  5. checking for rb_proc_arity()... yes
  6. checking for sqlite3_initialize()... no
  7. checking for sqlite3_backup_init()... no
  8. checking for sqlite3_column_database_name()... no
  9. checking for sqlite3_enable_load_extension()... no
  10. checking for sqlite3_load_extension()... no
  11. creating Makefile
  12.  
  13. make
  14. gcc -I. -I/usr/include/ruby/ruby-1.9.1/x86_64-linux -I/usr/include/ruby/ruby-1.9.1/ruby/backward -I/usr/include/ruby/ruby-1.9.1 -I. -DHAVE_RB_PROC_ARITY -fPIC -O2 -g -mtune=generic -Wall -fno-strict-aliasing -fPIC -o sqlite3.o -c sqlite3.c
  15. gcc -I. -I/usr/include/ruby/ruby-1.9.1/x86_64-linux -I/usr/include/ruby/ruby-1.9.1/ruby/backward -I/usr/include/ruby/ruby-1.9.1 -I. -DHAVE_RB_PROC_ARITY -fPIC -O2 -g -mtune=generic -Wall -fno-strict-aliasing -fPIC -o database.o -c database.c
  16. database.c: In function ‘initialize’:
  17. database.c:47: error: ‘SQLITE_OPEN_READWRITE’ undeclared (first use in this function)
  18. database.c:47: error: (Each undeclared identifier is reported only once
  19. database.c:47: error: for each function it appears in.)
  20. database.c:47: error: ‘SQLITE_OPEN_CREATE’ undeclared (first use in this function)
  21. database.c:72: error: ‘SQLITE_OPEN_READONLY’ undeclared (first use in this function)
  22. database.c:74: warning: implicit declaration of function ‘sqlite3_open_v2’
  23. database.c: In function ‘set_sqlite3_func_result’:
  24. database.c:278: error: ‘sqlite3_int64’ undeclared (first use in this function)
  25. database.c: In function ‘collation’:
  26. database.c:621: warning: implicit declaration of function ‘sqlite3_create_collation_v2’
  27. database.c: In function ‘load_extension’:
  28. database.c:650: warning: implicit declaration of function ‘sqlite3_load_extension’
  29. database.c: In function ‘enable_load_extension’:
  30. database.c:671: warning: implicit declaration of function ‘sqlite3_enable_load_extension’
  31. make: *** [database.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement