-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CMAKE] Cannot get glyr to cross compile. #3
Comments
Hello avuton, Not sure If I can help you (the last version I tried to crosscompile was 0.2 - which was before glib/sqlite) I don't have the time to tinker much with it now, hopefully I have some time on Sunday. |
Yes, it's all automatic. The install prefix (Noted as /home/avuton/src/mpd-release-utils/build-dir above): avuton@rocket: My scripts build all this stuff, and is pretty fully automated. CMake is my enemy, and I may have not passed /enough/ stuff, but as far as I can tell I'm doing it right and it works for libgme[1], which has a CMake build system. If it's suspected that I'm doing something wrong, I'm game. Please let me know. |
Just letting you know that I look into this today or tomorrow. I'm suffering from a flu at the moment, so sorry for the long time. I'll look into libgme, maybe there's a hint whats going wrong. As last option, I may use autoconf if it won't work. |
Great, thanks; sorry to hear about the sickness. It's the time of year. FYI, fltk's cmake properly cross compiles too, so you might find the hints you're looking for in either. |
Started an auto* build branch just for fun. Not sure I'll ever actually make it work. |
Oh dear, Thanks for your efforts. |
Truth be told, cmake is super buggy, at least for cross compiling (the only version lately that I've been able to get working perfect is 2.8.3) I really don't know what's going on here either. Every other program has been fine but this one is impossible. Wish I could find some hint why. Need a cmake ninja. |
OK, fixed. It was (partially) my fault. I tried running cmake manually, and it apparently needed something from my scripts. When I used my scripts to patch (as above, removing the LIBRARY) it compiles fine. With that said, is the LIBRARY needed above? |
Oh, I have to -I(includedir) for my CLAGS in my scripts too; small price to pay. |
Also, for the record, and maybe related to the LIBRARY thing the dll installs in /lib when it should install in /bin, again another very minor detail I can script around. |
Hi, from my understanding LIBRARY is needed. |
That's probably correct, but for whatever reason it /does/ fail when cross compiling. I wish I knew more about cmake. |
* master: Fixed indentation Replaced levenshtein functions in autohelp.c through the API Replaced get_next_word with g_strsplit in autohelp.c Updated readme a tad sahib#11 (??) Updated readme a tad sahib#10 (??) Updated readme a tad sahib#9 (??) Updated readme a tad sahib#8 (??) Updated readme a tad sahib#7 Updated readme a tad sahib#6 Updated readme a tad sahib#5 Updated readme a tad sahib#4 Updated readme a tad sahib#3 Updated readme a tad sahib#2 Updated readme a tad Removed silly swig stuff in types.h Conflicts: src/glyrc/autohelp.c
Be forewarned, not a cmake guy. Actually very against it as it makes easy things hard to do and hard things impossible :).
I am trying to cross compile glyr git with my mpd-release-utils[1] tree for gmpc/win32.
When trying to cross compile for win32 I get:
cmake -DCMAKE_RC_COMPILER=i586-mingw32msvc-windres -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i586-mingw32msvc-gcc -DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++ -DCMAKE_FIND_ROOT_PATH=/usr/i586-mingw32msvc -DCMAKE_INSTALL_PREFIX=/home/avuton/src/mpd-release-utils/build-dir CMakeLists.txt
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found CURL: /home/avuton/src/mpd-release-utils/build-dir/lib/libcurl.dll.a
-- checking for modules 'glib-2.0>=2.10;gthread-2.0'
-- found glib-2.0, version 2.28.8
-- found gthread-2.0, version 2.28.8
-- checking for module 'sqlite3'
-- found sqlite3, version 3.7.9
CMake Error at lib/CMakeLists.txt:32 (INSTALL):
install Library TARGETS given no DESTINATION!
So I did a little research and tried patching it with this:
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -29,4 +29,4 @@ INSTALL(FILES types.h DESTINATION ${INSTALL_INC_DIR}/glyr)
INSTALL(FILES cache.h DESTINATION ${INSTALL_INC_DIR}/glyr)
INSTALL(FILES config.h DESTINATION ${INSTALL_INC_DIR}/glyr)
INSTALL(FILES testing.h DESTINATION ${INSTALL_INC_DIR}/glyr)
-INSTALL(TARGETS glyr LIBRARY DESTINATION ${INSTALL_LIB_DIR})
+INSTALL(TARGETS glyr DESTINATION ${INSTALL_LIB_DIR})
And this was the result (now it obviously can't find ANY headers):
patching file lib/CMakeLists.txt
cmake -DCMAKE_RC_COMPILER=i586-mingw32msvc-windres -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i586-mingw32msvc-gcc -DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++ -DCMAKE_FIND_ROOT_PATH=/usr/i586-mingw32msvc -DCMAKE
INSTALL_PREFIX=/home/avuton/src/mpd-release-utils/build-dir CMakeLists.txt
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found CURL: /home/avuton/src/mpd-release-utils/build-dir/lib/libcurl.dll.a
-- checking for modules 'glib-2.0>=2.10;gthread-2.0'
-- found glib-2.0, version 2.28.8
-- found gthread-2.0, version 2.28.8
-- checking for module 'sqlite3'
-- found sqlite3, version 3.7.9
-- Configuring done
-- Generating done
-- Build files have been written to: /home/avuton/src/mpd-release-utils/src/glyr.git
make -j2
Scanning dependencies of target glyr
[ 2%] [ 2%] Building C object lib/CMakeFiles/glyr.dir/core.c.obj
Building C object lib/CMakeFiles/glyr.dir/glyr.c.obj
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:22:24: error: curl/multi.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/stringlib.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:25:21: error: sqlite3.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/stringlib.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:282: error: expected specifier-qualifier-list before ‘sqlite3’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:30:23: error: curl/curl.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:79: error: expected specifier-qualifier-list before ‘CURL’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:28:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/md5.h:57: error: expected ‘)’ before ‘’ token
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:390: error: expected ‘)’ before ‘’ token
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘retrieve_content_info’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: ‘CURL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: (Each undeclared identifier is reported only once
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: for each function it appears in.)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: ‘eh’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: warning: implicit declaration of function ‘curl_easy_init’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:424: error: ‘CURLcode’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:424: error: expected ‘;’ before ‘rc’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:429: warning: implicit declaration of function ‘curl_easy_setopt’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:429: error: ‘CURLOPT_TIMEOUT’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:430: error: ‘CURLOPT_NOSIGNAL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:431: error: ‘CURLOPT_USERAGENT’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:432: error: ‘CURLOPT_URL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:433: error: ‘CURLOPT_FOLLOWLOCATION’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:434: error: ‘CURLOPT_MAXREDIRS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:435: error: ‘CURLOPT_HEADER’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:443: error: ‘CURLOPT_NOBODY’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:450: error: ‘CURLOPT_HEADERFUNCTION’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:451: error: ‘CURLOPT_WRITEFUNCTION’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:452: error: ‘CURLOPT_WRITEDATA’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:453: error: ‘CURLOPT_WRITEHEADER’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:456: warning: implicit declaration of function ‘DL_setproxy’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:461: error: ‘rc’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:461: warning: implicit declaration of function ‘curl_easy_perform’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:462: warning: implicit declaration of function ‘curl_easy_cleanup’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:464: error: ‘CURLE_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:468: warning: implicit declaration of function ‘curl_easy_strerror’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:25:21: error: sqlite3.h: No such file or directory
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: At top level:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:489: error: expected ‘)’ before ‘’ token
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:282: error: expected specifier-qualifier-list before ‘sqlite3’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘download_single’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:630: error: ‘CURL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:630: error: ‘curl’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:631: error: ‘CURLcode’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:631: error: expected ‘;’ before ‘res’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:648: warning: implicit declaration of function ‘DL_setopt’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:651: error: ‘res’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:657: error: ‘CURLE_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:657: error: ‘CURLE_WRITE_ERROR’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: At top level:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:686: error: expected ‘)’ before ‘_’ token
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:718: error: expected declaration specifiers or ‘...’ before ‘CURLM’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘init_async_download’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:726: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:729: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:735: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:735: warning: implicit declaration of function ‘init_async_cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:735: error: ‘cmHandle’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: At top level:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:743: error: expected declaration specifiers or ‘...’ before ‘CURLM’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘destroy_async_download’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:746: warning: implicit declaration of function ‘curl_multi_cleanup’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:746: error: ‘cmHandle’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:753: error: ‘cb_object’ has no member named ‘handle’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:755: error: ‘cb_object’ has no member named ‘handle’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:761: error: ‘cb_object’ has no member named ‘was_buffered’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:762: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:764: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:765: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:768: error: ‘cb_object’ has no member named ‘dlbuffer’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:30:23: error: curl/curl.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:79: error: expected specifier-qualifier-list before ‘CURL’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘async_download’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:792: error: ‘fd_set’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:792: error: expected ‘;’ before ‘ReadFDS’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:795: error: ‘CURLM’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:795: error: ‘cmHandle’ undeclared (first use in this function)In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:28:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/md5.h:57: error: expected ‘)’ before ‘*’ token
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:795: warning: implicit declaration of function ‘curl_multi_init’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:796: warning: implicit declaration of function ‘curl_multi_setopt’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:796: error: ‘CURLMOPT_MAXCONNECTS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:797: error: ‘CURLMOPT_PIPELINING’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:803: warning: passing argument 4 of ‘init_async_download’ makes integer from pointer without a cast
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:718: note: expected ‘int’ but argument is of type ‘struct GlyrQuery *’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:803: error: too many arguments to function ‘init_async_download’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:807: error: ‘CURLMcode’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:807: error: expected ‘;’ before ‘merr’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:808: error: ‘merr’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:808: error: ‘CURLM_CALL_MULTI_PERFORM’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:810: warning: implicit declaration of function ‘curl_multi_perform’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:812: error: ‘CURLM_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:821: warning: implicit declaration of function ‘FD_ZERO’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:821: error: ‘ReadFDS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:822: error: ‘WriteFDS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:823: error: ‘ErrorFDS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:825: warning: implicit declaration of function ‘curl_multi_fdset’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:826: warning: implicit declaration of function ‘curl_multi_timeout’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:842: error: storage size of ‘Tmax’ isn’t known
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:847: warning: implicit declaration of function ‘select’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:842: warning: unused variable ‘Tmax’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:857: error: ‘CURLMsg’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:857: error: ‘msg’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:860: warning: implicit declaration of function ‘curl_multi_info_read’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:863: error: ‘CURLMSG_DONE’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:866: error: ‘CURL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:866: error: ‘easy_handle’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:871: warning: implicit declaration of function ‘curl_easy_getinfo’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:871: error: ‘CURLINFO_PRIVATE’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:874: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:874: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:876: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:877: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:878: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:882: error: ‘cb_object’ has no member named ‘was_buffered’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:885: error: ‘CURLE_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:885: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:895: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:897: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:899: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:926: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:930: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:931: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:932: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:943: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:947: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:948: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:950: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:951: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:952: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:956: warning: implicit declaration of function ‘curl_multi_remove_handle’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:958: error: ‘cb_object’ has no member named ‘handle’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:967: error: too many arguments to function ‘destroy_async_download’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_query_destroy’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:569: warning: comparison between signed and unsigned integer expressions
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_init’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: warning: implicit declaration of function ‘curl_global_init’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: error: ‘CURL_GLOBAL_ALL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: error: (Each undeclared identifier is reported only once
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: error: for each function it appears in.)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_cleanup’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:673: warning: implicit declaration of function ‘curl_global_cleanup’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘delete_already_cached_items’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1234: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1240: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1246: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1251: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘call_provider_callback’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1303: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1303: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1309: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1312: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1315: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1316: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1316: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1323: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1324: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1324: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1331: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1333: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1340: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1340: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1343: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1353: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1353: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1358: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1384: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1386: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1387: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘execute_query’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1594: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_get’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:743: warning: comparison between signed and unsigned integer expressions
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_cache_write’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:893: warning: implicit declaration of function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:893: warning: incompatible implicit declaration of built-in function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:893: error: ‘stdout’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:894: warning: implicit declaration of function ‘fputc’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:898: warning: incompatible implicit declaration of built-in function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:898: error: ‘stderr’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:903: error: ‘FILE’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:903: error: ‘fp’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:903: warning: implicit declaration of function ‘fopen’make[2]:
*** [lib/CMakeFiles/glyr.dir/core.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:908: warning: incompatible implicit declaration of built-in function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:910: warning: implicit declaration of function ‘fclose’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_cache_print’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:1056: warning: implicit declaration of function ‘MDPrintArr’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:1056: error: ‘stderr’ undeclared (first use in this function)
make[2]: *** [lib/CMakeFiles/glyr.dir/glyr.c.obj] Error 1
make[1]: *** [lib/CMakeFiles/glyr.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: