Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. jani@jani-mint ~ $ git clone git://git.code.sf.net/p/linuxstopmotion/fe09/code linuxstopmotion-fe09-code
  2. Cloning into 'linuxstopmotion-fe09-code'...
  3. remote: Counting objects: 15, done.
  4. remote: Compressing objects: 100% (13/13), done.
  5. remote: Total 15 (delta 2), reused 0 (delta 0)
  6. Receiving objects: 100% (15/15), 5.56 KiB | 0 bytes/s, done.
  7. Resolving deltas: 100% (2/2), done.
  8. Checking connectivity... done.
  9. jani@jani-mint ~ $ cd linuxstopmotion-fe09-code/stubgrabber
  10. jani@jani-mint ~/linuxstopmotion-fe09-code/stubgrabber $ gcc -o stubgrabber preview-capture.c -lgphoto2
  11. preview-capture.c: In function ‘main’:
  12. preview-capture.c:97:2: warning: passing argument 2 of ‘gp_log_add_func’ from incompatible pointer type [enabled by default]
  13. gp_log_add_func(GP_LOG_ERROR, errordumper, NULL);
  14. ^
  15. In file included from /usr/include/gphoto2/gphoto2.h:45:0,
  16. from preview-capture.c:21:
  17. /usr/include/gphoto2/gphoto2-port-log.h:65:6: note: expected ‘GPLogFunc’ but argument is of type ‘void (*)(enum GPLogLevel, const char *, const char *, struct __va_list_tag *, void *)’
  18. int gp_log_add_func (GPLogLevel level, GPLogFunc func, void *data);
  19. ^
  20. /usr/bin/ld: /tmp/ccl1PGvo.o: undefined reference to symbol 'gp_log_add_func@@LIBGPHOTO2_5_0'
  21. //usr/lib/x86_64-linux-gnu/libgphoto2_port.so.10: error adding symbols: DSO missing from command line
  22. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement