Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jani@jani-mint ~ $ git clone git://git.code.sf.net/p/linuxstopmotion/fe09/code linuxstopmotion-fe09-code
- Cloning into 'linuxstopmotion-fe09-code'...
- remote: Counting objects: 15, done.
- remote: Compressing objects: 100% (13/13), done.
- remote: Total 15 (delta 2), reused 0 (delta 0)
- Receiving objects: 100% (15/15), 5.56 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (2/2), done.
- Checking connectivity... done.
- jani@jani-mint ~ $ cd linuxstopmotion-fe09-code/stubgrabber
- jani@jani-mint ~/linuxstopmotion-fe09-code/stubgrabber $ gcc -o stubgrabber preview-capture.c -lgphoto2
- preview-capture.c: In function ‘main’:
- preview-capture.c:97:2: warning: passing argument 2 of ‘gp_log_add_func’ from incompatible pointer type [enabled by default]
- gp_log_add_func(GP_LOG_ERROR, errordumper, NULL);
- ^
- In file included from /usr/include/gphoto2/gphoto2.h:45:0,
- from preview-capture.c:21:
- /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 *)’
- int gp_log_add_func (GPLogLevel level, GPLogFunc func, void *data);
- ^
- /usr/bin/ld: /tmp/ccl1PGvo.o: undefined reference to symbol 'gp_log_add_func@@LIBGPHOTO2_5_0'
- //usr/lib/x86_64-linux-gnu/libgphoto2_port.so.10: error adding symbols: DSO missing from command line
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement