abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×

včera 22:22 | Komunita

Dle plánu byl měl Debian 9 s kódovým názvem Stretch vyjít v sobotu 17. června. Po celém světě se začínají plánovat Release Parties. Oznámeno bylo vydání čtvrté RC (release candidate) verze instalátoru pro Debian 9 Stretch.

Ladislav Hagara | Komentářů: 0
26.5. 22:22 | Komunita

V Norimberku probíhá do neděle 28. května openSUSE Conference 2017. Na programu je celá řada zajímavých přednášek. Sledovat je lze online. K dispozici jsou také videozáznamy (YouTube) již proběhnuvších přednášek. Dění lze sledovat na Twitteru.

Ladislav Hagara | Komentářů: 0
26.5. 11:33 | IT novinky

Red Hat kupuje společnost Codenvy stojící za stejnojmenným webovým (cloudovým) integrovaným vývojovým prostředím (WIDE) postaveném na Eclipse Che.

Ladislav Hagara | Komentářů: 0
26.5. 08:55 | Nová verze

V listopadu 2014 byl představen fork Debianu bez systemd pojmenovaný Devuan. Po dva a půl roce jeho vývojáři oznámili vydání první stabilní verze 1.0. Jedná se o verzi s dlouhodobou podporou (LTS) a její kódové jméno je Jessie, podle planetky s katalogovým číslem 10 464.

Ladislav Hagara | Komentářů: 10
25.5. 20:22 | Zajímavý článek

Nadace Raspberry Pi vydala již osmapadesáté číslo (pdf) stostránkového anglicky psaného časopisu MagPi věnovanému Raspberry Pi a projektům postaveným na tomto jednodeskovém počítači a druhé číslo (pdf) časopisu Hello World primárně určeného pro učitele informatiky a výpočetní techniky.

Ladislav Hagara | Komentářů: 0
25.5. 19:55 | Humor

Portál Stack Overflow informuje na svém blogu, že pomohl ukončit editor Vim už více než milionu vývojářů. V loňském roce například hledal odpověď na otázku Jak ukončit editor Vim v průměru 1 z 20 000 návštěvníků.

Ladislav Hagara | Komentářů: 10
25.5. 19:22 | Nová verze

Po pěti měsících od vydání verze 3.5.0 byla vydána nová stabilní verze 3.6.0, tj. první z nové řady 3.6, minimalistické linuxové distribuce zaměřené na bezpečnost Alpine Linux (Wikipedie). Z novinek lze zmínit například podporu dvou nových 64bitových platforem little-endian POWER machines (ppc64le) a IBM z Systems (s390x) nebo nové balíčky Rust 1.17.0, Cargo 0.18.0, GHC 8.0.2 a Julia 0.5.2.

Ladislav Hagara | Komentářů: 0
24.5. 21:33 | Bezpečnostní upozornění

V Sambě byla nalezena a opravena bezpečnostní chyba CVE-2017-7494. Má-li útočník právo ukládat soubory na vzdálený server, může tam uložit připravenou sdílenou knihovnu a přinutit smbd server k jejímu načtení a tím pádem ke spuštění libovolných příkazů. Chyba je opravena v upstream verzích 4.6.4, 4.5.10 a 4.4.14. Chyba se týká všech verzí Samby od verze 3.5.0 vydané 1. března 2010.

Ladislav Hagara | Komentářů: 7
24.5. 20:44 | Nová verze

Byla vydána nová stabilní verze 4.3.0 integrovaného vývojového prostředí (IDE) Qt Creator. Z novinek lze zmínit například integraci editoru kódu do Qt Quick Designeru.

Ladislav Hagara | Komentářů: 1
24.5. 20:11 | Bezpečnostní upozornění

Společnost Check Point informuje na svém blogu o novém vektoru útoku. Pomocí titulků lze útočit na multimediální přehrávače VLC, Kodi, Popcorn Time, Stremio a pravděpodobně i další. Otevření útočníkem připraveného souboru s titulky v neaktualizovaném multimediálním přehrávači může vést ke spuštění libovolných příkazů pod právy uživatele. Ukázka na YouTube. Chyba je opravena v Kodi 17.2 nebo ve VLC 2.2.6.

