=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for lensfun-0.3.4nb1 [ 13%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/lens.cpp.o [ 13%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mount.cpp.o [ 20%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.o [ 26%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/database.cpp.o [ 33%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse2.cpp.o [ 40%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse.cpp.o In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/mount.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:74:13: error: #error "I don't know how to change symbol visibility for your compiler" # error "I don't know how to change symbol visibility for your compiler" ^~~~~ In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/camera.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:74:13: error: #error "I don't know how to change symbol visibility for your compiler" # error "I don't know how to change symbol visibility for your compiler" ^~~~~ In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/lens.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:74:13: error: #error "I don't know how to change symbol visibility for your compiler" # error "I don't know how to change symbol visibility for your compiler" ^~~~~ [ 46%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/cpuid.cpp.o [ 53%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color.cpp.o In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/cpuid.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:74:13: error: #error "I don't know how to change symbol visibility for your compiler" # error "I don't know how to change symbol visibility for your compiler" ^~~~~ In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/camera.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:144:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT void lf_free (void *data); ^~~~~~~~~ _GLIB_EXPORT In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/mount.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:144:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT void lf_free (void *data); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:154:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT const char *lf_mlstr_get (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:154:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT const char *lf_mlstr_get (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:172:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_add (lfMLstr str, const char *lang, const char *trstr); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:172:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_add (lfMLstr str, const char *lang, const char *trstr); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:182:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_dup (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:182:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_dup (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:203:18: error: variable 'LF_EXPORT lfMount' has initializer but incomplete type struct LF_EXPORT lfMount ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:203:18: error: variable 'LF_EXPORT lfMount' has initializer but incomplete type struct LF_EXPORT lfMount ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected primary-expression before 'Name' lfMLstr Name; ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected primary-expression before 'Name' lfMLstr Name; ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected '}' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected '}' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected ',' or ';' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected ',' or ';' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:218:15: error: expected constructor, destructor, or type conversion before ';' token lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:218:15: error: expected constructor, destructor, or type conversion before ';' token lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:20: error: 'lfMount' does not name a type lfMount (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:35: error: expected constructor, destructor, or type conversion before ';' token lfMount (const lfMount &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:20: error: 'lfMount' does not name a type lfMount (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:35: error: expected constructor, destructor, or type conversion before ';' token lfMount (const lfMount &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:228:5: error: 'lfMount' does not name a type lfMount &operator = (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:233:14: error: expected class-name before '(' token ~lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:272:19: error: expected initializer before '*' token LF_EXPORT lfMount *lf_mount_new (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:228:5: error: 'lfMount' does not name a type lfMount &operator = (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:34: error: two or more data types in declaration of 'lf_mount_destroy' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:233:14: error: expected class-name before '(' token ~lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: error: 'mount' was not declared in this scope LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:272:19: error: expected initializer before '*' token LF_EXPORT lfMount *lf_mount_new (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:34: error: two or more data types in declaration of 'lf_mount_destroy' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: error: 'mount' was not declared in this scope LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:31: error: two or more data types in declaration of 'lf_mount_copy' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: error: 'dest' was not declared in this scope LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:31: error: two or more data types in declaration of 'lf_mount_copy' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: error: 'dest' was not declared in this scope LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:46: error: expected primary-expression before 'const' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:33: error: two or more data types in declaration of 'lf_mount_check' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: error: 'mount' was not declared in this scope LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:46: error: expected primary-expression before 'const' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:33: error: two or more data types in declaration of 'lf_mount_check' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: error: 'mount' was not declared in this scope LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: note: suggested alternative: 'mode_t' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:320:18: error: variable 'LF_EXPORT lfCamera' has initializer but incomplete type struct LF_EXPORT lfCamera ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected primary-expression before 'Maker' lfMLstr Maker; ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected '}' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected ',' or ';' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:339:16: error: expected constructor, destructor, or type conversion before ';' token lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: note: suggested alternative: 'mode_t' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:320:18: error: variable 'LF_EXPORT lfCamera' has initializer but incomplete type struct LF_EXPORT lfCamera ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected primary-expression before 'Maker' lfMLstr Maker; ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected '}' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected ',' or ';' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:339:16: error: expected constructor, destructor, or type conversion before ';' token lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:21: error: 'lfCamera' does not name a type lfCamera (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:37: error: expected constructor, destructor, or type conversion before ';' token lfCamera (const lfCamera &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:349:15: error: expected class-name before '(' token ~lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:21: error: 'lfCamera' does not name a type lfCamera (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:37: error: expected constructor, destructor, or type conversion before ';' token lfCamera (const lfCamera &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:349:15: error: expected class-name before '(' token ~lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:354:5: error: 'lfCamera' does not name a type lfCamera &operator = (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:406:1: error: expected declaration before '}' token }; ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:354:5: error: 'lfCamera' does not name a type lfCamera &operator = (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:406:1: error: expected declaration before '}' token }; ^ In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/mod-color.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:74:13: error: #error "I don't know how to change symbol visibility for your compiler" # error "I don't know how to change symbol visibility for your compiler" ^~~~~ gmake[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:121: libs/lensfun/CMakeFiles/lensfun.dir/mount.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... [ 60%] Generating build/timestamp [ 66%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-coord-sse.cpp.o In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/lens.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:144:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT void lf_free (void *data); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:154:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT const char *lf_mlstr_get (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:172:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_add (lfMLstr str, const char *lang, const char *trstr); ^~~~~~~~~ _GLIB_EXPORT In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/cpuid.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:144:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT void lf_free (void *data); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:182:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_dup (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:154:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT const char *lf_mlstr_get (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:203:18: error: variable 'LF_EXPORT lfMount' has initializer but incomplete type struct LF_EXPORT lfMount ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected primary-expression before 'Name' lfMLstr Name; ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected '}' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected ',' or ';' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:218:15: error: expected constructor, destructor, or type conversion before ';' token lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:172:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_add (lfMLstr str, const char *lang, const char *trstr); ^~~~~~~~~ _GLIB_EXPORT gmake[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:79: libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.o] Error 1 /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:20: error: 'lfMount' does not name a type lfMount (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:35: error: expected constructor, destructor, or type conversion before ';' token lfMount (const lfMount &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:182:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_dup (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:203:18: error: variable 'LF_EXPORT lfMount' has initializer but incomplete type struct LF_EXPORT lfMount ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected primary-expression before 'Name' lfMLstr Name; ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected '}' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected ',' or ';' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:218:15: error: expected constructor, destructor, or type conversion before ';' token lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:228:5: error: 'lfMount' does not name a type lfMount &operator = (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:233:14: error: expected class-name before '(' token ~lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:20: error: 'lfMount' does not name a type lfMount (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:272:19: error: expected initializer before '*' token LF_EXPORT lfMount *lf_mount_new (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:35: error: expected constructor, destructor, or type conversion before ';' token lfMount (const lfMount &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:34: error: two or more data types in declaration of 'lf_mount_destroy' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: error: 'mount' was not declared in this scope LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:228:5: error: 'lfMount' does not name a type lfMount &operator = (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:233:14: error: expected class-name before '(' token ~lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:272:19: error: expected initializer before '*' token LF_EXPORT lfMount *lf_mount_new (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:34: error: two or more data types in declaration of 'lf_mount_destroy' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:31: error: two or more data types in declaration of 'lf_mount_copy' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: error: 'mount' was not declared in this scope LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: error: 'dest' was not declared in this scope LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:31: error: two or more data types in declaration of 'lf_mount_copy' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: error: 'dest' was not declared in this scope LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:46: error: expected primary-expression before 'const' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:33: error: two or more data types in declaration of 'lf_mount_check' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: error: 'mount' was not declared in this scope LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:46: error: expected primary-expression before 'const' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:33: error: two or more data types in declaration of 'lf_mount_check' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: error: 'mount' was not declared in this scope LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: note: suggested alternative: 'mode_t' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:320:18: error: variable 'LF_EXPORT lfCamera' has initializer but incomplete type struct LF_EXPORT lfCamera ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected primary-expression before 'Maker' lfMLstr Maker; ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: note: suggested alternative: 'mode_t' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected '}' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected ',' or ';' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:320:18: error: variable 'LF_EXPORT lfCamera' has initializer but incomplete type struct LF_EXPORT lfCamera ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected primary-expression before 'Maker' lfMLstr Maker; ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected '}' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected ',' or ';' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:339:16: error: expected constructor, destructor, or type conversion before ';' token lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:339:16: error: expected constructor, destructor, or type conversion before ';' token lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:21: error: 'lfCamera' does not name a type lfCamera (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:37: error: expected constructor, destructor, or type conversion before ';' token lfCamera (const lfCamera &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:349:15: error: expected class-name before '(' token ~lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:21: error: 'lfCamera' does not name a type lfCamera (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:37: error: expected constructor, destructor, or type conversion before ';' token lfCamera (const lfCamera &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:349:15: error: expected class-name before '(' token ~lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:354:5: error: 'lfCamera' does not name a type lfCamera &operator = (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:406:1: error: expected declaration before '}' token }; ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:354:5: error: 'lfCamera' does not name a type lfCamera &operator = (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:406:1: error: expected declaration before '}' token }; ^ gmake[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:135: libs/lensfun/CMakeFiles/lensfun.dir/cpuid.cpp.o] Error 1 gmake[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:107: libs/lensfun/CMakeFiles/lensfun.dir/lens.cpp.o] Error 1 In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/mod-color.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:144:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT void lf_free (void *data); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:154:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT const char *lf_mlstr_get (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:172:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_add (lfMLstr str, const char *lang, const char *trstr); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:182:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_dup (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:203:18: error: variable 'LF_EXPORT lfMount' has initializer but incomplete type struct LF_EXPORT lfMount ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected primary-expression before 'Name' lfMLstr Name; ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected '}' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected ',' or ';' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:218:15: error: expected constructor, destructor, or type conversion before ';' token lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:20: error: 'lfMount' does not name a type lfMount (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:35: error: expected constructor, destructor, or type conversion before ';' token lfMount (const lfMount &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:228:5: error: 'lfMount' does not name a type lfMount &operator = (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:233:14: error: expected class-name before '(' token ~lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:272:19: error: expected initializer before '*' token LF_EXPORT lfMount *lf_mount_new (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:34: error: two or more data types in declaration of 'lf_mount_destroy' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: error: 'mount' was not declared in this scope LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:31: error: two or more data types in declaration of 'lf_mount_copy' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: error: 'dest' was not declared in this scope LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:46: error: expected primary-expression before 'const' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:33: error: two or more data types in declaration of 'lf_mount_check' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: error: 'mount' was not declared in this scope LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: note: suggested alternative: 'mode_t' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:320:18: error: variable 'LF_EXPORT lfCamera' has initializer but incomplete type struct LF_EXPORT lfCamera ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected primary-expression before 'Maker' lfMLstr Maker; ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected '}' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected ',' or ';' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:339:16: error: expected constructor, destructor, or type conversion before ';' token lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:21: error: 'lfCamera' does not name a type lfCamera (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:37: error: expected constructor, destructor, or type conversion before ';' token lfCamera (const lfCamera &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:349:15: error: expected class-name before '(' token ~lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:354:5: error: 'lfCamera' does not name a type lfCamera &operator = (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:406:1: error: expected declaration before '}' token }; ^ In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/database.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:74:13: error: #error "I don't know how to change symbol visibility for your compiler" # error "I don't know how to change symbol visibility for your compiler" ^~~~~ gmake[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:177: libs/lensfun/CMakeFiles/lensfun.dir/mod-color.cpp.o] Error 1 In file included from /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/libs/lensfun/database.cpp:7:0: /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:144:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT void lf_free (void *data); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:154:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT const char *lf_mlstr_get (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:172:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_add (lfMLstr str, const char *lang, const char *trstr); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:182:1: error: 'LF_EXPORT' does not name a type; did you mean '_GLIB_EXPORT'? LF_EXPORT lfMLstr lf_mlstr_dup (const lfMLstr str); ^~~~~~~~~ _GLIB_EXPORT /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:203:18: error: variable 'LF_EXPORT lfMount' has initializer but incomplete type struct LF_EXPORT lfMount ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected primary-expression before 'Name' lfMLstr Name; ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected '}' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:210:13: error: expected ',' or ';' before 'Name' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:218:15: error: expected constructor, destructor, or type conversion before ';' token lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:20: error: 'lfMount' does not name a type lfMount (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:223:35: error: expected constructor, destructor, or type conversion before ';' token lfMount (const lfMount &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:228:5: error: 'lfMount' does not name a type lfMount &operator = (const lfMount &other); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:233:14: error: expected class-name before '(' token ~lfMount (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:272:19: error: expected initializer before '*' token LF_EXPORT lfMount *lf_mount_new (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:34: error: two or more data types in declaration of 'lf_mount_destroy' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: error: 'mount' was not declared in this scope LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:283:43: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_destroy (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:31: error: two or more data types in declaration of 'lf_mount_copy' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: error: 'dest' was not declared in this scope LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:40: note: suggested alternative: 'mode_t' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:294:46: error: expected primary-expression before 'const' LF_EXPORT void lf_mount_copy (lfMount *dest, const lfMount *source); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:33: error: two or more data types in declaration of 'lf_mount_check' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: error: 'mount' was not declared in this scope LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:297:42: note: suggested alternative: 'mode_t' LF_EXPORT cbool lf_mount_check (lfMount *mount); ^~~~~ mode_t /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:320:18: error: variable 'LF_EXPORT lfCamera' has initializer but incomplete type struct LF_EXPORT lfCamera ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected primary-expression before 'Maker' lfMLstr Maker; ^~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected '}' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:323:13: error: expected ',' or ';' before 'Maker' /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:339:16: error: expected constructor, destructor, or type conversion before ';' token lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:21: error: 'lfCamera' does not name a type lfCamera (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:344:37: error: expected constructor, destructor, or type conversion before ';' token lfCamera (const lfCamera &other); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:349:15: error: expected class-name before '(' token ~lfCamera (); ^ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:354:5: error: 'lfCamera' does not name a type lfCamera &operator = (const lfCamera &other); ^~~~~~~~ /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/lensfun.h:406:1: error: expected declaration before '}' token }; ^ gmake[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:93: libs/lensfun/CMakeFiles/lensfun.dir/database.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:148: libs/lensfun/CMakeFiles/lensfun.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... running build running build_py creating build/lib/lensfun copying /pbulk/work/graphics/lensfun/work/lensfun-0.3.4/cmake-pkgsrc-build/apps/lensfun/__init__.py -> build/lib/lensfun [ 66%] Built target python-package gmake: *** [Makefile:156: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/graphics/lensfun *** Error code 1 Stop. make: stopped in /usr/pkgsrc/graphics/lensfun