Ladislav Hagara | Komentářů: 14
Chystáte se pořídit CPU AMD Ryzen?
 (6%)
 (33%)
 (1%)
 (8%)
 (44%)
 (9%)
Celkem 629 hlasů
 Komentářů: 62, poslední 19.5. 01:57
    Rozcestník

    Dotaz: Zasek pri kompilaci

    pepe_ avatar 16.3.2011 16:38 pepe_ | skóre: 47
    Zasek pri kompilaci
    Přečteno: 228×

    Stahl sem si logdiag     " https://nodeload.github.com/pjanouch/logdiag/tarball/v0.1.2 "

    rozbalil , vytvořil složku build vlezl do ní a :

    pepe@PC-Pepe:~/Pracovni/logdiag/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
    -- Found JSON_GLIB: /usr/lib/libjson-glib-1.0.so
    -- Could NOT find GTK_DOC  (missing:  GTK_DOC_SCAN_EXECUTABLE)
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pepe/Pracovni/logdiag/build
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
    -- Found GTK_DOC: /usr/bin/gtkdoc-scan
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pepe/Pracovni/logdiag/build
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ make install
    [  4%] Generating marshallers header file
    [  8%] Generating marshallers source file
    Scanning dependencies of target liblogdiag
    [ 13%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-marshal.c.o
    [ 17%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-types.c.o
    [ 21%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-undo-action.c.o
    [ 26%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram.c.o
    [ 30%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-object.c.o
    [ 34%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-symbol.c.o
    [ 39%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-connection.c.o
    [ 43%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-view.c.o
    [ 47%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-library.c.o
    [ 52%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-library-toolbar.c.o
    [ 56%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol-category.c.o
    [ 60%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol.c.o
    [ 65%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua.c.o
    [ 69%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua-symbol.c.o
    Linking C static library liblogdiag.a
    [ 69%] Built target liblogdiag
    Scanning dependencies of target logdiag
    [ 73%] Building C object CMakeFiles/logdiag.dir/src/ld-window-main.c.o
    [ 78%] Building C object CMakeFiles/logdiag.dir/src/logdiag.c.o
    Linking C executable logdiag
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_save_to_file':
    ld-diagram.c:(.text+0x1d30): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_load_from_file':
    ld-diagram.c:(.text+0x229f): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x22d9): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x2369): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x252e): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-object.c.o): In function `ld_diagram_object_get_data_for_param':
    ld-diagram-object.c:(.text+0x1084): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `read_double_node':
    ld-diagram-connection.c:(.text+0x567): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `ld_diagram_connection_get_points':
    ld-diagram-connection.c:(.text+0x78c): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    ld-diagram-connection.c:(.text+0x800): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    liblogdiag.a(ld-library.c.o): In function `ld_library_load_cb':
    ld-library.c:(.text+0xebd): undefined reference to `JSON_NODE_HOLDS_OBJECT'
    collect2: ld returned 1 exit status
    make[2]: *** [logdiag] Error 1
    make[1]: *** [CMakeFiles/logdiag.dir/all] Error 2
    make: *** [all] Error 2
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ make install
    [ 69%] Built target liblogdiag
    Linking C executable logdiag
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_save_to_file':
    ld-diagram.c:(.text+0x1d30): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_load_from_file':
    ld-diagram.c:(.text+0x229f): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x22d9): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x2369): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x252e): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-object.c.o): In function `ld_diagram_object_get_data_for_param':
    ld-diagram-object.c:(.text+0x1084): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `read_double_node':
    ld-diagram-connection.c:(.text+0x567): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `ld_diagram_connection_get_points':
    ld-diagram-connection.c:(.text+0x78c): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    ld-diagram-connection.c:(.text+0x800): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    liblogdiag.a(ld-library.c.o): In function `ld_library_load_cb':
    ld-library.c:(.text+0xebd): undefined reference to `JSON_NODE_HOLDS_OBJECT'
    collect2: ld returned 1 exit status
    make[2]: *** [logdiag] Error 1
    make[1]: *** [CMakeFiles/logdiag.dir/all] Error 2
    make: *** [all] Error 2
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ 
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ mc
    
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
    No current working directory
    Aborted
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ cd ~/Pracovni/logdiag/build
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
    -- The C compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Performing Test HAVE_SANE___RESTRICT
    -- Performing Test HAVE_SANE___RESTRICT - Success
    -- Performing Test HAVE_RESTRICT
    -- Performing Test HAVE_RESTRICT - Failed
    -- Found Freetype: /usr/lib/libfreetype.so
    -- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so
    -- Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/libm.so
    -- Found JSON_GLIB: /usr/lib/libjson-glib-1.0.so
    -- Found Gettext: /usr/bin/msgmerge
    -- Found GTK_DOC: /usr/bin/gtkdoc-scan
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pepe/Pracovni/logdiag/build
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ make
    [  4%] Generating marshallers header file
    [  8%] Generating marshallers source file
    Scanning dependencies of target liblogdiag
    [ 13%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-marshal.c.o
    [ 17%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-types.c.o
    [ 21%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-undo-action.c.o
    [ 26%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram.c.o
    [ 30%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-object.c.o
    [ 34%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-symbol.c.o
    [ 39%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-connection.c.o
    [ 43%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-view.c.o
    [ 47%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-library.c.o
    [ 52%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-library-toolbar.c.o
    [ 56%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol-category.c.o
    [ 60%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol.c.o
    [ 65%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua.c.o
    [ 69%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua-symbol.c.o
    Linking C static library liblogdiag.a
    [ 69%] Built target liblogdiag
    Scanning dependencies of target logdiag
    [ 73%] Building C object CMakeFiles/logdiag.dir/src/ld-window-main.c.o
    [ 78%] Building C object CMakeFiles/logdiag.dir/src/logdiag.c.o
    Linking C executable logdiag
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_save_to_file':
    ld-diagram.c:(.text+0x1d30): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_load_from_file':
    ld-diagram.c:(.text+0x229f): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x22d9): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x2369): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x252e): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-object.c.o): In function `ld_diagram_object_get_data_for_param':
    ld-diagram-object.c:(.text+0x1084): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `read_double_node':
    ld-diagram-connection.c:(.text+0x567): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `ld_diagram_connection_get_points':
    ld-diagram-connection.c:(.text+0x78c): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    ld-diagram-connection.c:(.text+0x800): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    liblogdiag.a(ld-library.c.o): In function `ld_library_load_cb':
    ld-library.c:(.text+0xebd): undefined reference to `JSON_NODE_HOLDS_OBJECT'
    collect2: ld returned 1 exit status
    make[2]: *** [logdiag] Error 1
    make[1]: *** [CMakeFiles/logdiag.dir/all] Error 2
    make: *** [all] Error 2
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ 
    

     

    Poradíte proč to nejde ?


    Řešení dotazu:


    Odpovědi

    16.3.2011 16:52 chrono
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Použi make VERBOSE=1 (aby bolo vidieť, aké príkazy s akými parametrami sa ti tam vlastne spúšťajú) a výsledok sem daj ako prílohu.

    Každopádne to vyzerá tak, ako keby tam bol nejaký problém s knižnicou json-glib (ak je naozaj nainštalovaný aj devel balík, tak je možné, že máš príliš starú verziu), pretože tie chýbajúce identifikátory sú makrá, takže by tam nemali byť. V takom prípade by som ale čakal, že sa tam zobrazí nejaká chyba, alebo upozornenie.
    16.3.2011 16:57 chrono
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Podľa stránky pkgs.org je v Ubuntu stará verzia tej knižnice. Podľa dokumentácie je potrebná 0.10.4 (verzia json-glib sa v CMakeLists.txt netestuje), ale v Ubuntu 10.10 je len 0.10.2 a v Ubuntu 10.04 je ešte staršia.
    pepe_ avatar 16.3.2011 17:10 pepe_ | skóre: 47
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci

    Asi je to teda tou verzí , tady je ten verbose :

     

    pepe@PC-Pepe:~/Pracovni/logdiag/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
    -- The C compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Performing Test HAVE_SANE___RESTRICT
    -- Performing Test HAVE_SANE___RESTRICT - Success
    -- Performing Test HAVE_RESTRICT
    -- Performing Test HAVE_RESTRICT - Failed
    -- Found Freetype: /usr/lib/libfreetype.so
    -- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so
    -- Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/libm.so
    -- Found JSON_GLIB: /usr/lib/libjson-glib-1.0.so
    -- Found Gettext: /usr/bin/msgmerge
    -- Found GTK_DOC: /usr/bin/gtkdoc-scan
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pepe/Pracovni/logdiag/build
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ make VERBOSE=1
    /usr/bin/cmake -H/home/pepe/Pracovni/logdiag -B/home/pepe/Pracovni/logdiag/build --check-build-system CMakeFiles/Makefile.cmake 0
    /usr/bin/cmake -E cmake_progress_start /home/pepe/Pracovni/logdiag/build/CMakeFiles /home/pepe/Pracovni/logdiag/build/CMakeFiles/progress.marks
    make -f CMakeFiles/Makefile2 all
    make[1]: Entering directory `/home/pepe/Pracovni/logdiag/build'
    make -f CMakeFiles/liblogdiag.dir/build.make CMakeFiles/liblogdiag.dir/depend
    make[2]: Entering directory `/home/pepe/Pracovni/logdiag/build'
    cd /home/pepe/Pracovni/logdiag/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pepe/Pracovni/logdiag /home/pepe/Pracovni/logdiag /home/pepe/Pracovni/logdiag/build /home/pepe/Pracovni/logdiag/build /home/pepe/Pracovni/logdiag/build/CMakeFiles/liblogdiag.dir/DependInfo.cmake --color=
    Dependee "/home/pepe/Pracovni/logdiag/build/CMakeFiles/liblogdiag.dir/DependInfo.cmake" is newer than depender "/home/pepe/Pracovni/logdiag/build/CMakeFiles/liblogdiag.dir/depend.internal".
    Dependee "/home/pepe/Pracovni/logdiag/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/pepe/Pracovni/logdiag/build/CMakeFiles/liblogdiag.dir/depend.internal".
    Scanning dependencies of target liblogdiag
    make[2]: Leaving directory `/home/pepe/Pracovni/logdiag/build'
    make -f CMakeFiles/liblogdiag.dir/build.make CMakeFiles/liblogdiag.dir/build
    make[2]: Entering directory `/home/pepe/Pracovni/logdiag/build'
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 1
    [  4%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-marshal.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-marshal.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-marshal.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 2
    [  8%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-types.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-types.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-types.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 3
    [ 13%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-undo-action.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-undo-action.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-undo-action.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 4
    [ 17%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-diagram.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 5
    [ 21%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-object.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-object.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-diagram-object.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 6
    [ 26%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-symbol.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-symbol.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-diagram-symbol.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 7
    [ 30%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-connection.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-connection.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-diagram-connection.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 8
    [ 34%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-view.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-view.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-diagram-view.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 9
    [ 39%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-library.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-library.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-library.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 10
    [ 43%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-library-toolbar.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-library-toolbar.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-library-toolbar.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 11
    [ 47%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol-category.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol-category.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-symbol-category.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 12
    [ 52%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-symbol.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 13
    [ 56%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-lua.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 14
    [ 60%] Building C object CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua-symbol.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua-symbol.c.o   -c /home/pepe/Pracovni/logdiag/liblogdiag/ld-lua-symbol.c
    Linking C static library liblogdiag.a
    /usr/bin/cmake -P CMakeFiles/liblogdiag.dir/cmake_clean_target.cmake
    /usr/bin/cmake -E cmake_link_script CMakeFiles/liblogdiag.dir/link.txt --verbose=1
    /usr/bin/ar cr liblogdiag.a  CMakeFiles/liblogdiag.dir/liblogdiag/ld-marshal.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-types.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-undo-action.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-object.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-symbol.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-connection.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-diagram-view.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-library.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-library-toolbar.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol-category.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-symbol.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua.c.o CMakeFiles/liblogdiag.dir/liblogdiag/ld-lua-symbol.c.o
    /usr/bin/ranlib liblogdiag.a
    make[2]: Leaving directory `/home/pepe/Pracovni/logdiag/build'
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
    [ 69%] Built target liblogdiag
    make -f CMakeFiles/logdiag.dir/build.make CMakeFiles/logdiag.dir/depend
    make[2]: Entering directory `/home/pepe/Pracovni/logdiag/build'
    cd /home/pepe/Pracovni/logdiag/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pepe/Pracovni/logdiag /home/pepe/Pracovni/logdiag /home/pepe/Pracovni/logdiag/build /home/pepe/Pracovni/logdiag/build /home/pepe/Pracovni/logdiag/build/CMakeFiles/logdiag.dir/DependInfo.cmake --color=
    Dependee "/home/pepe/Pracovni/logdiag/build/CMakeFiles/logdiag.dir/DependInfo.cmake" is newer than depender "/home/pepe/Pracovni/logdiag/build/CMakeFiles/logdiag.dir/depend.internal".
    Dependee "/home/pepe/Pracovni/logdiag/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/pepe/Pracovni/logdiag/build/CMakeFiles/logdiag.dir/depend.internal".
    Scanning dependencies of target logdiag
    make[2]: Leaving directory `/home/pepe/Pracovni/logdiag/build'
    make -f CMakeFiles/logdiag.dir/build.make CMakeFiles/logdiag.dir/build
    make[2]: Entering directory `/home/pepe/Pracovni/logdiag/build'
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 17
    [ 73%] Building C object CMakeFiles/logdiag.dir/src/ld-window-main.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/logdiag.dir/src/ld-window-main.c.o   -c /home/pepe/Pracovni/logdiag/src/ld-window-main.c
    /usr/bin/cmake -E cmake_progress_report /home/pepe/Pracovni/logdiag/build/CMakeFiles 18
    [ 78%] Building C object CMakeFiles/logdiag.dir/src/logdiag.c.o
    /usr/bin/gcc   -O3 -DNDEBUG -I/home/pepe/Pracovni/logdiag/build -I/home/pepe/Pracovni/logdiag -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/lua5.1   -o CMakeFiles/logdiag.dir/src/logdiag.c.o   -c /home/pepe/Pracovni/logdiag/src/logdiag.c
    Linking C executable logdiag
    /usr/bin/cmake -E cmake_link_script CMakeFiles/logdiag.dir/link.txt --verbose=1
    /usr/bin/gcc  -O3 -DNDEBUG   CMakeFiles/logdiag.dir/src/ld-window-main.c.o CMakeFiles/logdiag.dir/src/logdiag.c.o  -o logdiag -rdynamic liblogdiag.a -lfreetype -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lgdk_pixbuf-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lcairo -lpango-1.0 -lpangocairo-1.0 -latk-1.0 -ljson-glib-1.0 -llua5.1 -lm 
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_save_to_file':
    ld-diagram.c:(.text+0x1d30): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_load_from_file':
    ld-diagram.c:(.text+0x229f): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x22d9): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x2369): undefined reference to `JSON_NODE_HOLDS'
    ld-diagram.c:(.text+0x252e): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-object.c.o): In function `ld_diagram_object_get_data_for_param':
    ld-diagram-object.c:(.text+0x1084): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `read_double_node':
    ld-diagram-connection.c:(.text+0x567): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `ld_diagram_connection_get_points':
    ld-diagram-connection.c:(.text+0x78c): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    ld-diagram-connection.c:(.text+0x800): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    liblogdiag.a(ld-library.c.o): In function `ld_library_load_cb':
    ld-library.c:(.text+0xebd): undefined reference to `JSON_NODE_HOLDS_OBJECT'
    collect2: ld returned 1 exit status
    make[2]: *** [logdiag] Error 1
    make[2]: Leaving directory `/home/pepe/Pracovni/logdiag/build'
    make[1]: *** [CMakeFiles/logdiag.dir/all] Error 2
    make[1]: Leaving directory `/home/pepe/Pracovni/logdiag/build'
    make: *** [all] Error 2
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ 
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ 
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ 
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ 
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ 
    pepe@PC-Pepe:~/Pracovni/logdiag/build$ dpkg -l | grep json-glib
    ii  libjson-glib-1.0-0                                   0.7.6-0ubuntu2                                     GLib JSON manipulation library
    ii  libjson-glib-1.0-0-dbg                               0.7.6-0ubuntu2                                     GLib JSON manipulation library (debug symbol
    ii  libjson-glib-dev                                     0.7.6-0ubuntu2                                     GLib JSON manipulation library (development 
    pepe@PC-Pepe:~/Pracovni/logdiag/build$
    16.3.2011 18:27 jadd | skóre: 34 | blog: Greenhorn
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Vůbec nevím jestli to pomůže ale co kdyby si použil nejdříve nižší optimalizaci ? Třeba i O0 ?
    pepe_ avatar 16.3.2011 18:56 pepe_ | skóre: 47
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Účinek 0
    Linking C executable logdiag
    /usr/bin/cmake -E cmake_link_script CMakeFiles/logdiag.dir/link.txt --verbose=1
    /usr/bin/gcc  -O1 -DNDEBUG   CMakeFiles/logdiag.dir/src/ld-window-main.c.o CMakeFiles/logdiag.dir/src/logdiag.c.o  -o logdiag -rdynamic liblogdiag.a -lfreetype -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lgdk_pixbuf-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lcairo -lpango-1.0 -lpangocairo-1.0 -latk-1.0 -ljson-glib-1.0 -llua5.1 -lm 
    liblogdiag.a(ld-diagram.c.o): In function `check_node':
    ld-diagram.c:(.text+0x2ca): undefined reference to `JSON_NODE_HOLDS'
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_save_to_file':
    ld-diagram.c:(.text+0x1384): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram.c.o): In function `ld_diagram_load_from_file':
    ld-diagram.c:(.text+0x18d0): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-object.c.o): In function `ld_diagram_object_get_data_for_param':
    ld-diagram-object.c:(.text+0xb66): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `read_double_node':
    ld-diagram-connection.c:(.text+0x542): undefined reference to `JSON_NODE_HOLDS_VALUE'
    liblogdiag.a(ld-diagram-connection.c.o): In function `ld_diagram_connection_get_points':
    ld-diagram-connection.c:(.text+0x6f9): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    ld-diagram-connection.c:(.text+0x81b): undefined reference to `JSON_NODE_HOLDS_ARRAY'
    liblogdiag.a(ld-library.c.o): In function `ld_library_load_cb':
    ld-library.c:(.text+0xb35): undefined reference to `JSON_NODE_HOLDS_OBJECT'
    collect2: ld returned 1 exit status
    make[2]: *** [logdiag] Error 1
    make[2]: Leaving directory `/home/pepe/Pracovni/logdiag/build'
    make[1]: *** [CMakeFiles/logdiag.dir/all] Error 2
    make[1]: Leaving directory `/home/pepe/Pracovni/logdiag/build'
    make: *** [all] Error 2
    p
    
    
    16.3.2011 19:12 jadd | skóre: 34 | blog: Greenhorn
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Můžeš jsem dát instalační instrukce (Readme apod.) z toho archívu ?
    pepe_ avatar 16.3.2011 20:24 pepe_ | skóre: 47
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    16.3.2011 21:24 jadd | skóre: 34 | blog: Greenhorn
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Ještě že nekompiluješ officy, mám stahovat zdroják jo ? Slušně řečeno, vyliž si, a tobě podobní.
    pepe_ avatar 17.3.2011 11:00 pepe_ | skóre: 47
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci

    Promiň ale pokud je 234,1kb pro tvůj internet moc tak nevím co tu vlastně děláš , i načtení této stránky sebere totéž.

    16.3.2011 20:27 chrono
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Potrebuje novšiu verziu tej knižnice. Pri kompilovaní sa nepoužije žiadny parameter, ktorý by spôsobil výpis upozornení (asi preto, aby to vyzeralo pri kompilovaní krajšie), inak by sa tam objavil ten problém hneď pri kompilovaní toho súboru (a nie až pri linkovaní knižnice).
    16.3.2011 20:54 l4m4
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci
    Ano, to psalo to zřejmě prasátko. Ta makra jsou v json-glib od verze 0.10. Za nepoužívání -Werror-implicit-declaration bych dával deset let nucených prací...
    pepe_ avatar 16.3.2011 21:23 pepe_ | skóre: 47
    Rozbalit Rozbalit vše Re: Zasek pri kompilaci

    Děkuji všem za pomoc , SHIFT+DEL :)

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.